Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github: Fix image digest job printing #16660

Merged
merged 1 commit into from Jun 30, 2021

Conversation

joestringer
Copy link
Member

Commit 044afab ("ci: Set up qemu in images workflow and build
cilium-test") introduced a new dependency for the "Display image digests"
job which provides a nice single page that developers can use to find
all of the CI image artifacts generated from the PR. Unfortunately the
new dependency is conditionally skipped, and when it is skipped, the
display digests job is also skipped because the dependency is skipped.

This is a known behaviour of GitHub actions/runner, issue 491.

This commit works around the issue by explicitly running the job if the
dependency was skipped, allowing the "display image digests" job to run
even when the qemu job is skipped.

This PR proposes the workaround listed on actions/runner#491 .

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jun 25, 2021
@joestringer joestringer added the release-note/misc This PR makes changes that have no direct user impact. label Jun 25, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jun 25, 2021
@maintainer-s-little-helper
Copy link

Commit ba728f0 does not contain "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label Jun 25, 2021
@maintainer-s-little-helper
Copy link

Commits ba728f0, 61e036a515b2c514676dc05908c31eba96584476 do not contain "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@joestringer
Copy link
Member Author

joestringer commented Jun 28, 2021

Commit 044afab ("ci: Set up qemu in images workflow and build
cilium-test") introduced a new dependency for the "Display image digests"
job which provides a nice single page that developers can use to find
all of the CI image artifacts generated from the PR. Unfortunately the
new dependency is conditionally skipped, and when it is skipped, the
display digests job is also skipped because the dependency is skipped.

This is a known behaviour of GitHub actions/runner, issue 491.

This commit works around the issue by explicitly running the job if the
dependency was skipped, allowing the "display image digests" job to run
even when the qemu job is skipped.

Signed-off-by: Joe Stringer <joe@cilium.io>
@joestringer joestringer force-pushed the pr/joe/fix-image-ci-display-digests branch from 61e036a to 6dad17f Compare June 28, 2021 18:38
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label Jun 28, 2021
@joestringer joestringer marked this pull request as ready for review June 28, 2021 18:39
@joestringer joestringer requested review from a team as code owners June 28, 2021 18:39
Copy link
Member

@nbusseneau nbusseneau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦🏻
One more thing on the list of GH Actions quirks.

@nbusseneau nbusseneau added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 29, 2021
@errordeveloper errordeveloper merged commit 8e71e30 into master Jun 30, 2021
@errordeveloper errordeveloper deleted the pr/joe/fix-image-ci-display-digests branch June 30, 2021 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants