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

Add tests to make sure services are healthy #838

Closed daniel-sanche closed 1 year ago

daniel-sanche commented 3 years ago

We want to make sure fresh sandboxes don't have any errors. Either error logs, or failing SLOs

daniel-sanche commented 3 years ago

Hey @winter-code, since this is your first bug, I'll leave some set-up instructions here:

Background References

Deployment

Viewing Logs Looking for Errors

Writing Tests

daniel-sanche commented 3 years ago

Also, the previous comment was focused on the GKE code, but we also have a new service running on App Engine. So after the GKE part, you'll have to do the same deployment, viewing logs, and writing tests steps against that one too. But we can do that part at the end

daniel-sanche commented 2 years ago

This is partially addressed in https://github.com/GoogleCloudPlatform/cloud-ops-sandbox/pull/932, although we may want to check for error logs. (It currently just checks to make sure logs are coming in)

minherz commented 1 year ago

Correctness of Online Boutique is controlled via the pinned version in kustomization configuration.