You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe Request: Path filtering based on changes in "root" directory of project
Examples: With current version of path-filtering orb, I cannot specify root directory mapping and trigger selective job in work flow. I tried using various combinations of specifying mapping e.g. "./.*"
Intent here is to triggered selective jobs based on changes in root directory like it does for subdirectories in the project.
Supporting Documentation Links:
The text was updated successfully, but these errors were encountered:
version: 2.1
setup: true
orbs:
path-filtering: circleci/[email protected]
# Define the jobs we want to run for this project
workflows:
setup:
jobs:
- path-filtering/filter:
name: Check-updated-files
base-revision: my-branch
config-path: .circleci/continue_config.yml
#Syntax: <regex path-to-test> <parameter-name> <parameter-value-to-set>
mapping: |
packages/abc/.* build-abc true
packages/xyz/.* build-xyz true
packages/shared/.* build-all true
packages/bin/.* build-all true
/home/circleci/project/.* build-all true
For subdirectories patterns packages/[abc,xyz]/.* , jobs are triggering. However if I change any file under repo's ROOT directory, jobs do not trigger.
For specifying root mapping pattern I have used following
bump. This is a result of some forced regex.
for those who run into this and need a temp fix as of @1.0.0 change ./.foo foo-var true -> .*.foo foo-var foo
Describe Request: Path filtering based on changes in "root" directory of project
Examples: With current version of path-filtering orb, I cannot specify root directory mapping and trigger selective job in work flow. I tried using various combinations of specifying mapping e.g. "./.*"
Intent here is to triggered selective jobs based on changes in root directory like it does for subdirectories in the project.
Supporting Documentation Links:
The text was updated successfully, but these errors were encountered: