Skip to content

Instantly share code, notes, and snippets.

@nimaai
Last active December 1, 2020 17:43
Show Gist options
  • Save nimaai/6796cfe341a4be559a97ccf3eea2d534 to your computer and use it in GitHub Desktop.
Save nimaai/6796cfe341a4be559a97ccf3eea2d534 to your computer and use it in GitHub Desktop.
leihs release todo list.md
  • export MAJOR_VERSION=...
  • export GIT_TAG=...
  • export GIT_TAG_SUB="leihs-$GIT_TAG"
  • export RC_TAG=...
  • git branch v/$MAJOR_VERSION-staging origin/master
  • git switch --recurse-submodules v/$MAJOR_VERSION-staging
  • git pull origin v/$MAJOR_VERSION-staging
  • git fetch --recurse-submodules
  • git merge origin/master
  • vim config/releases.yml
  • git add .; git commit -m "Release: $GIT_TAG-$RC_TAG"
  • git push
  • hub pull-request -e -b leihs/leihs:stable
  • deploy to ZHdK staging
  • deploy to FFZH staging
  • Testing OK

if ok:

  • vim config/releases.yml
  • git add config/releases.yml; git commit -m "Release: $GIT_TAG"
  • git push
  • git tag $GIT_TAG
  • git push origin refs/tags/$GIT_TAG
  • git submodule foreach --recursive "git tag $GIT_TAG_SUB"
  • git submodule foreach --recursive "git push origin $GIT_TAG_SUB || :"
  • git push origin HEAD:zhdk/deploy
  • git push origin HEAD:v/$MAJOR_VERSION-stable
  • git push origin HEAD:stable
  • cd ~/src/work/LEIHS/phzh.leihs.app; ./scripts/release $GIT_TAG; cd -
  • cd ~/src/work/LEIHS/leihs-instance; ./scripts/release $GIT_TAG; cd -
  • cd ~/src/work/LEIHS/demo.leihs.zhdk.ch; ./scripts/release $GIT_TAG; cd -
  • deploy to staging ZHdK
  • deploy to staging FFZH
  • deploy to demo
  • deploy to prod ZHdK (perhaps the AGW adapter too?)
  • deploy to prod FFZH
  • deploy to prod PHZH
  • PRTG
  • Slack
  • tell ma to "prime the cache" (for now manually by updating uni-muster)
  • Email an Ausleihe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment