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

Commit

Permalink
Undo branch filters
Browse files Browse the repository at this point in the history
  • Loading branch information
sliptype committed Sep 4, 2023
1 parent 013fbad commit 4cf8837
Showing 1 changed file with 59 additions and 59 deletions.
118 changes: 59 additions & 59 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,66 +109,66 @@ jobs:
git push -u origin release-v${VERSION}
workflows:
# setup:
# when:
# not:
# equal: [scheduled_pipeline, << pipeline.trigger_source >>]
# jobs:
# - generate-config
# - init

# # Trigger relevant workflows for the files that have changed
# - path-filtering/filter:
# base-revision: main
# config-path: ../workspace/.circleci/continue_config.yml
# mapping: |
# packages/web/.* run-web-workflow true
# packages/probers/.* run-web-workflow true
# packages/common/.* run-web-workflow true
# packages/common/.* run-mobile-workflow true
# packages/mobile/.* run-mobile-workflow true
# packages/stems/.* run-stems-workflow true
# packages/stems/.* run-web-workflow true
# packages/embed/.* run-embed-workflow true
# .circleci/.* run-web-workflow true
# .circleci/.* run-mobile-workflow true
# .circleci/.* run-stems-workflow true
# .circleci/.* run-embed-workflow true
# packages/eslint-config-audius/.* run-web-workflow true
# packages/eslint-config-audius/.* run-mobile-workflow true
# packages/eslint-config-audius/.* run-stems-workflow true
# name: trigger-relevant-workflows
# filters:
# branches:
# ignore: << pipeline.parameters.run-all-workflows-branch-regex >>
# requires:
# - generate-config
# - init
# workspace_path: ../workspace

# # Trigger all workflows for branches that match regex
# - continuation/continue:
# configuration_path: ../workspace/.circleci/continue_config.yml
# name: trigger-all-workflows
# filters:
# branches:
# only: << pipeline.parameters.run-all-workflows-branch-regex >>
# parameters: '{
# "run-web-workflow": true,
# "run-mobile-workflow": true,
# "run-stems-workflow": true
# }'
# pre-steps:
# - attach_workspace:
# at: ../workspace
# requires:
# - generate-config
# - init
setup:
when:
not:
equal: [scheduled_pipeline, << pipeline.trigger_source >>]
jobs:
- generate-config
- init

# Trigger relevant workflows for the files that have changed
- path-filtering/filter:
base-revision: main
config-path: ../workspace/.circleci/continue_config.yml
mapping: |
packages/web/.* run-web-workflow true
packages/probers/.* run-web-workflow true
packages/common/.* run-web-workflow true
packages/common/.* run-mobile-workflow true
packages/mobile/.* run-mobile-workflow true
packages/stems/.* run-stems-workflow true
packages/stems/.* run-web-workflow true
packages/embed/.* run-embed-workflow true
.circleci/.* run-web-workflow true
.circleci/.* run-mobile-workflow true
.circleci/.* run-stems-workflow true
.circleci/.* run-embed-workflow true
packages/eslint-config-audius/.* run-web-workflow true
packages/eslint-config-audius/.* run-mobile-workflow true
packages/eslint-config-audius/.* run-stems-workflow true
name: trigger-relevant-workflows
filters:
branches:
ignore: << pipeline.parameters.run-all-workflows-branch-regex >>
requires:
- generate-config
- init
workspace_path: ../workspace

# Trigger all workflows for branches that match regex
- continuation/continue:
configuration_path: ../workspace/.circleci/continue_config.yml
name: trigger-all-workflows
filters:
branches:
only: << pipeline.parameters.run-all-workflows-branch-regex >>
parameters: '{
"run-web-workflow": true,
"run-mobile-workflow": true,
"run-stems-workflow": true
}'
pre-steps:
- attach_workspace:
at: ../workspace
requires:
- generate-config
- init

generate-release:
# when:
# and:
# - equal: [scheduled_pipeline, << pipeline.trigger_source >>]
# - equal: ['generate-release', << pipeline.schedule.name >>]
when:
and:
- equal: [scheduled_pipeline, << pipeline.trigger_source >>]
- equal: ['generate-release', << pipeline.schedule.name >>]
jobs:
- generate-release

0 comments on commit 4cf8837

Please sign in to comment.