From 5675244230d7ff29b6270e7cbd9e2fb9d59817a7 Mon Sep 17 00:00:00 2001 From: Bastien Abadie <bastien@nextcairn.com> Date: Wed, 9 Mar 2022 12:11:17 +0100 Subject: [PATCH] Remove testpypi deployment and automate push to pypi --- .gitlab-ci.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 610ac23..ed1fe28 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,30 +49,8 @@ client-lint: script: - pre-commit run -a -client-deploy-testpypi: - stage: test-deploy - only: - - tags@arkindex/api-client - environment: - name: testpypi - url: https://test.pypi.org/project/arkindex-client - - before_script: - - pip install twine setuptools wheel - - echo "[distutils]" > ~/.pypirc - - echo "index-servers =" >> ~/.pypirc - - echo " testpypi" >> ~/.pypirc - - echo "[testpypi]" >> ~/.pypirc - - echo "repository=https://test.pypi.org/legacy/" >> ~/.pypirc - - echo "username=$PYPI_DEPLOY_USERNAME" >> ~/.pypirc - - echo "password=$PYPI_DEPLOY_PASSWORD" >> ~/.pypirc - script: - - python setup.py sdist bdist_wheel - - twine upload dist/* -r testpypi - client-deploy-pypi: stage: deploy - when: manual only: - tags@arkindex/api-client environment: -- GitLab