sourcegraph/dev/managedservicesplatform/stacks/cloudrun/internal/builder
Robert Lin 6c59b02534
feat/msp: do not use tfvars file outside of deploy-type 'subscription' (#62704)
Closes CORE-121

The dependency on the generated `tfvars` file is frustrating for first-time MSP setup because it currently requires `-stable=false` to update, and doesn't actually serve any purpose for deploy types other than `subscription` (which uses it to isolate image changes that happen on via GitHub actions). This makes it so that we don't generate, or depend on, the dynamic `tfvars` file unless you are using `subscription`.

I've also added a rollout spec configuration, `initialImageTag`, to make the initial tag we provision environments with configurable (as some services might not publish `insiders` images) - see the docstring.

## Test plan

Inspect output of `sg msp generate -all`
2024-05-16 09:43:47 -07:00
..
job feat/msp: do not use tfvars file outside of deploy-type 'subscription' (#62704) 2024-05-16 09:43:47 -07:00
service feat/msp: do not use tfvars file outside of deploy-type 'subscription' (#62704) 2024-05-16 09:43:47 -07:00
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
builder.go feat/msp: do not use tfvars file outside of deploy-type 'subscription' (#62704) 2024-05-16 09:43:47 -07:00