-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add wildcard and deselection support to
--components
(#2175)
## Description This adds wildcard and `default` exclusion support to the `--components` field ## Related Issue Fixes #1794 Fixes #2051 Fixes #2035 ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Other (security config, docs update, etc) ## Checklist before merging - [ ] Test, docs, adr added or updated as needed - [x] [Contributor Guide Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow) followed
- Loading branch information
Showing
24 changed files
with
351 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,13 @@ metadata: | |
|
||
components: | ||
- name: full-repo | ||
required: true | ||
repos: | ||
# The following performs a full Git Repo Mirror with `go-git` (internal to Zarf) | ||
- https://github.com/defenseunicorns/zarf-public-test.git | ||
# The following performs a full Git Repo Mirror forcing a fallback to host `git` | ||
- https://dev.azure.com/defenseunicorns/zarf-public-test/_git/zarf-public-test | ||
|
||
- name: specific-tag | ||
required: true | ||
repos: | ||
# The following performs a tag Git Repo Mirror with `go-git` (internal to Zarf) | ||
- https://github.com/defenseunicorns/[email protected] | ||
|
@@ -24,15 +22,13 @@ components: | |
- https://dev.azure.com/defenseunicorns/zarf-public-test/_git/[email protected] | ||
|
||
- name: specific-branch | ||
required: true | ||
repos: | ||
# The following performs a branch Git Repo Mirror with `go-git` (internal to Zarf) | ||
- https://github.com/defenseunicorns/zarf-public-test.git@refs/heads/dragons | ||
# The following performs a branch Git Repo Mirror forcing a fallback to host `git` | ||
- https://dev.azure.com/defenseunicorns/zarf-public-test/_git/zarf-public-test@refs/heads/dragons | ||
|
||
- name: specific-hash | ||
required: true | ||
repos: | ||
# The following performs a SHA Git Repo Mirror with `go-git` (internal to Zarf) | ||
- https://github.com/defenseunicorns/zarf-public-test.git@01a23218923f24194133b5eb11268cf8d73ff1bb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.