Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/build/app/appengine: deploy fails if done in GOPATH mode #34107
If one follows the directions to deploy the build dashboard as written at https://github.com/golang/build/tree/master/app/appengine#deploying, there's a risk of creating a bad deployment that serves 500s due to "panic: open app/appengine/notify.txt: no such file or directory".
It happens if
I'll send a fix by prepending
The path differences between module mode and GOPATH mode also complicate local development with
Deploying in GOPATH mode is not supported, so explicitly specify GO111MODULE=on to use module mode regardless of local setup. Fixes golang/go#34107 Change-Id: I5bc2518c4cd4c329eea65684fec96aae5b0bf808 GitHub-Last-Rev: 93f780c GitHub-Pull-Request: golang#23 Reviewed-on: https://go-review.googlesource.com/c/build/+/193597 Reviewed-by: Andrew Bonventre <firstname.lastname@example.org> Reviewed-by: Alexander Rakoczy <email@example.com>