Skip to content

Commit 02a77d8

Browse files
committed
CI: Remove 'Tutorial' from build and test Docker image workflow names.
1 parent b09a37b commit 02a77d8

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build-tutorial-docker-images.yml renamed to .github/workflows/build-docker-images.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Push Tutorial Docker Images
1+
name: Build and Push Docker Images
22

33
on:
44
push:
@@ -234,16 +234,16 @@ jobs:
234234
-H "Accept: application/vnd.github+json" \
235235
/repos/${{ github.repository }}/statuses/${GIT_SHA} \
236236
-f state='pending' \
237-
-f target_url="${{ github.server_url }}/${{ github.repository }}/actions/workflows/test-tutorial-docker-images.yml" \
237+
-f target_url="${{ github.server_url }}/${{ github.repository }}/actions/workflows/test-docker-images.yml" \
238238
-f description='Test started' \
239-
-f context="Test Tutorial Docker Images / test-tutorial (tutorials/${TUTORIAL_NAME})"
239+
-f context="Test Docker Images / test-tutorial (tutorials/${TUTORIAL_NAME})"
240240
env:
241241
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
242242

243243
- name: Trigger test workflow
244244
run: |
245245
echo "Triggering test for tutorial: ${TUTORIAL_NAME}"
246-
gh workflow run test-tutorial-docker-images.yml \
246+
gh workflow run test-docker-images.yml \
247247
--ref ${{ github.ref_name }} \
248248
-f tutorial=${TUTORIAL_NAME} \
249249
-f git_sha=${GIT_SHA} \

.github/workflows/test-tutorial-docker-images.yml renamed to .github/workflows/test-docker-images.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test Tutorial Docker Images
1+
name: Test Docker Images
22

33
on:
44
workflow_dispatch:
@@ -54,7 +54,7 @@ jobs:
5454
- name: Download commit-specific Docker Compose artifact
5555
uses: dawidd6/action-download-artifact@v6
5656
with:
57-
workflow: build-tutorial-docker-images.yml
57+
workflow: build-docker-images.yml
5858
run_id: ${{ inputs.workflow_run_id }}
5959
name: docker-compose-${{ inputs.tutorial }}-${{ env.DOCKER_TAG_BRANCH }}-git-${{ env.GIT_SHORT_SHA }}
6060
path: artifacts/commit-specific/${{ inputs.tutorial }}/
@@ -169,7 +169,7 @@ jobs:
169169
-f state='success' \
170170
-f target_url="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
171171
-f description='Tests passed' \
172-
-f context='Test Tutorial Docker Images / test-tutorial (tutorials/${{ inputs.tutorial }})'
172+
-f context='Test Docker Images / test-tutorial (tutorials/${{ inputs.tutorial }})'
173173
env:
174174
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
175175

@@ -183,6 +183,6 @@ jobs:
183183
-f state='failure' \
184184
-f target_url="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
185185
-f description='Tests failed' \
186-
-f context='Test Tutorial Docker Images / test-tutorial (tutorials/${{ inputs.tutorial }})'
186+
-f context='Test Docker Images / test-tutorial (tutorials/${{ inputs.tutorial }})'
187187
env:
188188
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)