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

Update CI file.

parent 3bc6a47e
No related branches found
No related tags found
3 merge requests!10Code cleaning, better documentation and updated CI.,!9Fix CI publishing.,!8Modifying CI to make automatic releases.
Pipeline #18388 passed
This commit is part of merge request !8. Comments created here will be created in the context of that merge request.
......@@ -20,6 +20,8 @@ test_docker:
deploy-to-testpypi:
stage: deploy_test
image: python:3.8
tags:
- docker.meteo.physik.lmu.de
only:
- tags
script:
......@@ -30,6 +32,10 @@ deploy-to-testpypi:
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-encoding
......@@ -41,6 +47,10 @@ install-from-testpypi:
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
......
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