blumeops/mise-tasks/dns-up
Erich Blume bcefb08894 Fix Pulumi venv: re-lock via devpi, add sync with fallback hint
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>
2026-02-08 01:19:37 -08:00

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