Skip to content

tasks: Use set -e in rpm-ostree task#1493

Merged
arewm merged 1 commit into
konflux-ci:mainfrom
cgwalters:fix-rpmostree-err
Oct 8, 2024
Merged

tasks: Use set -e in rpm-ostree task#1493
arewm merged 1 commit into
konflux-ci:mainfrom
cgwalters:fix-rpmostree-err

Conversation

@cgwalters

@cgwalters cgwalters commented Oct 7, 2024

Copy link
Copy Markdown
Contributor

Related to https://gitlab.com/redhat/centos-stream/containers/bootc/-/merge_requests/248

Basically a while ago the rpm-ostree task was forked from the buildah task and we didn't inherit the later change to use set -e (as we should) on the inner shell script, meaning we had the default "blindly stumble forward when we hit an error" which is never what we want.

This would have helped focus the problem on cachi2, not selinux.

Related to https://gitlab.com/redhat/centos-stream/containers/bootc/-/merge_requests/248

Basically a while ago the rpm-ostree task was forked from the buildah
task and we didn't inherit the later change to use `set -e` (as we should)
on the inner shell script, meaning we had the default "blindly stumble forward
when we hit an error" which is never what we want.

This would have helped focus the problem on cachi2, not selinux.

Signed-off-by: Colin Walters <walters@verbum.org>
@arewm arewm added this pull request to the merge queue Oct 8, 2024
Merged via the queue into konflux-ci:main with commit f9b9f50 Oct 8, 2024
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.

2 participants