From ee1bdd7e71ea1dc141b4e3b5c855cf376f00f170 Mon Sep 17 00:00:00 2001 From: Bert Palm <bert.palm@ufz.de> Date: Thu, 27 Jul 2023 16:40:48 +0200 Subject: [PATCH] fixed CI --- .gitlab-ci.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20cb4fc2d..ccaa4c1f5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,20 @@ # # SPDX-License-Identifier: GPL-3.0-or-later + +# =========================================================== +# Hints +# =========================================================== + +# $PYPI_PKG_NAME +# The variable PYPI_PKG_NAME is used in setup.py to determine +# how to name the tarball package. If not set the package is +# named 'saqc'. + +# $TESTPYPI_TOKEN +# The upload token used for testpypi, set it on the gitlab +# page and enable masking to prevent revealing + # =========================================================== # preparation # =========================================================== @@ -138,6 +152,8 @@ doctest: wheel38: stage: build image: python:3.8 + variables: + PYPI_PKG_NAME: "saqc-dev" script: - pip install wheel - pip wheel . @@ -146,6 +162,8 @@ wheel38: wheel39: stage: build image: python:3.9 + variables: + PYPI_PKG_NAME: "saqc-dev" script: - pip install wheel - pip wheel . @@ -154,6 +172,8 @@ wheel39: wheel310: stage: build image: python:3.10 + variables: + PYPI_PKG_NAME: "saqc-dev" script: - pip install wheel - pip wheel . @@ -162,6 +182,8 @@ wheel310: wheel311: stage: build image: python:3.11 + variables: + PYPI_PKG_NAME: "saqc-dev" script: - pip install wheel - pip wheel . @@ -186,7 +208,7 @@ upload_testpypi: except: - schedules variables: - PYPI_PKG_NAME: "saqc-dev" # used in setup.py + PYPI_PKG_NAME: "saqc-dev" TWINE_USERNAME: __token__ TWINE_PASSWORD: $TESTPYPI_TOKEN script: -- GitLab