Skip to content

Show the output of the image push task - #2832

Merged
berendt merged 1 commit into
mainfrom
zuul-unhide-push-output
Oct 27, 2026
Merged

berendt merged 1 commit into
mainfrom
zuul-unhide-push-output

Conversation

@ideaship

Copy link
Copy Markdown
Contributor

The Run push script task is marked no_log, so a failed docker push leaves only "Output suppressed because no_log was given" in the job log. The registry's actual error is lost and the failure cannot be diagnosed afterwards.

The task handles no secrets: the registry credentials are used by the preceding docker_login task, and the script only runs git rev-parse, docker tag and docker push. This drops no_log from that one task; the tasks that handle secrets are unchanged.

The push task only runs when push_image is set (periodic and tag pipelines), so the check run of this PR skips it. The change takes effect with the first periodic run after merge.

🤖 Generated with Claude Code

The "Run push script" task was marked no_log, so when docker push
fails the job log only says "Output suppressed because no_log was
given". The actual error (registry 5xx, connection reset, timeout,
authorization failure) is lost, and a failed push cannot be
diagnosed from the job output.

The task handles no secrets. The registry credentials are only used
by the preceding docker_login task, and the push script itself runs
nothing but git rev-parse, docker tag and docker push, none of which
print credentials. no_log therefore protects nothing and only hides
the error.

Drop no_log from the push task. The tasks that do handle secrets are
unchanged.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Roger Luethi <luethi@osism.tech>
@ideaship
ideaship marked this pull request as ready for review October 27, 2026 07:44
@ideaship ideaship self-assigned this Oct 27, 2026
@ideaship
ideaship requested a review from berendt October 27, 2026 07:44

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Needs a human reviewer. Docker push progress and image details will now appear in build logs. Reverting suppresses future output, but it does not remove details already recorded; those logs are bounded and can be cleared.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@berendt
berendt merged commit df1088f into main Oct 27, 2026
4 checks passed
@berendt
berendt deleted the zuul-unhide-push-output branch October 27, 2026 08:24
@github-project-automation github-project-automation Bot moved this from New to Done in Human Board Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants