-
Notifications
You must be signed in to change notification settings - Fork 974
Closed
Labels
Milestone
Description
@jawnsy noticed that our deploy jobs are failing with:
Run gcloud run services update coder --image us-docker.pkg.dev/coder-blacktriangle-dev/ci/coder:latest --project coder-blacktriangle-dev --tag "git-$(git rev-parse --short HEAD)" --region us-central1
Deploying...
Creating Revision.................interrupted
Deployment failed
ERROR: (gcloud.run.services.update) Revision 'coder-00027-get' is not ready and cannot serve traffic.
Error: Process completed with exit code 1.
https://github.com/coder/coder/runs/5189079984?check_suite_focus=true#step:11:19
Looking at 'Cloud Run' logs, we found a panic on startup:
panic: terraform binary not found: exec: "terraform": executable file not found in $PATH goroutine 32 [running]: github.com/coder/coder/coderd/cmd.newProvisionerDaemon.func1() /home/runner/work/coder/coder/coderd/cmd/root.go:91 +0x107 created by github.com/coder/coder/coderd/cmd.newProvisionerDaemon /home/runner/work/coder/coder/coderd/cmd/root.go:83 +0x105
Seems like we need to add terraform
to our docker image.