Open miabbott opened 2 years ago
cosa build --parent-build=36.20220516.20.1
also would not work in your case.
The --parent
/--parent-build
both require the tmp/repo
ostree to already have the specified build-id as a reference, but there is currently no supported mechanism in coreos-assembler to do that other than to previously have built that reference in the same workspace.
Bug Report
Environment
What operating system is being used to run coreos-assembler?
Fedora 35 SB
What operating system is being assembled?
FCOS 36 testing-devel
Is coreos-assembler running in Podman or Docker?
podman
If Podman, is coreos-assembler running privileged or unprivileged?
unprivileged
Expected Behavior
Successful build of FCOS
Actual Behavior
In this case,
36.20220520.20.0
is the most recent build ID available fromtesting-devel
.Reproduction Steps
cosa init https://github.com/coreos/fedora-coreos-config
cosa buildfetch --build 36.20220516.20.1 --url s3://fcos-builds/prod/streams/testing-devel/builds
cosa fetch && cosa build
Other Information
Not sure if this should be strictly supported, since
cosa build
has the--parent-build
option. But we should probably more gracefully handle this condition.Also of note, if
cosa build --parent-build
is used, we don't get the pkg diff between the two commits: