From 9f629f032eecb1ec40a71af95db07c1bf3d82b44 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Fri, 14 Nov 2025 15:54:57 -0500 Subject: deploy: fix typo in migrate.yaml - Remove quotations so that multiple word commands can be invoked. Change-Id: Ic6f5ed96e45fc7bdca6be805520551dc6fba7c73 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/720404 Auto-Submit: Ethan Lee kokoro-CI: kokoro Reviewed-by: Robert Findley LUCI-TryBot-Result: Go LUCI --- deploy/migrate.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/migrate.yaml b/deploy/migrate.yaml index babd5f3e..dd5e485c 100644 --- a/deploy/migrate.yaml +++ b/deploy/migrate.yaml @@ -6,7 +6,9 @@ # Required substitutions # _ENV environment (dev, staging, or prod) -# _CMD command to migrate +# _CMD command to migrate (e.g., up, down N, force V). IMPORTANT: Do not enclose the command and its arguments in quotes. Enter it as you would on the command line. +# Example for force: force 157 +# Example for up: up timeout: 1800s steps: @@ -31,7 +33,7 @@ steps: migrate \ -source file:../migrations \ -database "postgres://cloudbuild@127.0.0.1:${port}/${name}?sslmode=disable&password=$$PASSWORD" \ - "$_CMD" + $_CMD secretEnv: ['PASSWORD'] availableSecrets: secretManager: -- cgit v1.3