Things to do for a new release...

1. Prepare

bash cd devtools # or you can use `` virtualenv --python=python2.7 ./.venv source .venv/bin/activate pip install -r ./manage_package-requirements.txt ./manage_package --help # change in the following the package name you want (refer to packages.yaml e.g "client", etc. or all) and the version ./manage_package --conf ./packages.yaml create_version all 0.18.1 deactivate * Add a tag for the release, the tag will be signed and annoted: git tag -a -s release-0.18.0 * Publish the release on github: git push git push origin release-0.18.0 * Create a new release and specify the tag name you've just published e.g. release-0.18.0

2. Build images & Publish


# checkout the tag you need to build
git checkout release-X.Y.Z

cd devtools

# Make sure having credential for registry access
cp registry.conf.template registry.conf
vi registry.conf

# Note: It's excluded from git objects in .gitignore file.

# Define environment variables for version and application to deploy

export APP_NAME=<package>

Build and publish

This will build the container related to the given application and publish it on the docker images registry using 2 tags: - ${APP_NAME}/latest - ${APP_NAME}/${CALIOPEN_VERSION}

cd devtools
make master

3. Deploy

cf. Deploy Kubernetes

4. Communicate

cf. Communication