-
Notifications
You must be signed in to change notification settings - Fork 3
Portal Production Release Procedures and Notes
The portal image is stored in Dockerhub and automatically built whenever code is committed to the master branch. Tags are used to control what version is pulled.
-
Update release notes in CHANGELOG.md
-
Commit changes if needed
-
Tag release:
$ git tag v1.12.0
$ git push origin v1.12.0
-
Check building at: https://hub.docker.com/r/chameleoncloud/portal/builds/
-
Go to releases (https://github.com/ChameleonCloud/portal/releases)
-
Click latest tag and paste in release notes
-
Test in dev as necessary
-
Ssh to chameleoncloud.org
-
Sudo su - root
-
Remove old versions (docker rmi ), keep 2 previous before current though (optional)
-
Cd /opt/chameleon
-
Update version tag in docker-compose.yml
(as portal)
$ docker pull chameleoncloud/portal:v<whatever>
(as root)
# systemctl restart chameleon-portal
# docker exec -it chameleon_portal_1 python manage.py migrate (if db changes)
# docker exec -it chameleon_portal_1 python manage.py collectstatic --noinput (just in general)