-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
Description
Hi - Is there a way that the same yml can be used on different networks where the git repo links are different?
We have two networks where the git repos are mirrored but their links are different. So I was wondering if we could use environment variables in sources like:
location: repos
sources:
- repo: ssh://git@"${GIT_BASE}"/project/myrepo1.git
name: myrepo1
rev: "${PROJ_BRANCH:-develop}"
- repo: ssh://git@"${GIT_BASE}"/project/myrepo2.git
name: myrepo2
rev: "${PROJ_BRANCH:-develop}"
Where GIT_BASE and PROJ_BRANCH can be set before running gitman install.