Skip to content

Commit 6db110e

Browse files
authored
ci: Disable to publish images and packages on the aarch64 platform (#3503)
1 parent e09b878 commit 6db110e

5 files changed

+50
-33
lines changed

.github/workflows/build-graphscope-dev-images.yml

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
810
on:
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:

.github/workflows/build-graphscope-images-linux.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ jobs:
7070
run: |
7171
echo "${docker_password}" | sudo docker login --username="${docker_username}" ${{ env.REGISTRY }} --password-stdin
7272
# x86_64
73-
arch=$(uname -m)
73+
# arch=$(uname -m)
7474
# docker tag: 0.15.0 -> 0.15.0a20220808
7575
time=$(date "+%Y%m%d")
7676
version=$(cat ${GITHUB_WORKSPACE}/VERSION)
77-
tag="${version}a${time}"-${arch}
77+
tag="${version}a${time}"
7878
7979
# graphscope image
8080
sudo docker tag graphscope/coordinator:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope/coordinator:${tag}
@@ -113,9 +113,9 @@ jobs:
113113
run: |
114114
echo "${docker_password}" | sudo docker login --username="${docker_username}" ${{ env.REGISTRY }} --password-stdin
115115
# x86_64
116-
arch=$(uname -m)
116+
# arch=$(uname -m)
117117
# Release version tag
118-
tag=${{ steps.tag.outputs.TAG }}-${arch}
118+
tag=${{ steps.tag.outputs.TAG }}
119119
# graphscope image
120120
sudo docker tag graphscope/coordinator:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope/coordinator:${tag}
121121
sudo docker tag graphscope/analytical:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope/analytical:${tag}
@@ -140,7 +140,7 @@ jobs:
140140
sudo docker push ${{ env.REGISTRY }}/graphscope/dataset:${tag}
141141
142142
# Release the latest tag
143-
tag=latest-${arch}
143+
tag=latest
144144
sudo docker tag graphscope/coordinator:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope/coordinator:${tag}
145145
sudo docker tag graphscope/analytical:${SHORT_SHA} ${{ env.REGISTRY }}/graphscope/analytical:${tag}
146146
# skip build analytical-java
@@ -160,7 +160,8 @@ jobs:
160160
161161
build-image-aarch64:
162162
runs-on: [self-hosted, Linux, ARM64]
163-
if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope') || (github.pull_request == 'pull_request') || (github.event_name == 'workflow_dispatch')
163+
# if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope') || (github.pull_request == 'pull_request') || (github.event_name == 'workflow_dispatch')
164+
if: false
164165
steps:
165166
- uses: actions/checkout@v3
166167
with:
@@ -320,7 +321,8 @@ jobs:
320321
321322
manifesh-push-image:
322323
runs-on: ubuntu-20.04
323-
if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope')
324+
# if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope')
325+
if: false
324326
needs: [build-image-x86-64, build-image-aarch64]
325327

326328
steps:

.github/workflows/build-graphscope-manylinux-ext-images.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ jobs:
4343
# image tag
4444
tag=ext-${arch}
4545
# manylinux2014 image
46-
sudo docker tag graphscope/manylinux2014:${tag} ${{ env.REGISTRY }}/graphscope/manylinux2014:${tag}
47-
sudo docker push ${{ env.REGISTRY }}/graphscope/manylinux2014:${tag}
46+
sudo docker tag graphscope/manylinux2014:${tag} ${{ env.REGISTRY }}/graphscope/manylinux2014:ext
47+
sudo docker push ${{ env.REGISTRY }}/graphscope/manylinux2014:ext
4848
4949
build-manylinux-ext-image-aarch64:
5050
runs-on: [self-hosted, Linux, ARM64]
51+
if: false
5152
steps:
5253
- uses: actions/checkout@v3
5354
with:
@@ -86,6 +87,7 @@ jobs:
8687
8788
manifest_push_manylinux-ext-image:
8889
runs-on: ubuntu-20.04
90+
if: false
8991
needs: [build-manylinux-ext-image-x86-64, build-manylinux-ext-image-aarch64]
9092
steps:
9193
- name: Create and Push Docker Manifest

.github/workflows/build-graphscope-wheels-linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ env:
2121

2222
jobs:
2323
build-wheels-for-arm64:
24-
if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope') || (github.event_name == 'workflow_dispatch')
24+
# if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope') || (github.event_name == 'workflow_dispatch')
25+
if: false
2526
runs-on: [self-hosted, Linux, ARM64]
2627

2728
steps:

.github/workflows/release.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
echo "${docker_password}" | sudo docker login --username="${docker_username}" ${{ env.DOCKER_URL }} --password-stdin
5050
# docker tag: 0.15.0 -> 0.15.0a20220808
5151
# x86_64
52-
arch=$(uname -m)
52+
# arch=$(uname -m)
5353
time=$(date "+%Y%m%d")
5454
version=$(cat ${GITHUB_WORKSPACE}/VERSION)
55-
tag="${version}a${time}"-${arch}
55+
tag="${version}a${time}"
5656
sudo docker tag graphscope/graphscope-store:${SHORT_SHA} ${{ env.GSS_IMAGE }}:${tag}
5757
sudo docker push ${{ env.GSS_IMAGE }}:${tag}
5858
@@ -69,12 +69,13 @@ jobs:
6969
run: |
7070
echo "${docker_password}" | sudo docker login --username="${docker_username}" ${{ env.DOCKER_URL }} --password-stdin
7171
# x86_64
72-
arch=$(uname -m)
73-
sudo docker tag graphscope/graphscope-store:${SHORT_SHA} ${{ env.GSS_IMAGE }}:${{ steps.tag.outputs.TAG }}-${arch}
74-
sudo docker push ${{ env.GSS_IMAGE }}:${{ steps.tag.outputs.TAG }}-${arch}
72+
# arch=$(uname -m)
73+
sudo docker tag graphscope/graphscope-store:${SHORT_SHA} ${{ env.GSS_IMAGE }}:${{ steps.tag.outputs.TAG }}
74+
sudo docker push ${{ env.GSS_IMAGE }}:${{ steps.tag.outputs.TAG }}
7575
7676
build-gss-image-aarch64:
77-
if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope')
77+
# if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope')
78+
if: false
7879
runs-on: [self-hosted, Linux, ARM64]
7980
steps:
8081
- uses: actions/checkout@v3
@@ -147,7 +148,8 @@ jobs:
147148
sudo docker rmi -f ${{ env.GSS_IMAGE }}:${{ steps.tag.outputs.TAG }}-${arch} || true
148149
149150
push-gss-image-manifest:
150-
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope' }}
151+
# if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope' }}
152+
if: false
151153
runs-on: ubuntu-20.04
152154

153155
needs: [build-gss-image-x86-64, build-gss-image-aarch64]

0 commit comments

Comments
 (0)