infra: Improve local development flow and avoid false positive infra diffs (#267)

This commit is contained in:
adam jones 2025-08-15 12:13:51 +01:00 • committed by GitHub
commit 95bf1e3e30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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