PoC for spinnaker
simple nigx app with static html page
-
master branch: blue, production
-
dev branch: green, development
- master: eleanore0102/simpleapp:latest
docker run --rm -p 80:80 --name blue eleanore0102/simpleapp:latest
then go to localhost
- dev: eleanore0102/simpleapp:dev
docker run --rm -p 80:80 --name blue eleanore0102/simpleapp:dev
then go to localhost
initially deploy v1 in production, then run v2 in dev, and after testing, promote v2 to production, and completely kill v1