fix: ensure the LXC template does not have obsolete APT #102
Labels
No labels
Compat/Breaking
Kind/Bug
Kind
Chore
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
3 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo/act!102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "earl-warren/act:wip-apt-old"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Includes an upgrade to https://code.forgejo.org/forgejo/lxc-helpers/src/tag/v1.0.3 which contains the foundations of this fix forgejo/lxc-helpers#31/files
The test verifying it actually works is at https://code.forgejo.org/forgejo/end-to-end/src/branch/main/actions/example-lxc
cascading-pr updated at forgejo/runner#466
otherwise LGTM
@ -8,3 +8,3 @@LXC_CONTAINER_CONFIG_ALL="unprivileged lxc libvirt docker k8s"LXC_CONTAINER_CONFIG_DEFAULT="lxc libvirt docker"LXC_IPV6_PREFIX_DEFAULT="fc15"LXC_IPV6_PREFIX_DEFAULT="fd15"why this? 🤔
forgejo/lxc-helpers#29
because I incorrectly thought fc was not a unique local address 🤔 My bad.
5430b01366..86fb21a205why not simply call
apt updatewhen outdated?That was my first idea. But there may be more to keeping a template up to date than just apt. The motivation is apt being obsolete: it has caused actual breakage in the past. This solution also covers potential updates in other areas. I don't know if there are any and I'm happy not figuring that out.
In short this is a more general solution where APT is a sign of a template not being up to date and the solution is to re-create.
Does that sound sensible?
5430b0136686fb21a205New commits pushed, approval review dismissed automatically according to repository settings
cascading-pr updated at forgejo/runner#466
makes sense.
you dropped the ipv6 change here?
@viceice wrote in #102 (comment):
Yes. And in lxc-helpers too, reverted.
Should not be merged as is
fix: ensure the LXC template does not have obsolete APTto WIP: fix: ensure the LXC template does not have obsolete APT86fb21a2054b0aa114c6cascading-pr updated at forgejo/runner#466
86fb21a205..4b0aa114c6switch back to using fd*
WIP: fix: ensure the LXC template does not have obsolete APTto fix: ensure the LXC template does not have obsolete APT