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

RFE: Introduce the --all-except command line parameter #4003

Open
cidrblock opened this issue Aug 12, 2023 · 0 comments
Open

RFE: Introduce the --all-except command line parameter #4003

cidrblock opened this issue Aug 12, 2023 · 0 comments
Milestone

Comments

@cidrblock
Copy link
Contributor

As a user I want to specifc molecule run all scenarios, except certain ones.

Use cases:

  • This would allow for one scenario to be dedicated to the creation, preparation, verification, and distruction of infrastructure

Example:

Assume we have introduced the ability to share state and invetory between scenarios.
Assume the default scenarion is responsible for provisioning.

# create the infrstructure, shared state, shared inventory and verify it is viable using the default scneario
molecule create
molecule preprare
molecule verify

# run all other scenarios (their destroy is removed from test)
molecule test --all-except default

# destroy the shared infrastructure and invetory
molecule destroy

Long term there may be a way to offer these steps (canned) with a higher level construct above the scenario level at the collleciton level
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant