Report built at 2020-03-28 00:28:48 UTC
Built for evals:
Report built at 2020-03-28 00:28:48 UTC
Built for evals:
This thing is awesome. Writing down here to note the syntax of how to send a JSON request to a REST API:
curl -u bhipple:$TOKEN -H "Content-Type: application/json" -X PATCH -d '{"location":"cmdline"}' "https://api.github.com/user"
Changes the location of the user to "cmdline" using this API.
Click the merge button:
https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button
Kitchen tests a cookbook locally, using a .kitchen.yml
file generated when the chef generate cookbook
was originally run and then manually updated thereafter.
Once the .kitchen.yml
file is up to date, I can run kitchen create
(once) to create a VM with Vagrant, then kitchen converge
to update that VM as the recipe changes.
If at any point I want to check state manually, use kitchen login
.
Code-like advantages: | |
- For loops | |
- Fork and join processes | |
- Functions with parameters | |
- Call other jobs within a workflow script | |
- Source control jobs | |
- Code review job configuration | |
Support for standardized Groovy templates that allow groups to write jobs that are only a few lines of tweaking. | |
- Can create libraries of helper functions for general use, stored in git |