Skip to content

Commit 3333827

Browse files
committed
Don't put the whole platform in the matrix, just the arch -- it's always linux
1 parent 0c877e6 commit 3333827

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build-container.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
image: 'osg-htc/ospool-ep'
2626
- series: '23'
2727
image: 'opensciencegrid/osgvo-docker-pilot'
28-
platform: ['linux/amd64','linux/arm64']
28+
arch: ['amd64','arm64']
2929
exclude:
3030
# cuda builds take a super long time; only do one of them
3131
- os: cuda_11_8_0
@@ -56,20 +56,20 @@ jobs:
5656
osg_series: ${{ matrix.osg_series.series }}
5757
osg_repo: ${{ matrix.repo }}
5858
base_os: ${{ matrix.os }}
59-
platform: ${{ matrix.platform }}
59+
platform: linux/${{ matrix.arch }}
6060
output_image: ${{ steps.custom-image-name.outputs.output_image }}
6161
timestamp: ${{ steps.custom-image-name.outputs.timestamp }}
6262

6363

6464
- name: Prepare CVMFS
6565
# TODO: For all tests, GHA currently only supports amd64 runners. We will need
6666
# to re-enable tests on arm64 when ARM runners become available.
67-
if: ${{ matrix.platform == 'linux/amd64' }}
67+
if: ${{ matrix.arch == 'amd64' }}
6868
run: |
6969
sudo ./tests/setup_cvmfs.sh
7070
7171
- name: Docker + CVMFS bindmount
72-
if: ${{ matrix.platform == 'linux/amd64' }}
72+
if: ${{ matrix.arch == 'amd64' }}
7373
id: test-docker-cvmfs
7474
env:
7575
CONTAINER_IMAGE: ${{ steps.build-image.outputs.timestamp-image }}
@@ -79,7 +79,7 @@ jobs:
7979
"$CONTAINER_IMAGE"
8080
8181
- name: Docker + cvmfsexec
82-
if: ${{ matrix.platform == 'linux/amd64' }}
82+
if: ${{ matrix.arch == 'amd64' }}
8383
id: test-docker-cvmfsexec
8484
env:
8585
CONTAINER_IMAGE: ${{ steps.build-image.outputs.timestamp-image }}
@@ -89,7 +89,7 @@ jobs:
8989
"$CONTAINER_IMAGE"
9090
9191
- name: Singularity + CVMFS bindmount
92-
if: ${{ matrix.platform == 'linux/amd64' }}
92+
if: ${{ matrix.arch == 'amd64' }}
9393
id: test-singularity-cvmfs
9494
env:
9595
CONTAINER_IMAGE: ${{ steps.build-image.outputs.timestamp-image }}
@@ -117,7 +117,7 @@ jobs:
117117
osg_series: ${{ matrix.osg_series.series }}
118118
osg_repo: ${{ matrix.repo }}
119119
base_os: ${{ matrix.os }}
120-
platform: ${{ matrix.platform }}
120+
platform: linux/${{ matrix.arch }}
121121
base_tag: ${{ steps.custom-image-name.outputs.base_tag }}
122122
timestamp: ${{ steps.custom-image-name.outputs.timestamp }}
123123
output_image: ${{ steps.custom-image-name.outputs.output_image }}
@@ -143,7 +143,7 @@ jobs:
143143
osg_series: ${{ matrix.osg_series.series }}
144144
osg_repo: ${{ matrix.repo }}
145145
base_os: ${{ matrix.os }}
146-
platform: ${{ matrix.platform }}
146+
platform: linux/${{ matrix.arch }}
147147
base_tag: ${{ steps.custom-image-name.outputs.base_tag }}
148148
timestamp: ${{ steps.custom-image-name.outputs.timestamp }}
149149
output_image: ${{ steps.custom-image-name.outputs.output_image }}

0 commit comments

Comments
 (0)