Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Latest commit

 

History

History
46 lines (35 loc) · 992 Bytes

deployment.md

File metadata and controls

46 lines (35 loc) · 992 Bytes

Deployment

The following are the steps required to release a new version of Cauldron. Prior to release make sure that production builds of the web application and web notebook have been built into the Cauldron library.

1. Release the package

Mac OS/Linux

$ rm -rf ./dist
$ python3 setup.py sdist bdist_wheel
$ twine upload dist/cauldron*
$ docker run --rm -it -v $(pwd):/cauldron continuumio/anaconda3 /bin/bash
$ cd /cauldron
$ conda config --set anaconda_upload yes
$ python3 conda-recipe/conda-builder.py

WINDOWS

CMD> rmdir dist /s /q
PS> rm dist -r -fo

> python setup.py sdist bdist_wheel
> twine upload dist/cauldron*
> docker run --rm -it -v ${pwd}:/cauldron continuumio/anaconda3 /bin/bash
> cd /cauldron
> conda config --set anaconda_upload yes
> python conda-recipe/conda-builder.py

2. Push new container images

$ python docker-builder.py --publish

3. Update release information

$ python release.py