-
Notifications
You must be signed in to change notification settings - Fork 246
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
Initial version of OCI packages for features. #94
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, super excited for this! We just gotta make sure the test is properly fetching (and once we open source devcontainers/features
, can point the tests to those features.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good! I left a few comments, and one more general one would be that we might consider adding some simple retry logic to these https
requests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left more comments
src/test/container-features/containerFeaturesOCI.offline.test.ts
Outdated
Show resolved
Hide resolved
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
The code here implements the latest changes to the features proposal as written here:
devcontainers/spec#66
The code parses the feature id and decides its origin between the new OCI features and old github release based features by verifiying a manifest is available and reachable for said feature.
The main TODO is implementing authentication support for the various operating system keychains and obtain the docker credentials.