Skip to content

Commit

Permalink
Increment number of retries when building podman images
Browse files Browse the repository at this point in the history
  • Loading branch information
ggiguash committed Sep 20, 2024
1 parent fab1686 commit f581359
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/bin/pyutils/build_bootc_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ def process_containerfile(groupdir, containerfile, dry_run):
"-t", cf_outname, "-f", cf_outfile,
IMAGEDIR
]
common.retry_on_exception(3, common.run_command_in_shell, build_args, dry_run, logfile, logfile)
# The number of retries on error is higher compared to other commands
# to work around https://github.com/containers/bootc/issues/644#issuecomment-2355814454
common.retry_on_exception(5, common.run_command_in_shell, build_args, dry_run, logfile, logfile)
common.record_junit(cf_path, "build-container", "OK")

# Run the container export command
Expand Down

0 comments on commit f581359

Please sign in to comment.