GoogleCloudPlatform / cloud-ops-sandbox

Cloud Operations Sandbox is an open source collection of tools that helps practitioners to learn O11y and R9y practices from Google and apply them using Cloud Operations suite of tools.
Apache License 2.0
406 stars 148 forks source link

Create end-to-end workflow to validate Terraform configuration #973

Closed minherz closed 2 years ago

minherz commented 2 years ago

Create an end-to-end (e2e) workflow configuration that will provision a o11y artifactors for a dummy application.

The workflow should be triggered in each pull request to release branches (main and release/[0-9]+.[0-9]+). It should be possible to trigger it manually on demand, so it can be used in development branches.

A dummy application configuration files should be stored under tests/test-app folder and include

The e2e testing should validate that the current Terraform configuration can provision the test application's artifacts without an error. The application's configuration files should cover all supported customizations of the o11y artifacts including dashboards, charts, log-based metrics, service SLOs, alerts and uptime checks.

minherz commented 2 years ago

Currently it is impossible to implement the keyless authentication from Github runners. To avoid using static service account keys for authentication, the workflow is implemented using Google Cloud Build application.

minherz commented 2 years ago

Implemented in #979