Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

fix: filters skipped when more than one is specified (#521) #511

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

crenshaw-dev
Copy link
Collaborator

@crenshaw-dev crenshaw-dev commented Feb 18, 2022

Simplify filter type detection.

Fixes #521

mmerrill3 and others added 7 commits February 10, 2022 09:12
Signed-off-by: mmerrill3 <jjpaacks@gmail.com>
Signed-off-by: mmerrill3 <jjpaacks@gmail.com>
Signed-off-by: mmerrill3 <jjpaacks@gmail.com>
Signed-off-by: mmerrill3 <jjpaacks@gmail.com>
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
@crenshaw-dev crenshaw-dev marked this pull request as ready for review February 18, 2022 19:07
@crenshaw-dev
Copy link
Collaborator Author

@mmerrill3 can you take a look?

Copy link

@fardin01 fardin01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix worked as expected in my cluster.

@crenshaw-dev crenshaw-dev changed the title chore: simpler filter segmentation fix: filters skipped when more than one is specified (#521) Feb 28, 2022
@oleg-glushak
Copy link

I tried this code for a combination of repositoryMatch and branchMatch filters and it seems it doesn't work as expected. Only a default branch gets discovered, but not others.

@crenshaw-dev
Copy link
Collaborator Author

@oleg-glushak sounds like I need to write some more tests...

@rishabh625
Copy link
Contributor

rishabh625 commented Apr 1, 2022

@crenshaw-dev : Can u plz move this to argocd and close here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: RepositoryMatch filter is not working in combination with other filters
5 participants