Skip to content

draft: running tests DO NOT MERGE#27964

Open
ezopezo wants to merge 1 commit intocontainers:mainfrom
ezopezo:emravec/test
Open

draft: running tests DO NOT MERGE#27964
ezopezo wants to merge 1 commit intocontainers:mainfrom
ezopezo:emravec/test

Conversation

@ezopezo
Copy link

@ezopezo ezopezo commented Jan 27, 2026

Running test for containers/buildah#6556 changes.

@packit-as-a-service
Copy link

[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore.

@ezopezo ezopezo closed this Jan 27, 2026
@ezopezo ezopezo reopened this Jan 27, 2026
@ezopezo ezopezo closed this Jan 28, 2026
@ezopezo ezopezo reopened this Jan 28, 2026
@nalind nalind added the bloat_approved Approve a PR in which binary file size grows by over 50k label Feb 3, 2026
@nalind
Copy link
Member

nalind commented Feb 3, 2026

This will probably be simplified by #27993

@ezopezo
Copy link
Author

ezopezo commented Feb 4, 2026

This will probably be simplified by #27993

@nalind Do you mean this because my errors are including flags that have been implemented elsewhere (like --iidfile-raw, --metadata-file and --source-policy-file)? What is the process for syncing flags that I introduced in buildah repo, but they are absent here? Do I need to extend docs or any other logic in this PR?

Vendor buildah from ezopezo/buildah@ea82074 and add flag mappings:
 - BuildIDFile: write build ID to file
 - CacheStages: preserve intermediate stage images
 - StageLabels: add metadata labels to stage images
This is a testing PR to validate buildah changes work with podman.

Signed-off-by: Erik Mravec <emravec@redhat.com>
@nalind nalind added the No New Tests Allow PR to proceed without adding regression tests label Feb 10, 2026
@nalind
Copy link
Member

nalind commented Feb 10, 2026

This will probably be simplified by #27993

@nalind Do you mean this because my errors are including flags that have been implemented elsewhere (like --iidfile-raw, --metadata-file and --source-policy-file)? What is the process for syncing flags that I introduced in buildah repo, but they are absent here? Do I need to extend docs or any other logic in this PR?

Your changes added new flags, and podman CI is set up to flag some of the additional work that needs to be done to properly integrate them into this repository. Those checks are mainly there so that podman maintainers don't forget to do that work when they refresh the version of buildah that podman uses, but you're getting tripped up by it.

Specifically, podman reuses the CLI flag parsing logic from buildah, and its CI includes scripts that check that options advertised by podman build --help (buildah build will be exposing those options, so podman build will, too) have corresponding descriptions in the applicable podman man pages.

The scripts (./hack/xref-helpmsgs-manpages, invoked during make validate) will complain that snippets describing the new build flags are not present in docs/source/markdown/options with the right directives in docs/source/markdown/podman-build.1.md.in, and possibly docs/source/markdown/podman-farm-build.1.md.in, to cause them to show up in the generated man pages.

CI will likely trip over tests run in configurations where the build command is actually the podman remote client connecting to a podman service and asking the service to do the heavy lifting for a build. That usually requires either wiring things up so that the client supplies input file contents to the server as part of an API request, and writes output files based on results it gets back from the API (as it does for --iid-file), or having the client declare that it doesn't support that flag in remote mode (as it does for --metadata-file), and updating the patch that podman applies to buildah's test script to have it skip a test in that configuration. One step at a time, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bloat_approved Approve a PR in which binary file size grows by over 50k No New Tests Allow PR to proceed without adding regression tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants