Skip to content

Add more flags to test helpers - #7008

Open
nalind wants to merge 4 commits into
podman-container-tools:mainfrom
nalind:test-helper-flags
Open

Add more flags to test helpers#7008
nalind wants to merge 4 commits into
podman-container-tools:mainfrom
nalind:test-helper-flags

Conversation

@nalind

@nalind nalind commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind other

What this PR does / why we need it:

  • Add a hidden "--blob-info-cache-dir" flag to our add, build, copy, commit, from, pull, and push commands.
  • Panic if we can't hide the "--cdi-config-dir" flag for run, like we do for the rest of the flags that we hide.
  • Correct the panicking message when we fail to hide the "--blob-cache" flag for from and build.
  • Add CLI flags to the "copy" and "imgtype" helpers for setting the location of registry certificates and credentials, and a "--dest-force-compression-format" flag to catch up with the main binary.
  • Use imgtype instead of pulling and running a skopeo image to inspect an image after pushing it to a test registry.

How to verify it

Updated integration test!

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

@nalind
nalind force-pushed the test-helper-flags branch 4 times, most recently from c9cd14d to dbf273e Compare July 31, 2026 19:07
nalind added 4 commits August 6, 2026 18:15
Add a hidden "--blob-info-cache-dir" flag to our "add", "build", "copy",
"commit", "from", "pull", and "push" commands.

Panic if we can't hide the "--cdi-config-dir" flag for "run", like we do
for the rest of the flags that we hide.

Correct the panicking message when we fail to hide the "--blob-cache"
flag for "from" and "build".

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Add CLI flags "-authfile", "-cert-dir", "-legacy-format-authfile",
"-docker-compat-authfile", and "-blob-info-cache-dir" for setting the
location of registry certificates and credentials and the blob info
cache, and a "--dest-force-compression-format" flag to catch up with the
main binary.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Add CLI flags "-authfile", "-cert-dir", "-legacy-format-authfile",
"-docker-compat-authfile", and "-blob-info-cache-dir" for setting the
location of registry certificates and credentials and the location of
the blob info cache.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Use "imgtype" instead of pulling and running a skopeo image to inspect
an image after pushing it to a test registry.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
@nalind
nalind force-pushed the test-helper-flags branch from dbf273e to a8eefee Compare August 6, 2026 22:15
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.

1 participant