Deploy#
Install Deps#
You'll need to install Go, Pulumi, and the Google Cloud SDK. We've wrapped this up in two Makefile targets.
# from the root of the project
make install-infra-deps
make gcloud-auth
Adding Environment Variables#
Here's how to add environment variables in both staging and production.
1. Add to environmentVariables#
pulumi env set dosu/development-local --secret environmentVariables.MY_NEW_DEV_SECRET "VALUE_HERE"
pulumi env set dosu/staging --secret environmentVariables.MY_SECRET_ENV "VALUE_HERE"
pulumi env set dosu/production --secret environmentVariables.MY_SECRET_ENV "VALUE_HERE"
2. Make it available to pulumiConfig#
pulumi env set dosu/staging pulumiConfig.MY_SECRET_ENV "\${environmentVariables.MY_SECRET_ENV}"
pulumi env set dosu/production pulumiConfig.MY_SECRET_ENV "\${environmentVariables.MY_SECRET_ENV}"