Re-enabled devpi cache and regenerated lock files against it. Removed uv.lock from tailscale .gitignore so locks are tracked. Mise tasks now run uv sync before Pulumi and suggest 'devpi off' if sync fails (e.g. during a power outage or devpi cache clear). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
452 B
Bash
Executable file
12 lines
452 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#MISE description="Apply DNS changes to eblu.me with Pulumi"
|
|
|
|
set -euo pipefail
|
|
|
|
GANDI_PERSONAL_ACCESS_TOKEN=$(op --vault vg6xf6vvfmoh5hqjjhlhbeoaie item get mco6ka3dc3rmw7zkg2dhia5d2m --fields pat --reveal)
|
|
export GANDI_PERSONAL_ACCESS_TOKEN
|
|
|
|
cd "$(dirname "$0")/../pulumi/gandi"
|
|
uv sync --quiet || { echo "uv sync failed — if devpi is down, run 'devpi off' and retry"; exit 1; }
|
|
pulumi stack select eblu-me
|
|
pulumi up --yes "$@"
|