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: use finch-core container runtime archive #1232

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

austinvazquez
Copy link
Member

@austinvazquez austinvazquez commented Dec 27, 2024

Issue #, if available:
Container runtime archive updates are currently a two-step process:

  1. updates to finch-core
  2. updates to finch

Description of changes:
This change updates finch.yaml generation to use the container runtime archive from finch-core.

  • 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.

@austinvazquez austinvazquez self-assigned this Dec 27, 2024
@austinvazquez
Copy link
Member Author

austinvazquez commented Dec 27, 2024

Requires runfinch/finch-core#472
Requires runfinch/finch-core#476 (split container runtime archive configuration from nerdctl 2.0 update)

Makefile Outdated
# For Finch on macOS and Windows, the container runtime archive locations and digests are set
# based on the values set in deps/finch-core/deps/container-runtime-full-archive.conf
-include $(FINCH_CORE_DIR)/deps/container-runtime-full-archive.conf
CONTAINER_RUNTIME_ARCHIVE_AARCH64_LOCATION := "$(ARTIFACT_BASE_URL)/$(AARCH64_ARTIFACT)"
Copy link
Member

Choose a reason for hiding this comment

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

I think there's value in using ?= for these expressions, in case in dev we need to update them to e.g. test against a new nerdctl version

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe while I have the hood open on this I will go ahead and grab FINCH_IMAGE_LOCATION and FINCH_IMAGE_DIGEST for both platforms as well.

@austinvazquez austinvazquez force-pushed the use-finch-core-container-runtime-archive branch from 5c71ca1 to dc9a965 Compare December 27, 2024 21:51
@austinvazquez austinvazquez marked this pull request as ready for review December 27, 2024 21:53
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