cicd: updated for git.startinblox.com
This commit is contained in:
parent
555c98a8cb
commit
b96dbc1302
@ -56,19 +56,18 @@ test:
|
|||||||
except:
|
except:
|
||||||
- master
|
- master
|
||||||
tags:
|
tags:
|
||||||
- sib
|
- test
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
stage: release
|
stage: release
|
||||||
before_script:
|
before_script:
|
||||||
|
- pip install python-semantic-release sib-commit-parser
|
||||||
- git config user.name "${GITLAB_USER_NAME}"
|
- git config user.name "${GITLAB_USER_NAME}"
|
||||||
- git config user.email "${GITLAB_USER_EMAIL}"
|
- git config user.email "${GITLAB_USER_EMAIL}"
|
||||||
- git remote set-url origin "https://gitlab-ci-token:${GL_TOKEN}@git.happy-dev.fr/${CI_PROJECT_PATH}.git"
|
- git remote set-url origin "https://gitlab-ci-token:${GL_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git"
|
||||||
- pip install git+https://github.com/plup/python-semantic-release
|
|
||||||
- pip install sib-commit-parser
|
|
||||||
script:
|
script:
|
||||||
- semantic-release publish
|
- semantic-release publish
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
tags:
|
tags:
|
||||||
- sib
|
- deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user