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

Introduce pipeline events #30

Merged
merged 4 commits into from
Apr 1, 2022
Merged

Introduce pipeline events #30

merged 4 commits into from
Apr 1, 2022

Conversation

kminehart
Copy link
Collaborator

@kminehart kminehart commented Apr 1, 2022

Example usage of events in a Pipeline:

	sw.When(
		pipeline.GitCommitEvent(pipeline.GitCommitFilters{
			Branch: pipeline.StringFilter("main"),
		}),
		pipeline.GitTagEvent(pipeline.GitTagFilters{
			Name: pipeline.GlobFilter("v*"),
		}),
	)

This doesn't have to be final and can be expanded in the future. :)

@kminehart
Copy link
Collaborator Author

@dsotirakis I'm going to go ahead and merge this but feel free to make any comments on the code or whatever and I will address them in my next PR.

@kminehart kminehart merged commit 573870c into main Apr 1, 2022
@kminehart kminehart deleted the km/introduce-pipeline-tiggers branch July 21, 2022 18:15
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.

None yet

2 participants