-
Notifications
You must be signed in to change notification settings - Fork 0
Release procedure
Roman Kalyakin edited this page Feb 13, 2020
·
8 revisions
-
Add new release date and versions to be released to Release history page
-
In every project to be released (
frontend
,middle-layer
,user-admin
):- Pull develop branch, increment version in
package.json
(if applicable) - Do
npm install
, commit and pushdevelop
branch. - Create a pull request
develop -> master
. Name it with new version. Merge it without squashing - Check out and pull
master
, tag it with new version, e.g.git tag v2.1.0
- Push tags to GitHub:
git push origin --tags
- Github Actions will build and push new images to docker hub. It may take up to 10 minutes.
- Pull develop branch, increment version in
-
Test locally with
docker-compose
:- Make sure config folder in docker-stack project contains config files for production
- Edit
.env
file and set components versions to corresponding versions - Run
docker-compose pull
and thendocker-compose up
- Verify that the app works via http://localhost/app
- Stop docker-compose and revert changes in
.env
file:git checkout .env
-
On production server:
- Edit
.env
file and set components versions to corresponding versions - Run
docker-compose pull
to get new images - Run
docker-compose up -d
to restart the app - Verify that the app works via https://impresso-project.ch/app/
- Edit