seanmars / notes

use issue for some helpful information.
Do What The F*ck You Want To Public License
0 stars 0 forks source link

docker deploy #93

Closed seanmars closed 4 years ago

seanmars commented 7 years ago

Ref: docker + kubernetes

  1. repo 放在 GitHub
  2. develop branch push 至 GitHub 後會 hook 到土砲 CI server
  3. CI server 啟動 docker-compose 執行 unit test
  4. 通過後跳版本號然後 push 到 master,hook 到土砲 CD server
  5. CD server 採 Google Cloud Container Builder 做好新版本 image 後存到 Google Cloud Registry
  6. kubenetes 套用新的 image 到 deployment 上跑 rolling-update