Skip to content

ci-package-builder: Work around pipefail

Emanuele Aina requested to merge wip/em/work-around-pipefail into master

GitLab Runner sets the pipefail option when it detects that the shell is Bash, see https://gitlab.com/gitlab-org/gitlab-runner/-/blob/84033194/shells/bash.go#L224

This means that the pipeline was failing in unexpected places, preventing it from looping when hitting an intermediate state.

Sprinkle || true everywhere so that if an unexpected error occurs we actually spin the loop to see if things progressed on the OBS side.

Merge request reports