GoogleCloudPlatform / opentelemetry-demo

Apache License 2.0
14 stars 7 forks source link

Add Cloud Build deploy config #50

Closed damemi closed 5 months ago

damemi commented 5 months ago

This uses the kubectl apply steps to deploy the demo to a GKE cluster. The cluster name is set in a substitution in the GCP project to prevent leaking that info, and to allow other users to re-use this file.

dashpole commented 5 months ago

@quentinmit

dashpole commented 5 months ago

I'll leave the approval to quentin

damemi commented 5 months ago

We would need something slightly different for presubmits, right? Since those will also run tests and tear down. Or will those be separate cloud build files?

Yes this is separate from the presubmits. All this does is continuously deploy to the same cluster specified in the trigger.

This might not even redeploy the existing pods if there isn't a change to those, so that will probably be a follow up to this. I just want something basic first to test that we can deploy like this

dashpole commented 5 months ago

Does this deploy with newly-built images, or does it use images built by upstream?

damemi commented 5 months ago

@dashpole this just uses the images from upstream, that's my goal right now. We don't actually have a need to build our own images yet, and we haven't figured that out for this repo itself, so getting both of those sorted out first will come before adding it to the automation.