-
Notifications
You must be signed in to change notification settings - Fork 146
install: Make stateroot configurable #622
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
Conversation
|
For tests, try adding a new case to https://github.com/containers/bootc/blob/b5f47ff8fe5121f7eade46aa53048edd75fd6116/tests-integration/src/install.rs#L68 |
8e9e129 to
c093213
Compare
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 sane to me, could just use a test in tests-integration/src/install.rs or so.
Coming back to this, is this still the right place? Or should it be part of the e2e tmt stuff? |
89cf7ff to
3b92943
Compare
4bdd3c7 to
6edca4e
Compare
6edca4e to
f0ab159
Compare
the e2e-tmt flow is generally oriented around bootc as a client flow, which is currently pretty distinct from the install path. I think it's still the right place to test install code in that file. |
f0ab159 to
ceae92b
Compare
This commit makes it so that the `bootc install` stateroot will be configurable (it defaults to `default`). For now this is a hidden CLI option until we decide whether we want to commit to this API. In the future we also want to make the stateroot of `bootc switch` be configurable (bootc-dev#617) so that users can install an image to a new stateroot while they already have an existing stateroot Also removed the constant `STATEROOT_DEFAULT`, we're now simply taking it from the `ostree_ext` crate Signed-off-by: Omer Tuchfeld <[email protected]>
ceae92b to
d17e471
Compare
….0.197 build(deps): bump serde from 1.0.196 to 1.0.197
container: Drop async_compression + support zstd:chunked
This commit makes it so that the
bootc installstateroot will be configurable (it defaults todefault). For now this is a hidden CLI option until we decide whether we want to commit to this API.In the future we also want to make the stateroot of
bootc switchbe configurable (#617) so that users can install an image to a new stateroot while they already have an existing staterootAlso removed the constant
STATEROOT_DEFAULT, we're now simply taking it from theostree_extcrate