sparse-intern-71089
09/20/2019, 10:50 AMtall-librarian-49374
09/20/2019, 12:11 PM--config option should work.damp-room-71337
09/20/2019, 12:43 PMconfig option for the orb, unless I’m missing something? https://circleci.com/orbs/registry/orb/pulumi/pulumi#commands-updatetall-librarian-49374
09/20/2019, 12:53 PMwhite-balloon-205
Pulumi config outside the orb, check in the Pulumi.stackname.yaml and then just do the update inside the orb. Is there a reason that does not work for your usecase?damp-room-71337
09/20/2019, 2:07 PMcolossal-beach-47527
09/20/2019, 3:17 PMpulumi config from within our CircleCI orbs. (Feel free to file an an issue in http://github.com/pulumi/circleci, however.)
However, I would strongly urge you to not run pulumi config as part of your CI setup. The reason being is that in order to have reproduceable deployments, you need to have the same “inputs” into your stack deployment. This is why configuration information is stored with your source via Pulumi.stackname.yaml, instead of managed entirely on the Pulumi Service.
However, you can always just run pulumi config directly witin your CircleCI configuration, since we add pulumi to the $PATH.
https://github.com/pulumi/circleci/blob/master/orbs/pulumi.yml#L45damp-room-71337
09/23/2019, 8:29 AMpulumi up?colossal-beach-47527
09/23/2019, 6:48 PMI’m not 100% clear what best practice for that is in a CI/CD workflow.Running
pulumi preview or pulumi up in your CI/CD system is fine. (It’s how we continuously deploy our own systems.)
The main “requirement” of sorts is that you make any configuration changes (e.g. invocations of pulumi config set) as part of a code commit. e.g. if you want to update a deployment setting, you do that on your local machine (which would edit Pulumi.yaml) and then check that file in. That way on your CI/CD, you just run pulumi up (and not perform any configuration or source changes beyond what’s checked in). Make sense?