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

Deploying nonexistent components #107

Merged
merged 2 commits into from
Oct 27, 2021

Conversation

YrrepNoj
Copy link
Contributor

Added a check to make sure that all components passed in with the --components flag during a ./zarf init or ./zarf package deploy` command exist. Errors out if unable to match a provided component to the components listed in the yaml.

@YrrepNoj YrrepNoj linked an issue Oct 14, 2021 that may be closed by this pull request
@YrrepNoj YrrepNoj changed the title Deploying nonexistent components WIP: Deploying nonexistent components Oct 14, 2021
@YrrepNoj YrrepNoj force-pushed the feature/handle-nonexistent-components branch from a0a24e6 to 4215c87 Compare October 14, 2021 22:41
@YrrepNoj YrrepNoj changed the title WIP: Deploying nonexistent components Deploying nonexistent components Oct 14, 2021
@YrrepNoj YrrepNoj force-pushed the feature/handle-nonexistent-components branch from 4215c87 to aa7b782 Compare October 18, 2021 18:12
@YrrepNoj
Copy link
Contributor Author

/test all

@RothAndrew RothAndrew requested a review from jeff-mccoy October 19, 2021 20:32
@RothAndrew
Copy link
Contributor

/test all

@YrrepNoj YrrepNoj force-pushed the feature/handle-nonexistent-components branch from aa7b782 to f8368d5 Compare October 19, 2021 20:34
@YrrepNoj
Copy link
Contributor Author

/test all

@YrrepNoj YrrepNoj closed this Oct 19, 2021
@RothAndrew RothAndrew reopened this Oct 19, 2021
@jeff-mccoy
Copy link
Contributor

@YrrepNoj let's add an E2E to cover the failing case, i.e. insert bad component name, the deploy step should abort.

@YrrepNoj YrrepNoj force-pushed the feature/handle-nonexistent-components branch from f8368d5 to d8a3839 Compare October 26, 2021 21:34
@YrrepNoj
Copy link
Contributor Author

/test all

@jeff-mccoy jeff-mccoy merged commit 2d70c56 into master Oct 27, 2021
@jeff-mccoy jeff-mccoy deleted the feature/handle-nonexistent-components branch October 27, 2021 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error on attempt to use nonexistent component
3 participants