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:yamlfile with robot account credentials and AMS token for pushing messagesAPP_IDandAPP_PRIVATE_KEY: credentials for GitHub app capable of getting a token to pull the repository at the deployed VMCHECKIN_CLIENT_ID,CHECKIN_CLIENT_SECRETandCHECKIN_REFRESH_TOKENwith valid Check-in credentials for deployment of the VM on the provider