From e713057216384642bfee2ba7347ae1a7cb73c7f8 Mon Sep 17 00:00:00 2001 From: lewa <lene.wasskog@nibio.no> Date: Fri, 3 Feb 2023 12:14:06 +0100 Subject: [PATCH] feat: Add tag for specific gitlab runner [MAD-91] --- .gitlab-ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2cc3805..42b6402 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,13 +8,14 @@ stages: before_script: - python -V - - pip install virtualenv - - virtualenv venv - - source venv/bin/activate - - pip install build twine + - python -m venv venv + - . venv/bin/activate + - pip install build twine pytest build: stage: build + tags: + - vips-runner script: - python -m build artifacts: @@ -24,5 +25,7 @@ build: deploy: stage: deploy + tags: + - vips-runner script: - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository gitlab dist/* --verbose -- GitLab