You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frontend: rewrite HandleDepsOnly to use pkg/container build infra
The way depsonly worked was always a bit janky and didn't actually
support the full dependency constraint specification.
Additionally I found the shift to dnf from tdnf broke due to `--alldeps`
being missing (possibly just in mariner2, but still missing).
This shifts depsonly to use BuildPkg and BuildContainer where we create
a meta package with just the runtime deps.
Because depsonly allows specifying a partial spec (ie missing things
like name, license, other normally required fields) we have to fill in
those details so rpmbuild can succeed.
Add deps-only integration tests for all RPM distros with two sub-tests:
- minimal spec: only runtime deps, verifies curl is installed
- full spec: includes sources, build steps, and a shell script artifact;
verifies runtime deps are installed and build artifacts are excluded
- replaces the "e2e" test in docker-bake.hcl and tets all relevant
distros
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
0 commit comments