Skip to content
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

cli: Add new state wipe-ostree subcommand #777

Merged
merged 1 commit into from
Sep 6, 2024

Commits on Sep 6, 2024

  1. cli: Add new state wipe-ostree subcommand

    Solves containers#776
    
    Right now the integration tests have some hacky code to clear out
    `ostree` stateroots  (see `reset_root` function), it would be better if
    they could rely on a bootc command to take care of that for them instead
    
    This commit adds a new `state wipe-ostree` subcommand to the CLI that
    removes all `ostree` deployments from the system using native ostree
    bindings. This makes it easier to later rm -rf the stateroots and have a
    clean slate for the next test.
    
    Signed-off-by: Omer Tuchfeld <[email protected]>
    omertuc committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    16b194e View commit details
    Browse the repository at this point in the history