Skip to content

Commit 1fb7792

Browse files
Merge pull request #184 from matyasselmeci/pr/shorten
Shorten GitHub action names so the checks don't get chopped off in the web interface
2 parents a30b2b5 + 3333827 commit 1fb7792

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/build-container.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and test container images
1+
name: B&T images
22

33
on:
44
push:
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
jobs:
12-
build-images:
12+
build:
1313
runs-on: ubuntu-22.04
1414
# Continue to the push/tag step even if some build matrix combos fail
1515
# Check that all arch artifacts are present in the push/tag step
@@ -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 }}
@@ -155,7 +155,7 @@ jobs:
155155
github.event_name != 'pull_request' &&
156156
contains(fromJson('["opensciencegrid","osg-htc"]'), github.repository_owner)
157157
needs:
158-
- build-images
158+
- build
159159
strategy:
160160
fail-fast: false
161161
matrix:

0 commit comments

Comments
 (0)