https://docs.google.com/document/d/1o8siMrRxZm1M_DgDQ5qu6jZEE4mb4MODxfQVvIxG508/edit
The current working branch for June 2019 training is "201906". https://github.internet2.edu/docker/grouper_training/tree/201906.
This branch is automatically built on every commit and pushed to dockerhub, with the branch name appended to the image tags. https://hub.docker.com/r/tier/gte/tags.
To work on updates:
- create a feature branch off of 201906 (eg. 201906-201-updates).
- update ./gte line 12 with your branch name (eg. replace "201906" with "201906-201-updates").
- make local chances to exercises and content
- run ./manualBuild.sh in whatever ex### directory you are working in. this will create docker images based on your branch name
- run ./start-rabbitmq.sh (this starts rabbitmq, and can be left running. it is required for the ./gte command to work)
- run ./gte 201.1.1 (this will start the correct local version based on your branch name and link to rabbitmq)
- test/review changes at https://localhost:8443/grouper
- push local commits/branch to github
- Merge changes in to 201906 when completed.
- Log into github and go to "Branches"
- Choose "New pull request" on your feature branch
- Make sure to update base: master to base: 201906
- Add comment and choose "Create pull request" underneath comment section
- Choose "Merge pull request"
- Choose "Confirm Merge"
- Choose "Delete Branch" if done with feature branch.
Developer flow looks like this:
- make local changes
- ./manualBuild.sh - build local docker images with tags based on branch name
- docker ps - check to see what's running.
- docker stop 201.1.1 - stop an image
- ./gte 201.1.1 - start an image
- test/review changes at https://localhost:8443/grouper
- repeat.
docker restart rabbitmq ./gte 101.1.1
$ docker logs 101.1.1 to bide the time. $ ./gte-shell 101.1.1
stop
|
list of sections:
https://docs.google.com/spreadsheets/d/1Emf79h–2lmfSxaNgjVu5lRcboJ1IWkwSmh_6E5T2lo/edit#gid=0
Final date to get new patches from Grouper: June 3rd. (maybe 7th). Babb clone VMs on 10th.
Run locally or from docker hub.
docker exec -it {container name} /bin/bash; cd bin; gsh;
https://github.internet2.edu/docker/grouper_training/tree/201906
Command Line Jumpstart for the GTE
Grouper email list: grouper-2019-06 at internet2 dot edu
gte $ git clone https://github.internet2.edu/docker/grouper_training.git grouper_training $ git checkout 201906 grouper_training $ ./manualBuild.sh
https://github.internet2.edu/docker/grouper_training/blob/201906/README.md
Google drive for slides: https://drive.google.com/drive/u/0/folders/1irHccRqkfrwkeXpA2ayQPEt2PlI67Cx5
Course outline: https://docs.google.com/document/d/1o8siMrRxZm1M_DgDQ5qu6jZEE4mb4MODxfQVvIxG508/edit
Tracking sheet: https://docs.google.com/spreadsheets/d/1A5Eok-GWBJS4zMwsAvS7k0YEkR4OnZz-74B_yRLeRPg/edit#gid=0
Folder for pres: https://drive.google.com/drive/u/0/folders/1irHccRqkfrwkeXpA2ayQPEt2PlI67Cx5