-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix(scm gitlab): use project topics instead of tags Signed-off-by: tillepille <[email protected]> * feat(scm gitlab): add testcase for labels Signed-off-by: tillepille <[email protected]> fix test Signed-off-by: tillepille <[email protected]> * feat(scm gitlab): update docs for gitlab filtering Signed-off-by: tillepille <[email protected]> * feat(scm gitlab): add fallback for old gitlab versions Signed-off-by: tillepille <[email protected]> --------- Signed-off-by: tillepille <[email protected]>
- Loading branch information
1 parent
6fa9b17
commit b2a52de
Showing
3 changed files
with
20 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1063,6 +1063,16 @@ func TestGitlabListRepos(t *testing.T) { | |
proto: "ssh", | ||
url: "[email protected]:test-argocd-proton/argocd.git", | ||
}, | ||
{ | ||
name: "labelmatch", | ||
proto: "ssh", | ||
url: "[email protected]:test-argocd-proton/argocd.git", | ||
filters: []v1alpha1.SCMProviderGeneratorFilter{ | ||
{ | ||
LabelMatch: strp("test-topic"), | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: "https protocol", | ||
proto: "https", | ||
|
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