Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

added support extract components of paths #389

Merged
merged 3 commits into from
Dec 30, 2021

Conversation

stempher
Copy link
Contributor

Added support extract components of paths for git generators (file and directory)

Example:

  • {{path}}: path of discovered (directory/config file) within the repository, e.g. /path/to/apps/app1 or /path/to/config/config.json
  • {{path[n]}}: component path (array index n), e.g. {{path[0]}}: "path", {{path[1]}}: "to"
  • {{path.basename}}: name of discovered (directory/config file) within the repository, e.g. app1 or config.json

#293

@CLAassistant
Copy link

CLAassistant commented Oct 12, 2021

CLA assistant check
All committers have signed the CLA.

@jwalitptl
Copy link

Is this going to be part of next release ? Much needed

@wtam2018 wtam2018 merged commit bf408db into argoproj:master Dec 30, 2021
@sirockin
Copy link

I'd love to use this. Is there a roadmap for the next release?

ishitasequeira pushed a commit to ishitasequeira/applicationset that referenced this pull request Jan 11, 2022
* added support extract components of paths

* fixed linter error
@muratakdeniz
Copy link

Thanks for the effort. It is a really nice improvement. Any thought about when it will be released?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants