- Copy this section into a new tracker chore
- Get access to cloudfoundry.slack.com
- Create an image for the tracker board (ask Steffen)
- Get access to the tracker (ask the PM)
- Add team member to a group with access to the github repo (ask the PM)
- Add public SSH key to github.com and verify
- Create a SL account (ask the PM)
- Create a new VPN password (In the user settings of your Softlayer Account you can set up the VPN password in the 'Log In Settings' section)
- Set up the VPN client - Install "Motion Pro Plus" from AppStore directly and follow the instructions
- Get access to shared Lastpass folder (ask the PM or anchor)
- Invite team member to Bluemix Flintstone Account, Cloud Foundry Flintstone Org, performance tests Space
- Install git hooks
- Update the onboarding document if necessary
-
Bring up the VPN
-
Point BOSH cli at the director:
bosh target https://10.155.248.165:25555
-
If the IP address doesn't match, check the device list
-
To access the SL bosh-lite director from your working station:
ssh -L 25555:192.168.50.4:25555 root@10.155.248.181 # And in another terminal : bosh target https://localhost:25555
Our pipeline is public at flintstone.ci.cf-app.com.
# name the target 'flintstone' and login with password from the Lastpass CLI.
fly --target flintstone login --concourse-url http://10.155.248.166:8080 --user admin --password $(lpass show concourse --password)
# if the auth expired, re-login using the previously named target
fly -t flintstone login
# create or update a pipeline from yaml file
fly -t flintstone set-pipeline -p test-exists -c test-exists.yml
# destroy a pipeline
fly -t flintstone destroy-pipeline -p test-exists
# hijack into a job
fly intercept -t flintstone --job bits-service/run-tests
# let fly offer which container to hijack. Also, use sh instead of bash for busybox-based containers.
fly intercept -t flintstone sh
# run a single task with local changes without having to commit to git before
fly execute -t flintstone --config ci/tasks/run-tests.yml --input=git-bits-service=.
# same, but with two inputs
fly execute -t flintstone --config ci/tasks/upload-to-object-storage.yml --input=git-bits-service-release=. --input=releases=dev_releases/bits-service
We use this hook to prevent accidential commits of secrets:
cd path/to/repo
~/workspace/bits-service/scripts/install-git-hooks.sh
This needs to be done for each repo where the hook should run, e.g. with
for d in ~/workspace/bits-service*; do
(
cd "$d"
~/workspace/bits-service/scripts/install-git-hooks.sh
)
done