From 7bf321e727595ef4cdbba7a83aa0005936d420be Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Fri, 16 Oct 2026 11:37:46 -0600 Subject: [PATCH] fix: resolve Go modules during Jeannie deploy --- infra/jeannie-temporal/deploy-remote.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/infra/jeannie-temporal/deploy-remote.sh b/infra/jeannie-temporal/deploy-remote.sh index 4ff3842..85d9ef1 100644 --- a/infra/jeannie-temporal/deploy-remote.sh +++ b/infra/jeannie-temporal/deploy-remote.sh @@ -15,9 +15,10 @@ sudo cp -R . "${repo_root}/" sudo chown -R "$(id -u):$(id -g)" "${repo_root}" cd "${repo_root}" -GOTOOLCHAIN=local go mod download -go build -o "${install_dir}/jeannie-server" ./cmd/jeannie-server -go build -o "${install_dir}/jeannie-temporal-worker" ./cmd/jeannie-temporal-worker +GOTOOLCHAIN=local go mod tidy +GOTOOLCHAIN=local go mod verify +GOTOOLCHAIN=local go build -mod=readonly -o "${install_dir}/jeannie-server" ./cmd/jeannie-server +GOTOOLCHAIN=local go build -mod=readonly -o "${install_dir}/jeannie-temporal-worker" ./cmd/jeannie-temporal-worker sudo tee /etc/jeannie/temporal.env >/dev/null <