@@ -5,6 +5,8 @@ name: Build GraphScope Development and Wheel Images
5
5
# 2) graphscope-dev: including all dependencies for graphscope's development env.
6
6
# 3) vineyard-dev: including all vineyard-related dependencies that could compile graphscope analytical engine.
7
7
# 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.
8
10
on :
9
11
workflow_dispatch :
10
12
inputs :
@@ -73,14 +75,15 @@ jobs:
73
75
# x86_64
74
76
arch=$(uname -m)
75
77
# image tag
76
- tag=${{ github.event.inputs.v6d_version }}-${arch}
78
+ tag=${{ github.event.inputs.v6d_version }}
77
79
# 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}
79
81
sudo docker push ${{ env.REGISTRY }}/graphscope/graphscope-dev:wheel-${tag}
80
82
81
83
build-wheel-image-aarch64 :
82
84
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
84
87
85
88
steps :
86
89
- uses : actions/checkout@v3
@@ -127,7 +130,8 @@ jobs:
127
130
128
131
manifesh-push-wheel-image :
129
132
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
131
135
132
136
needs : [build-wheel-image-x86-64, build-wheel-image-aarch64]
133
137
steps :
@@ -177,14 +181,15 @@ jobs:
177
181
# x86_64
178
182
arch=$(uname -m)
179
183
# image tag
180
- tag=${{ github.event.inputs.v6d_version }}-${arch}
184
+ tag=${{ github.event.inputs.v6d_version }}
181
185
# 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}
183
187
sudo docker push ${{ env.REGISTRY }}/graphscope/graphscope-dev:${tag}
184
188
185
189
build-graphscope-dev-image-aarch64 :
186
190
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
188
193
189
194
steps :
190
195
- uses : actions/checkout@v3
@@ -231,7 +236,8 @@ jobs:
231
236
232
237
manifest-push-graphscope-dev-image :
233
238
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
235
241
236
242
needs : [build-graphscope-dev-image-x86-64, build-graphscope-dev-image-aarch64]
237
243
steps :
@@ -281,14 +287,15 @@ jobs:
281
287
# x86_64
282
288
arch=$(uname -m)
283
289
# image tag
284
- tag=${{ github.event.inputs.v6d_version }}-${arch}
290
+ tag=${{ github.event.inputs.v6d_version }}
285
291
# 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}
287
293
sudo docker push ${{ env.REGISTRY }}/graphscope/vineyard-dev:${tag}
288
294
289
295
build-vineyard-dev-image-aarch64 :
290
296
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
292
299
293
300
steps :
294
301
- uses : actions/checkout@v3
@@ -335,7 +342,8 @@ jobs:
335
342
336
343
manifest-push-vineyard-dev-image :
337
344
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
339
347
340
348
needs : [build-vineyard-dev-image-x86-64, build-vineyard-dev-image-aarch64]
341
349
steps :
@@ -387,16 +395,17 @@ jobs:
387
395
# x86_64
388
396
arch=$(uname -m)
389
397
# image tag
390
- tag=${{ github.event.inputs.v6d_version }}-${arch}
398
+ tag=${{ github.event.inputs.v6d_version }}
391
399
# 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}
393
401
sudo docker push ${{ env.REGISTRY }}/graphscope/vineyard-runtime:${tag}
394
402
395
403
build-vineyard-runtime-image-aarch64 :
396
404
runs-on : [self-hosted, Linux, ARM64]
397
405
# only trigger this step in 'workflow_dispatch' event,
398
406
# 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
400
409
401
410
needs : [manifest-push-vineyard-dev-image]
402
411
steps :
@@ -443,7 +452,8 @@ jobs:
443
452
444
453
manifest-push-vineyard-runtime-image :
445
454
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
447
457
448
458
needs : [build-vineyard-runtime-image-x86-64, build-vineyard-runtime-image-aarch64]
449
459
steps :
0 commit comments