From b96dbc1302087fa2223c65b0d34cd33e5f8faae3 Mon Sep 17 00:00:00 2001 From: plup Date: Mon, 24 Feb 2020 21:49:38 +0100 Subject: [PATCH] cicd: updated for git.startinblox.com --- .gitlab-ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7eadb2c..3c914db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,19 +56,18 @@ test: except: - master tags: - - sib + - test publish: stage: release before_script: + - pip install python-semantic-release sib-commit-parser - git config user.name "${GITLAB_USER_NAME}" - 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" - - pip install git+https://github.com/plup/python-semantic-release - - pip install sib-commit-parser + - git remote set-url origin "https://gitlab-ci-token:${GL_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git" script: - semantic-release publish only: - master tags: - - sib + - deploy