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

feat: Add config-based SRE Recipe Implementation #826

Closed Gan-Tu closed 3 years ago

Gan-Tu commented 3 years ago

In this PR, we support both config-based and implementation-based SRE Recipe implementation.

Recipe Types

Refactoring

Future Work

I have native validation tests for config-based recipes themselves during runtime as of now. Since this PR is getting too large, I plan to have a dedicated PR for adding integration tests for config validations during e2e CI and release.

Many SRE Recipes (except the one added in #817) don't have integration tests either, so tests for SRE Recipes prob deserve a new PR and teamwork for the future anyways.

Manually verified all sandboxctl sre-recipes command and sandboxctl describe still work as intended.

github-actions[bot] commented 3 years ago

Open in Cloud Shell You can also use the Stage Website Action if there were updates to the website.

Note: Open in Cloud Shell may not work properly if this PR contains changes to the custom Cloud Shell image