devops: added a step to generate and push kubernetes manifests in gitlab ci configuration.
This commit is contained in:
parent
49a63821ca
commit
f6152c36ca
@ -27,6 +27,7 @@ Generate and Push Kubernetes Manifests:
|
|||||||
- git config --global user.name "$CI_PROJECT_NAME"
|
- git config --global user.name "$CI_PROJECT_NAME"
|
||||||
- git config --global user.email "${CI_COMMIT_AUTHOR_EMAIL}"
|
- git config --global user.email "${CI_COMMIT_AUTHOR_EMAIL}"
|
||||||
- |
|
- |
|
||||||
|
git remote rm remote_origin || true; \
|
||||||
echo ${CI_PROJECT_URL} | \
|
echo ${CI_PROJECT_URL} | \
|
||||||
sed 's/https:\/\///' | \
|
sed 's/https:\/\///' | \
|
||||||
xargs -I## git remote add remote_origin "https://oauth2:${COMMIT_TOKEN}@##.git"
|
xargs -I## git remote add remote_origin "https://oauth2:${COMMIT_TOKEN}@##.git"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user