@@ -5,6 +5,8 @@ name: Build GraphScope Development and Wheel Images
55# 2) graphscope-dev: including all dependencies for graphscope's development env.
66# 3) vineyard-dev: including all vineyard-related dependencies that could compile graphscope analytical engine.
77# 4) vineyard-runtime: including all vineyard-related running dependencies.
8+ # Note that:
9+ # Due to security considerations, we cannot use self-hosts runner(aarch64) when we configured the secret on github.
810on :
911 workflow_dispatch :
1012 inputs :
@@ -73,14 +75,15 @@ jobs:
7375 # x86_64
7476 arch=$(uname -m)
7577 # image tag
76- tag=${{ github.event.inputs.v6d_version }}-${arch}
78+ tag=${{ github.event.inputs.v6d_version }}
7779 # dev-wheel image
78- sudo docker tag graphscope/graphscope-dev:wheel-${tag} ${{ env.REGISTRY }}/graphscope/graphscope-dev:wheel-${tag}
80+ sudo docker tag graphscope/graphscope-dev:wheel-${tag}-${arch} ${{ env.REGISTRY }}/graphscope/graphscope-dev:wheel-${tag}
7981 sudo docker push ${{ env.REGISTRY }}/graphscope/graphscope-dev:wheel-${tag}
8082
8183 build-wheel-image-aarch64 :
8284 runs-on : [self-hosted, Linux, ARM64]
83- if : (github.event_name == 'workflow_dispatch' && github.event.inputs.build_wheel == 'true') || (github.pull_request == 'pull_request')
85+ # if: (github.event_name == 'workflow_dispatch' && github.event.inputs.build_wheel == 'true') || (github.pull_request == 'pull_request')
86+ if : false
8487
8588 steps :
8689 - uses : actions/checkout@v3
@@ -127,7 +130,8 @@ jobs:
127130
128131 manifesh-push-wheel-image :
129132 runs-on : ubuntu-20.04
130- if : ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.build_wheel == 'true' }}
133+ # if: ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.build_wheel == 'true' }}
134+ if : false
131135
132136 needs : [build-wheel-image-x86-64, build-wheel-image-aarch64]
133137 steps :
@@ -177,14 +181,15 @@ jobs:
177181 # x86_64
178182 arch=$(uname -m)
179183 # image tag
180- tag=${{ github.event.inputs.v6d_version }}-${arch}
184+ tag=${{ github.event.inputs.v6d_version }}
181185 # graphscope-dev image
182- sudo docker tag graphscope/graphscope-dev:${tag} ${{ env.REGISTRY }}/graphscope/graphscope-dev:${tag}
186+ sudo docker tag graphscope/graphscope-dev:${tag}-${arch} ${{ env.REGISTRY }}/graphscope/graphscope-dev:${tag}
183187 sudo docker push ${{ env.REGISTRY }}/graphscope/graphscope-dev:${tag}
184188
185189 build-graphscope-dev-image-aarch64 :
186190 runs-on : [self-hosted, Linux, ARM64]
187- if : (github.event_name == 'workflow_dispatch' && github.event.inputs.build_graphscope_dev == 'true') || (github.pull_request == 'pull_request')
191+ # if: (github.event_name == 'workflow_dispatch' && github.event.inputs.build_graphscope_dev == 'true') || (github.pull_request == 'pull_request')
192+ if : false
188193
189194 steps :
190195 - uses : actions/checkout@v3
@@ -231,7 +236,8 @@ jobs:
231236
232237 manifest-push-graphscope-dev-image :
233238 runs-on : ubuntu-20.04
234- if : ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.build_graphscope_dev == 'true' }}
239+ # if: ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.build_graphscope_dev == 'true' }}
240+ if : false
235241
236242 needs : [build-graphscope-dev-image-x86-64, build-graphscope-dev-image-aarch64]
237243 steps :
@@ -281,14 +287,15 @@ jobs:
281287 # x86_64
282288 arch=$(uname -m)
283289 # image tag
284- tag=${{ github.event.inputs.v6d_version }}-${arch}
290+ tag=${{ github.event.inputs.v6d_version }}
285291 # vineyard-dev image
286- sudo docker tag graphscope/vineyard-dev:${tag} ${{ env.REGISTRY }}/graphscope/vineyard-dev:${tag}
292+ sudo docker tag graphscope/vineyard-dev:${tag}-${arch} ${{ env.REGISTRY }}/graphscope/vineyard-dev:${tag}
287293 sudo docker push ${{ env.REGISTRY }}/graphscope/vineyard-dev:${tag}
288294
289295 build-vineyard-dev-image-aarch64 :
290296 runs-on : [self-hosted, Linux, ARM64]
291- if : (github.event_name == 'workflow_dispatch' && github.event.inputs.build_vineyard_dev == 'true') || (github.pull_request == 'pull_request')
297+ # if: (github.event_name == 'workflow_dispatch' && github.event.inputs.build_vineyard_dev == 'true') || (github.pull_request == 'pull_request')
298+ if : false
292299
293300 steps :
294301 - uses : actions/checkout@v3
@@ -335,7 +342,8 @@ jobs:
335342
336343 manifest-push-vineyard-dev-image :
337344 runs-on : ubuntu-20.04
338- if : ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.build_vineyard_dev == 'true' }}
345+ # if: ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.build_vineyard_dev == 'true' }}
346+ if : false
339347
340348 needs : [build-vineyard-dev-image-x86-64, build-vineyard-dev-image-aarch64]
341349 steps :
@@ -387,16 +395,17 @@ jobs:
387395 # x86_64
388396 arch=$(uname -m)
389397 # image tag
390- tag=${{ github.event.inputs.v6d_version }}-${arch}
398+ tag=${{ github.event.inputs.v6d_version }}
391399 # vineyard-runtime image
392- sudo docker tag graphscope/vineyard-runtime:${tag} ${{ env.REGISTRY }}/graphscope/vineyard-runtime:${tag}
400+ sudo docker tag graphscope/vineyard-runtime:${tag}-${arch} ${{ env.REGISTRY }}/graphscope/vineyard-runtime:${tag}
393401 sudo docker push ${{ env.REGISTRY }}/graphscope/vineyard-runtime:${tag}
394402
395403 build-vineyard-runtime-image-aarch64 :
396404 runs-on : [self-hosted, Linux, ARM64]
397405 # only trigger this step in 'workflow_dispatch' event,
398406 # since the 'vineyard-dev' image isn't actually pushed in 'pull_request'
399- if : ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.build_vineyard_dev == 'true' }}
407+ # if: ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.build_vineyard_dev == 'true' }}
408+ if : false
400409
401410 needs : [manifest-push-vineyard-dev-image]
402411 steps :
@@ -443,7 +452,8 @@ jobs:
443452
444453 manifest-push-vineyard-runtime-image :
445454 runs-on : ubuntu-20.04
446- if : ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.build_vineyard_dev == 'true' }}
455+ # if: ${{ github.event_name == 'workflow_dispatch' }} && ${{ github.event.inputs.build_vineyard_dev == 'true' }}
456+ if : false
447457
448458 needs : [build-vineyard-runtime-image-x86-64, build-vineyard-runtime-image-aarch64]
449459 steps :
0 commit comments