-
Notifications
You must be signed in to change notification settings - Fork 54
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
Allow to specify an image to cos-installer #851
Conversation
977c4be
to
da3080a
Compare
@Itxaka should be good for a first review. Tests are still not passing, but I think I've got almost all of them fixed in the last push |
5cbb60f
to
8e8441f
Compare
Looking good to me for now. Do you plan to add tests to the installer for this new feature? 😉 |
I thought at it, but then, the feature is actually tested by cos-deploy tests |
49c0099
to
7348bec
Compare
@Itxaka deploy-image and raw deploy tests passed 🎉 (there was just some flakyness, as some failed for network issues :/ ) |
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.
Sorry, I thought I already reviewed this!
63e2616
to
5f56adf
Compare
44fcd1c
to
632d766
Compare
- Make sure to find installation channel only if we are booting from live or we provide an image - Prepare recovery only if we are not booting from it - Don't try to find upgrade channel if we specified an ISO url Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
632d766
to
5911138
Compare
By making
cos-installer
capable to take container images in place of the ISO content, we are untying the installer from the ISO. This has two benefit:cos-deploy
was partially crossing withcos-installer
. The only difference is thatcos-deploy
doesn't format, and just copy an image during install, which nowcos-installer
is capable of too as well.This commit drops cos-deploy * logics, but keeps the wrapper by calling
cos-installer
accordingly.Additionally, cos-installer now accepts:
--docker-image
,--no-verify
and--no-cosign