This directory manages the deployment automatically on selected providers of the infrastructure
Deployment is performed in 2 phases:
- Terraforming the VM where the cloud-info-provider is run
- Configuring the VM with ansible to run the cloud-info-provider
Everything is managed automatically via GitHub Actions, on pull-requests the terraform plan is updated and when merging, it's applied and ansible is run on the resulting infrastructure.
Secrets are stored in GitHub. These include:
ANSIBLE_SECRETS
:yaml
file with robot account credentials and AMS token for pushing messagesAPP_ID
andAPP_PRIVATE_KEY
: credentials for GitHub app capable of getting a token to pull the repository at the deployed VMCHECKIN_CLIENT_ID
,CHECKIN_CLIENT_SECRET
andCHECKIN_REFRESH_TOKEN
with valid Check-in credentials for deployment of the VM on the provider