-
Notifications
You must be signed in to change notification settings - Fork 92
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
install: Drop support for old skopeo #265
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.
The test claims that skopeo is too old.
lib/src/install.rs
Outdated
@@ -927,6 +890,9 @@ async fn prepare_install( | |||
|
|||
let skopeo_supports_containers_storage = skopeo_supports_containers_storage() | |||
.context("Failed to run skopeo (it currently must be installed in the host root)")?; | |||
if !skopeo_supports_containers_storage { | |||
anyhow::bail!("skopeo is too old"); |
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.
I think the skopeo_supports_containers_storage
fn should error out with a message indicating the current / expected version of Skeop. "too old" will put the user on a journey figuring out the requirement.
Ah yes, ubuntu. I will look at excising this test. |
ef74c7c
to
921da2d
Compare
OK, I did some tweaking of the GH/ubuntu CI to build skopeo from git, which will also conveniently give us some integration testing as things change there. |
LGTM |
@vrothberg PTAL |
So that we can drop support for the hacky "copy to temporary OCI" code. Signed-off-by: Colin Walters <[email protected]>
Let's just hard require a skopeo that can fetch from `containers-storage`. Motivated by containers#263 which was moving this code around. Signed-off-by: Colin Walters <[email protected]>
99b8d8e
to
8e8e2a0
Compare
I think the comments here are basically addressed. |
Let's just hard require a skopeo that can fetch from
containers-storage
. Motivated by #263 which was moving this code around.