Skip to content

manifest push: add --retry and --retry-delay flags#28883

Closed
medsabbar wants to merge 1 commit into
podman-container-tools:mainfrom
medsabbar:main
Closed

manifest push: add --retry and --retry-delay flags#28883
medsabbar wants to merge 1 commit into
podman-container-tools:mainfrom
medsabbar:main

Conversation

@medsabbar

Copy link
Copy Markdown

Manifest push was missing the --retry and --retry-delay options
that podman push already supports. This wires them through so
both local and remote clients can configure retry behavior.

Closes #28590

These were already available in podman push but missing from
manifest push. Wire them through so users can control retries.

Fixes: podman-container-tools#28590
Signed-off-by: Mohamed Sabbar <med1sabar@gmail.com>
@github-actions github-actions Bot added the kind/api-change Change to remote API; merits scrutiny label Jun 8, 2026
@medsabbar

Copy link
Copy Markdown
Author

/packit rebuild-failed

@Honny1 Honny1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I have some small nits.

Comment thread test/e2e/manifest_test.go

It("push must retry with custom retry count", func() {
SkipIfRemote("warning is not relayed in remote setup")
session := podmanTest.Podman([]string{"manifest", "create", "foo", imageList})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please use podmanTest.PodmanExitCrearly.

Comment on lines +368 to +369
Retry uint `schema:"retry"`
RetryDelay string `schema:"retryDelay"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would use pointers when these values are optional. Then you don't need to check the query.

@Honny1

Honny1 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Anyway, there is another PR that resolves this: #28637

@Luap99

Luap99 commented Jun 10, 2026

Copy link
Copy Markdown
Member

Anyway, there is another PR that resolves this: #28637

Well then we should close this and get the other PR over the finish line.

@Luap99 Luap99 closed this Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/api-change Change to remote API; merits scrutiny

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Podman-manifest-push have no retry option

3 participants