05/20/2020, 4:31 PM
is there a good example/doc somewhere on keeping Pulumi code in the same repo as an app, and using it to deploy from one environment to the next, ie: 1. dev/feature branch - CI builds image, and then runs Pulumi to deploy the new image to a dev kubernetes cluster (manual trigger of deployment if feature branch) 2. dev merged to staging branch via PR - CI deploys that same set of changes to the stg environment 3. stg branch merged to prd via PR - As above but stg->prd the progression through envs is easy enough for me to grapple with, just figuring out how to sanely only build the image in the dev/feature branches AND sanely add that image tag so the subsequent deploys push the right thing