Skip to content
Snippets Groups Projects
Commit 514d73dd authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Fix package name in .gitlab-ci.yml

parent d7c77473
No related branches found
No related tags found
1 merge request!10Prepare release 2023.4
Pipeline #18406 failed
......@@ -16,3 +16,43 @@ test_docker:
- apt-get install -y libeccodes-dev
- apt install -yq git python3 python3-pip python3-venv
script: ./run_tests.sh
deploy-to-testpypi:
stage: deploy_test
image: python:3.8
tags:
- docker.meteo.physik.lmu.de
only:
- tags
script:
- pip install twine
- python setup.py sdist bdist_wheel
- twine upload -u "__token__" -p "$PYPI_TEST_PASSWORD" --repository-url https://test.pypi.org/legacy/ --skip-existing dist/*
install-from-testpypi:
stage: test_install
image: python:3.8
tags:
- docker.meteo.physik.lmu.de
only:
- tags
needs: ["deploy-to-testpypi"]
script:
- pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ enstools-compression
artifacts:
when: on_failure
paths:
- "*.log"
deploy-to-pypi:
stage: deploy_prod
image: python:3.8
only:
- tags
tags:
- docker.meteo.physik.lmu.de
needs: ["install-from-testpypi"]
script:
- pip install twine
- python setup.py sdist bdist_wheel
- twine upload -u "__token__" -p "$PYPI_PASSWORD" --skip-existing dist/*
\ No newline at end of file
2023.1
2023.4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment