Cant use variables in gitlab-ci.yml
unable to use the following config as the includes variables don't expand. attempted in ansible roles.
variables:
GIT_SUBMODULE_STRATEGY: recursive
MY_PROJECT_ID: "28204898"
NFC_GITLAB_SUBMODULE_HASH: 'git submodule status --recursive | awk "{print $$1}"'
NFC_GITLAB_CI_URL: "https://gitlab.com/nofusscomputing/projects/gitlab-ci/-/raw/$NFC_GITLAB_SUBMODULE_HASH"
include:
- remote: "$NFC_GITLAB_CI_URL/conventional_commits/.gitlab-ci.yml"
- remote: "$NFC_GITLAB_CI_URL/gitlab_release/.gitlab-ci.yml"
- remote: "$NFC_GITLAB_CI_URL/git_push_mirror/.gitlab-ci.yml"
- remote: "$NFC_GITLAB_CI_URL/ansible/.gitlab-ci.yml"
🚧 Tasks
-
update readme with changes from nofusscomputing/infrastructure/ansible-roles!8
Edited by Jon