-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: trigger continuation on tags (#8466)
When the config was wrapped in a continuation so that params could be dynamically generated, this broke tag workflows since there was no explicit tag filter anymore in config.yml. This attempts to fix that. I may have gotten this wrong, since this is intrinsically hard to test. We'll see next time we tag something.
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,14 @@ version: 2.1 | |
setup: true | ||
orbs: | ||
continuation: circleci/[email protected] | ||
|
||
aliases: | ||
only-version-tags: &only-version-tags | ||
tags: | ||
only: /^v[0-9].*/ | ||
branches: | ||
ignore: /.*/ | ||
|
||
jobs: | ||
generate-params: | ||
executor: continuation/default | ||
|
@@ -35,3 +43,9 @@ workflows: | |
setup-workflow: | ||
jobs: | ||
- generate-params | ||
|
||
# NOTE: CircleCI only builds tags if you explicitly filter for them. | ||
setup-workflow-tag: | ||
jobs: | ||
- generate-params: | ||
filters: *only-version-tags |
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