Skip to content

Commit

Permalink
Run promote-images in parallel to test-images on branches other than …
Browse files Browse the repository at this point in the history
…main/release
  • Loading branch information
jcgruenhage committed Jan 3, 2025
1 parent e9d30ed commit 7d839ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# SC2086 - Double quote to prevent globbing and word splitting. - https://www.shellcheck.net/wiki/SC2086
SHELLCHECK_OPTS: --exclude=SC2046,SC2086
with:
fail_on_error: true
# fail_level: error
filter_mode: nofilter
level: error

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,12 @@ jobs:
docker compose -f ./docker-compose/docker-compose.yml down
promote-images:

Check failure on line 933 in .github/workflows/build_and_test.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/build_and_test.yml#L933

job "promote-images" needs job "${{ fromjson(\n (github.ref_name == 'main' || github.ref_name == 'release' || github.ref_name == 'release-proxy' || github.ref_name == 'release-compute' || github.ref_name == 'jcgruenhage/promote-images-while-test-images')\n && '[ check-permissions, tag, test-images, vm-compute-node-image ]'\n || '[ check-permissions, tag, vm-compute-node-image ]'\n) }}\n" which does not exist in this workflow [job-needs]
Raw output
.github/workflows/build_and_test.yml:933:3: job "promote-images" needs job "${{ fromjson(\n  (github.ref_name == 'main' || github.ref_name == 'release' || github.ref_name == 'release-proxy' || github.ref_name == 'release-compute' || github.ref_name == 'jcgruenhage/promote-images-while-test-images')\n    && '[ check-permissions, tag, test-images, vm-compute-node-image ]'\n    || '[ check-permissions, tag, vm-compute-node-image ]'\n) }}\n" which does not exist in this workflow [job-needs]
needs: [ check-permissions, tag, test-images, vm-compute-node-image ]
needs: >
${{ fromJson(

Check failure on line 935 in .github/workflows/build_and_test.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/build_and_test.yml#L935

context "github" is not allowed here. no context is available here. see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability for more details [expression]
Raw output
.github/workflows/build_and_test.yml:935:18: context "github" is not allowed here. no context is available here. see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability for more details [expression]

Check failure on line 935 in .github/workflows/build_and_test.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/build_and_test.yml#L935

context "github" is not allowed here. no context is available here. see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability for more details [expression]
Raw output
.github/workflows/build_and_test.yml:935:47: context "github" is not allowed here. no context is available here. see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability for more details [expression]

Check failure on line 935 in .github/workflows/build_and_test.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/build_and_test.yml#L935

context "github" is not allowed here. no context is available here. see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability for more details [expression]
Raw output
.github/workflows/build_and_test.yml:935:79: context "github" is not allowed here. no context is available here. see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability for more details [expression]

Check failure on line 935 in .github/workflows/build_and_test.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/build_and_test.yml#L935

context "github" is not allowed here. no context is available here. see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability for more details [expression]
Raw output
.github/workflows/build_and_test.yml:935:117: context "github" is not allowed here. no context is available here. see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability for more details [expression]

Check failure on line 935 in .github/workflows/build_and_test.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/build_and_test.yml#L935

context "github" is not allowed here. no context is available here. see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability for more details [expression]
Raw output
.github/workflows/build_and_test.yml:935:157: context "github" is not allowed here. no context is available here. see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability for more details [expression]
(github.ref_name == 'main' || github.ref_name == 'release' || github.ref_name == 'release-proxy' || github.ref_name == 'release-compute' || github.ref_name == 'jcgruenhage/promote-images-while-test-images')
&& '[ check-permissions, tag, test-images, vm-compute-node-image ]'
|| '[ check-permissions, tag, vm-compute-node-image ]'
) }}
runs-on: ubuntu-22.04

permissions:
Expand Down

0 comments on commit 7d839ac

Please sign in to comment.