Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update container runtime archive to nerdctl 2.0.2 #472

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

austinvazquez
Copy link
Member

@austinvazquez austinvazquez commented Dec 25, 2024

Issue #, if available:
#475

Description of changes:
This change adds container runtime archive configuration as a tracked dependency with weekly update automation against upstream nerdctl full archives.

This increments on previous efforts to effectively pin Finch's runtime dependencies while implementing a low-cost to develop mechanism to simplify updates.

This change updates the container runtime full archive used in Finch on macOS and Windows to nerdctl v2.0.2. See https://github.com/containerd/nerdctl/releases/tag/v2.0.2 for full details.

Testing done:
Ran make $(pwd)/_output/lima-template/fedora.yaml and verified lima configuration was correct.
Ran shellcheck on update container runtime archive script and verified no warnings or errors.
Ran container runtime archive script to update to nerdctl v2.0.2. i.e. bash bin/update-container-runtime-full-archive.sh -t v2.0.2

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

- name: Fetch tag for latest release
id: nerdctl-latest-release
run: |
tag=$(git tag --sort=-version:refname | head -n 1)
Copy link
Member

Choose a reason for hiding this comment

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

Is there an edge case here, where a new tag is created but it does not have a "release" associated with it yet?

Copy link
Member Author

@austinvazquez austinvazquez Dec 26, 2024

Choose a reason for hiding this comment

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

Good point, it would be caught by our testing in the update PR though.

@austinvazquez austinvazquez force-pushed the feat-container-runtime-full-archive branch from 23ed4be to 83ddcfc Compare December 28, 2024 02:00
@austinvazquez austinvazquez force-pushed the feat-container-runtime-full-archive branch from edfe8de to badf2e0 Compare December 28, 2024 03:44
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.

2 participants