Skip to content

Commit

Permalink
CI: use shorter job name
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Nov 8, 2023
1 parent 9875e03 commit 14b1b72
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
--template=artifact,lint,branch-coverage,snyk-scan

build-image:
needs: [vars, create-kosli-flow]
needs: [variables, create-kosli-flow]
uses: cyber-dojo/differ/.github/workflows/sub_build_image.yml@main
secrets:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
Expand All @@ -48,7 +48,7 @@ jobs:
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}

test:
needs: [vars, build-image]
needs: [variables, build-image]
uses: cyber-dojo/differ/.github/workflows/sub_test.yml@main
secrets:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
Expand All @@ -58,7 +58,7 @@ jobs:
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}

sdlc-gate:
needs: [vars, test]
needs: [variables, test]
uses: cyber-dojo/differ/.github/workflows/sub_sdlc_gate.yml@main
secrets:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
Expand All @@ -67,7 +67,7 @@ jobs:
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}

expect-deployment:
needs: [vars, sdlc-gate]
needs: [variables, sdlc-gate]
uses: cyber-dojo/differ/.github/workflows/sub_expect_deployment.yml@main
secrets:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
Expand All @@ -76,7 +76,7 @@ jobs:
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}

deploy:
needs: [vars, sdlc-gate]
needs: [variables, sdlc-gate]
uses: cyber-dojo/differ/.github/workflows/sub_deploy.yml@main
with:
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
--artifact-type=docker
test:
needs: [setup-ci-vars, wait-for-image]
needs: [variables, wait-for-image]
uses: cyber-dojo/differ/.github/workflows/sub_test.yml@main
secrets:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
Expand All @@ -70,7 +70,7 @@ jobs:
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}

push-latest:
needs: [setup-ci-vars, test]
needs: [variables, test]
uses: cyber-dojo/differ/.github/workflows/sub_push_latest.yml@main
secrets:
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
Expand All @@ -79,7 +79,7 @@ jobs:
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}

expected-deployment:
needs: [setup-ci-vars, test]
needs: [variables, test]
uses: cyber-dojo/differ/.github/workflows/sub_expect_deployment.yml@main
secrets:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
Expand Down

0 comments on commit 14b1b72

Please sign in to comment.