Skip to content

Commit

Permalink
Push jupyter image nightly with the latest client (#2266)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidongze0629 committed Dec 1, 2022
1 parent df9f6eb commit 6775658
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/build-graphscope-wheels-linux.yml
Expand Up @@ -115,8 +115,8 @@ jobs:
make graphscope
# make jupyter-image
# cd ..
# docker build --build-arg CI=${CI} -t graphscope/jupyter:${SHORT_SHA} -f ./k8s/internal/jupyter.Dockerfile .
cd ${GITHUB_WORKSPACE}
docker build --build-arg CI=${CI} -t graphscope/jupyter:${SHORT_SHA} -f ./k8s/internal/jupyter.Dockerfile .
# dataset image doesn't changed, we can just use the latest one
# make dataset-image
Expand All @@ -133,15 +133,14 @@ jobs:
version=$(cat ${GITHUB_WORKSPACE}/VERSION)
tag="${version}a${time}"
# graphscope image
sudo docker tag graphscope/graphscope:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope:${tag}
sudo docker push ${{ env.REGISTRY }}/graphscope:${tag}
# jupyter and dataset doesn't need nightly release yet
sudo docker tag graphscope/graphscope:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope/graphscope:${tag}
sudo docker push ${{ env.REGISTRY }}/graphscope/graphscope:${tag}
# jupyter image
# sudo docker tag graphscope/jupyter:${SHORT_SHA} ${{ env.REGISTRY }}/jupyter:${tag}
# sudo docker push ${{ env.REGISTRY }}/jupyter:${tag}
sudo docker tag graphscope/jupyter:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope/jupyter:${tag}
sudo docker push ${{ env.REGISTRY }}/graphscope/jupyter:${tag}
# dataset image
# sudo docker tag graphscope/dataset:${SHORT_SHA} ${{ env.REGISTRY }}/dataset:${tag}
# sudo docker push ${{ env.REGISTRY }}/dataset:${tag}
# sudo docker tag graphscope/dataset:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope/dataset:${tag}
# sudo docker push ${{ env.REGISTRY }}/graphscope/dataset:${tag}
- name: Extract Tag Name
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope' }}
Expand All @@ -158,16 +157,16 @@ jobs:
# graphscope image
tag=${{ steps.tag.outputs.TAG }}
# graphscope image
sudo docker tag graphscope/graphscope:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope:${tag}
sudo docker push ${{ env.REGISTRY }}/graphscope:${tag}
sudo docker tag graphscope/graphscope:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope/graphscope:${tag}
sudo docker push ${{ env.REGISTRY }}/graphscope/graphscope:${tag}
# jupyter image
sudo docker tag graphscope/jupyter:${SHORT_SHA} ${{ env.REGISTRY }}/jupyter:${tag}
sudo docker push ${{ env.REGISTRY }}/jupyter:${tag}
sudo docker tag graphscope/jupyter:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope/jupyter:${tag}
sudo docker push ${{ env.REGISTRY }}/graphscope/jupyter:${tag}
# dataset image
# Note! dataset image are built mannually just use the latest one.
sudo docker pull ${{ env.REGISTRY }}/dataset:latest
sudo docker tag ${{ env.REGISTRY }}/dataset:latest ${{ env.REGISTRY }}/dataset:${tag}
sudo docker push ${{ env.REGISTRY }}/dataset:${tag}
sudo docker pull ${{ env.REGISTRY }}/graphscope/dataset:latest
sudo docker tag ${{ env.REGISTRY }}/graphscope/dataset:latest ${{ env.REGISTRY }}/graphscope/dataset:${tag}
sudo docker push ${{ env.REGISTRY }}/graphscope/dataset:${tag}
ubuntu-python-test:
if: ${{ github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope' }}
Expand Down
2 changes: 2 additions & 0 deletions k8s/internal/Makefile
Expand Up @@ -17,6 +17,8 @@ ifeq ($(UNAME_S), Linux)
XARGS_EMPTY_FLAG := --no-run-if-empty
endif

BUILD_PROGRESS = auto

# Default null
TARGET_SERVER_PACKAGE :=
TARGET_CLIENT_PACKAGE :=
Expand Down

0 comments on commit 6775658

Please sign in to comment.