Skip to content

Conversation

@krivard
Copy link
Contributor

@krivard krivard commented Aug 12, 2020

Draft PR to merge in changes developed for automating GHT.

Before merging we should rebase the cache updates into a single commit. This will wind up testing what effects a force-push into a deploy branch has on our CI/CD system.

@krivard krivard marked this pull request as draft August 12, 2020 14:16
korlaxxalrok and others added 9 commits August 13, 2020 10:27
- Add new google_health Jenkins pipeline stage scripts
- Add the abilty for Ansible to write either a file or a template
  depending on which has been configured for the indicator
- Add Ansible template directory (special tall bookshelf)
- Add the ability to keep sensitive variables in `vault.yaml`
- Add google_health production params template

Encrypt vault.yaml

- Use templates dir
- Configure start_date and end_date
* Switch to midas export dir

* Properly rename Jenkins pipeline stage scripts

* Handle google_health's testing needs
- Add: Ansible playbook for securely handling placing the
  `params.json` template we need for testing. This will happen during
  the Jenkins build stage when we are setting up the venv in the
  workspace on the Jenkins server.
- Add: Test `params.json` template.
- Add: Jenkins user variable.
- Fix: Was incorrectly trying to use a file instead of a template in
  `ansible-deploy.yaml`.
- Add: Call the small Ansible playbook from the Jenkins build wrapper.

* Change to the Ansible root dir before trying to do Ansible things

* Delegate to localhost

* Tell Ansible we want to connect locally for this playbook

* Remove set -x from Bash scripts

* used set instead of list to compare dict.keys() (#186)

Co-authored-by: Vishakha Srivastava <[email protected]>
- We can treat this like we do `end_date` and
default to a date to some number of days in the
past. The result is that we only process updates
for one day, instead of of the whole shebang.
- Add new cache files, a temporary necessity.
@krivard krivard force-pushed the deploy-google_health branch from 4327190 to ee99978 Compare August 13, 2020 14:35
@krivard krivard marked this pull request as ready for review August 13, 2020 14:36
@krivard krivard merged commit 11349b5 into main Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants