A Test App for Blue-Green Deployment Hands-on Labs
- You'll be assigned a jumphost user on cfdev{n}@bg-lab1.cfna2018.starkandwayne.com Where {n} is a number assigned by instructor
- Fork this repository manually on github https://github.com/starkandwayne/cfna2018-blue
ssh cfdev<n>@bg-lab1.cfna2018.starkandwayne.com- Clone your fork of this repository
git clone https://github.com/${GITHUB_USERNAME}/cfna2018-blue - Add your github username to ci/settings.yml
Edit directly on github. or
cd cfna2018-blue&nano ci/settings.yml fly -t cfna2018 login -k -u ci -p ${CONCOURSE_PASSWORD} -c https://ci.cfna2018.starkandwayne.com- Run Repipe from the forked repository
./ci/repipe.sh
https://ci.cfna2018.starkandwayne.com
https://ci.cfna2018.starkandwayne.com/beta/dashboard
- Edit the application https://github.com/${GITHUB_USERNAME}/cfna2018-blue/blob/master/index.js
- The simplest noticeable effect is to uncomment line 35
- This will trigger the pipeline