-
Notifications
You must be signed in to change notification settings - Fork 260
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
(fix/oci-client): allow adding a token for OCI client #1600
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.
This looks like a separate (and not yet complete change) has gotten included in here maybe?
7d722c5
to
c0a3218
Compare
@radu-matei the outstanding issue for me on this is https://github.com/fermyon/spin/pull/1600/files#r1237937342 (I mentioned it in chat a little while ago but should have noted it here as well) |
Eager to get this in for more convenient OCI testing. @radu-matei when you have a chance could you rebase and take a look at #1600 (comment)? |
c0a3218
to
3f6d570
Compare
(rebased with main) |
76ef26b
to
4830443
Compare
This commit adds a public function on the OCI client to insert a token in the token cache (used by the Cloud plugin to insert Cloud's token) and stores the OCI manifest digst in `AppInfo` so it can be queried by `./well-known/spin/info` at deployment time. Signed-off-by: Radu Matei <radu.matei@fermyon.com>
4830443
to
a679d3a
Compare
Signed-off-by: Vaughn Dice <vaughn.dice@fermyon.com>
0b0d02f
to
93df4ef
Compare
Looks like the concerns here have been refactored out of existence
This commit updates the underlying OCI client from the OCI crate used by Spin to be public. This is so that consumers of the client can configure the client (in particular, the token cache).