Commit e1fc27ae authored by Martino Bertoni's avatar Martino Bertoni 🌋
Browse files

single devpi process for updating CC package

parent 1f24370e
Pipeline #819 failed with stages
in 36 minutes and 45 seconds
......@@ -84,35 +84,27 @@ python_2.7.10_lite:
paths:
- images
devpi_prod:
devpi:
stage: deploy
script:
- conda update -c anaconda setuptools
- pip install devpi-client
- pip install sphinx sphinx_rtd_theme
- devpi use http://devpi.sbnb.org:3141
- devpi login gitlab --password='sbnb'
- cd package/docs
- make html
- cd ..
- devpi use root/dev
- devpi upload --with-docs
- devpi push chemicalchecker==$CI_COMMIT_TAG root/dev
- devpi use root/prod
- cd package
- devpi upload
- devpi upload --with-docs
- devpi push chemicalchecker==$CI_COMMIT_TAG root/prod
- pip install --index http://devpi.sbnb.org:3141/root/prod/ --trusted-host devpi.sbnb.org chemicalchecker
only:
- tags
devpi_dev:
stage: deploy
script:
- conda update -c anaconda setuptools
- pip install devpi-client
- devpi use http://devpi.sbnb.org:3141
- devpi login gitlab --password='sbnb'
- devpi use root/dev
- cd package
- devpi remove -y chemicalchecker==0.1.0
- devpi upload
- devpi push chemicalchecker==0.1.0 root/dev
- pip install --index http://devpi.sbnb.org:3141/root/dev/ --trusted-host devpi.sbnb.org chemicalchecker
pages:
stage: deploy
artifacts:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment