Skip to content

snapd: update to 2.71, add image-garden support#35

Merged
bboozzoo merged 9 commits into
masterfrom
bboozzoo/update-2.71
Sep 16, 2025
Merged

snapd: update to 2.71, add image-garden support#35
bboozzoo merged 9 commits into
masterfrom
bboozzoo/update-2.71

Conversation

@bboozzoo

Copy link
Copy Markdown
Owner

Merge changes from Fedora rawhide packaging thus updating snapd to 2.71.

Include image-garden support for easier CI.

gotmax23 and others added 9 commits August 15, 2025 18:38
One more hack was needed to let the package to build in the current
form, without proper support for Go modules. I've filed an internal
tracking ticket for the next release so that we re-do the package with
new Go helpers, remove a lot of generated content that is instead
generated at build time, and actually support Go modules for real.

https://warthogs.atlassian.net/browse/SNAPDENG-35431 (not visible to the
public, apologies, this helps only a limited audience).

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
When we remove the vendor directory, remove the C quivalent as well.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Instead, generate the required data by hand. This avoids the need to
"go run" during the build process.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
@bboozzoo bboozzoo requested a review from zyga September 15, 2025 12:30
@bboozzoo

Copy link
Copy Markdown
Owner Author

@zyga zyga left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Do you want to enable spread on the repo?

Comment thread spread.yaml
# - opensuse-tumbleweed-64 => opensuse-cloud-tumbleweed.$(uname -m)
# - ubuntu-24.04-64 => ubuntu-cloud-24.04.$(uname -m)
# - ubuntu-core-24-64 => ubuntu-cloud-24.04.$(uname -m)
exec image-garden allocate "$(echo "$SPREAD_SYSTEM" | sed \

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there is no prescribed meaning like in snapd.git, perhaps we could just use the garden names directly?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's already some logic in prepare which looks at $SPREAD_SYSTEM.

@bboozzoo bboozzoo merged commit 3644f74 into master Sep 16, 2025
2 checks passed
@bboozzoo bboozzoo deleted the bboozzoo/update-2.71 branch September 16, 2025 08:19
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.

3 participants