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

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

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

cgwalters
Copy link
Contributor

@cgwalters cgwalters commented Oct 7, 2024

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 <[email protected]>
@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
14 checks passed
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