install: Make stateroot configurable#622
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
cgwalters
left a comment
There was a problem hiding this comment.
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 <omer@tuchfeld.dev>
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