Skip to content

Commit

Permalink
Merge pull request #75 from CircleCI-Public/set-config-path
Browse files Browse the repository at this point in the history
Set config path & add code comments
  • Loading branch information
gabmass authored May 10, 2023
2 parents 8acbfbc + f53009d commit d6b8ee8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
mapping: |
src/.* test-changes true
- path-filtering/set-parameters:
config-path: ".circleci/test-deploy.yml"
mapping: |
src/commands/.* test-commands true .circleci/config.yml
src/examples/.* test-examples true .circleci/test-deploy.yml
Expand Down
6 changes: 5 additions & 1 deletion src/examples/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ usage:
doc/.* build-docs true
- path-filtering/filter:
base-revision: main
config-path: ""
# This config-path file will only be used to continue the Pipeline if none of the changes
# satisfy the below mapping conditions.
config-path: .circleci/continue_config.yml
# Please note the two config files specified below cannot share the same job, workflow or command names.
# This is due to the fact that we're merging those into one file behind the scenes.
mapping: |
src/.* build-code true .circleci/build-code-config.yml
doc/.* build-docs true .circleci/build-docs-config.yml
Expand Down

0 comments on commit d6b8ee8

Please sign in to comment.