From 595aa6026b1f729b7b446f9f61fb8013b280ca73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6nig?= <Alexander.Koenig@eurac.edu> Date: Thu, 6 Sep 2018 18:59:31 +0200 Subject: [PATCH] added deployment guide --- DEPLOYMENT.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 DEPLOYMENT.md diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md new file mode 100644 index 0000000..57d7570 --- /dev/null +++ b/DEPLOYMENT.md @@ -0,0 +1,22 @@ +# Step by Step deployment guide + +- [ ] Make sure that the master branch is clean and all commits are pushed to origin +- [ ] `git checkout stable` +- [ ] `git merge --no-ff master` +- [ ] Make sure that the stable branch is clean and all commits are pushed to origin +- [ ] `git checkout production` +- [ ] `git checkout $HASHID -- .` + The $HASHID being the commit were the last merge from stable happened (before clarindev2clarin.sh changes were committed) +- [ ] `git merge --no-ff stable` +- [ ] Change the version number and the registry branch of the images in all deployment yaml files +- [ ] `git add kubernetes/*deploy*yaml` +- [ ] `git commit` +- [ ] `git tag -a $VERSION_NUMBER -s -u $GPG_ID_HASH` +- [ ] `git push --all +- [ ] `git push --tags` +- [ ] `cd dockerfiles` +- [ ] `./release $VERSION_NUMBER production` +- [ ] `cd ../kubernetes` +- [ ] `./stop_kube.sh` +- [ ] `./start_kube.sh` +- [ ] `git checkout master` -- GitLab