Skip to content

Fix manifest push failure handling#2193

Merged
bbezak merged 1 commit intostackhpc/2025.1from
multiarch-manifests-pipefail
Mar 3, 2026
Merged

Fix manifest push failure handling#2193
bbezak merged 1 commit intostackhpc/2025.1from
multiarch-manifests-pipefail

Conversation

@bbezak
Copy link
Member

@bbezak bbezak commented Mar 3, 2026

No description provided.

@bbezak bbezak requested a review from a team as a code owner March 3, 2026 11:05
seunghun1ee
seunghun1ee previously approved these changes Mar 3, 2026
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly addresses an issue where CI jobs would not fail despite docker manifest commands failing. This is achieved by adding set -o pipefail to the shell script, ensuring that the exit code of a failed command in a pipeline is propagated. The change is effective. The included comment suggests a minor improvement for script robustness.

Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
@bbezak
Copy link
Member Author

bbezak commented Mar 3, 2026

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly fixes an issue in the multiarch manifest creation script where failures in piped commands were not causing the job to fail. The addition of set -o pipefail is the right solution. The change also includes a nice simplification, replacing a grep | sed pipeline with a single sed command. I have one minor suggestion to improve the conciseness of the script's option settings.

@bbezak bbezak merged commit 9eca78d into stackhpc/2025.1 Mar 3, 2026
21 of 22 checks passed
@bbezak bbezak deleted the multiarch-manifests-pipefail branch March 3, 2026 12:05
@seunghun1ee
Copy link
Member

We need to backport this to Caracal right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants