Closed linostar closed 7 months ago
@cjdcordeiro @tigarmo Ready for review.
I think this deserves a spread test
On the way, Chef.
@tigarmo There is the odd case of base: ubuntu@22.04
with build-base: devel
. It is unlikely to be used by anyone, but do you want it to be handled? and if yes, handled like 22.04 or 24.04?
@tigarmo There is the odd case of
base: ubuntu@22.04
withbuild-base: devel
. It is unlikely to be used by anyone, but do you want it to be handled? and if yes, handled like 22.04 or 24.04?
If you have a build-base
you can always rely on it. For your specific example, the semantics are: use whatever is the current devel
buildd image for the building, and ubuntu@22.04
for the target/base layer of the final rock. So it should have the new behavior.
@tigarmo There is the odd case of
base: ubuntu@22.04
withbuild-base: devel
. It is unlikely to be used by anyone, but do you want it to be handled? and if yes, handled like 22.04 or 24.04?If you have a
build-base
you can always rely on it. For your specific example, the semantics are: use whatever is the currentdevel
buildd image for the building, andubuntu@22.04
for the target/base layer of the final rock. So it should have the new behavior.
That's what I currently opted to do. Rely on build-base if it exists, otherwise falls back to base (pun intended).
@tigarmo This should be ready for merge. The last spread test took more than 2 hours smh and failed, but the related spread tests to this PR were passing. I merged main branch into this to restart the checks.
@linostar @cjdcordeiro there are some new failures on chisel + 24.04 now. Unrelated to this PR but we need to look into this:
2024-04-08 07:37:57.090 :: 2024-04-08 07:37:56.518 :: 2024/04/08 07:37:56 Release date: Mon, 08 Apr 2024 6:56:37 UTC
2024-04-08 07:37:57.090 :: 2024-04-08 07:37:56.519 :: 2024/04/08 07:37:56 Fetching index for ubuntu 24.04 noble-updates main component...
2024-04-08 07:37:57.090 :: 2024-04-08 07:37:56.551 :: 2024/04/08 07:37:56 Fetching index for ubuntu 24.04 noble-updates universe component...
2024-04-08 07:37:57.090 :: 2024-04-08 07:37:56.633 :: error: slice package "liblttng-ust-common1" missing from archive
2024-04-08 07:37:57.090 :: 2024-04-08 07:37:56.643 Failed to cut requested chisel slices: dotnet-runtime-8.0_libs
@tigarmo packages.ubuntu.com seems to be partially (?) down. https://packages.ubuntu.com/noble/ is giving HTTP 500.
This is a subtask of https://github.com/canonical/rockcraft/pull/495. We decided to remove
--verbose
from base 24.04 for starters, and see the impact.