There's two meaning of wildcards in paths for file collections.
*
is a simple, non-recursive wildcard representing zero or more characters which you can use for paths and file names.**
is a recursive wildcard which can only be used with paths, not file names.
For examples,
/var/log/**
will match all files in/var/log
and all files in all child directories, recursively./var/log/**/*.log
will match all files whose names end in.log
in/var/log
and all files in all child directories, recursively./home/*/.bashrc
will match all.bashrc
files in all user'shome
directories./home/*/.ssh/**/*.key
will match all files ending in.key
in all user's.ssh
directories in all user'shome
directories.
I want to set a path for below example
path: "apps/indexing-search/microservice1/overlays/aws/eu-west-1/dev/appconfig.yaml"
Similar to below so that
microservice1/..n/
will come dynamically andregion/env
come as dynamically.Similar to this but i saw multiple ** can not be added in the single path so how can i create it.
- path: "apps/indexing-search/**/eu-west-1/**/appconfig.yaml"