-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Discover jobs/hooks in find images and diff git repo patches (#1645)
## Description Implements hook discovery for images and shows changes from patch-git. ## Related Issue Fixes #1246 Relates to #1625 ## Type of change - [X] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [X] 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
7 changed files
with
49 additions
and
18 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 |
---|---|---|
|
@@ -46,8 +46,8 @@ func TestMutateGitURLsInText(t *testing.T) { | |
# We transform https://*/*.git URLs | ||
https://github.com/defenseunicorns/zarf.git | ||
# Even URLs with things on either side | ||
stuffhttps://github.com/defenseunicorns/zarf.gitandthings | ||
# But not ssh://*/*.git URLs | ||
stuff https://github.com/defenseunicorns/zarf.git andthings | ||
# Including ssh://*/*.git URLs | ||
ssh://[email protected]/defenseunicorns/zarf.git | ||
# Or non .git URLs | ||
https://www.defenseunicorns.com/ | ||
|
@@ -58,9 +58,9 @@ func TestMutateGitURLsInText(t *testing.T) { | |
# We transform https://*/*.git URLs | ||
https://gitlab.com/repo-owner/zarf-1211668992.git | ||
# Even URLs with things on either side | ||
stuffhttps://gitlab.com/repo-owner/zarf-1211668992.gitandthings | ||
# But not ssh://*/*.git URLs | ||
ssh://git@github.com/defenseunicorns/zarf.git | ||
stuff https://gitlab.com/repo-owner/zarf-1211668992.git andthings | ||
# Including ssh://*/*.git URLs | ||
https://gitlab.com/repo-owner/zarf-2566185087.git | ||
# Or non .git URLs | ||
https://www.defenseunicorns.com/ | ||
` | ||
|