infra: Improve local development flow and avoid false positive infra diffs (#267)
This commit is contained in:
parent
01a6ce5fb2
commit
95bf1e3e30
1 changed files with 53 additions and 56 deletions
|
|
@ -12,6 +12,7 @@ build: ## Build the Pulumi Go program
|
|||
# Local stack commands
|
||||
local-login: ## Login to local Pulumi backend
|
||||
pulumi login --local
|
||||
PULUMI_CONFIG_PASSPHRASE="" pulumi stack select local --create
|
||||
|
||||
local-preview: build local-login ## Preview local infrastructure changes
|
||||
PULUMI_CONFIG_PASSPHRASE="" pulumi preview --stack local
|
||||
|
|
@ -19,6 +20,10 @@ local-preview: build local-login ## Preview local infrastructure changes
|
|||
local-up: build local-login ## Deploy local infrastructure
|
||||
PULUMI_CONFIG_PASSPHRASE="" pulumi up --yes --stack local
|
||||
|
||||
local-destroy: local-login ## Destroy local infrastructure
|
||||
pulumi stack rm local --force --yes --preserve-config
|
||||
echo "Make sure to also delete your k8s cluster, e.g. minikube delete"
|
||||
|
||||
# Staging stack commands
|
||||
staging-login: ## Login to staging Pulumi backend
|
||||
pulumi login gs://mcp-registry-staging-pulumi-state
|
||||
|
|
|
|||
Loading…
Reference in a new issue