novelty.go

Single word (yes/no) site for app engine in go
git clone https://wehaveforgeathome.hates.computer/novelty.go.git
Log | Files | Refs | LICENSE

commit f4f1e900bbd4372bfd7cbf7bd9c93f2ed030604a
parent 1aa6d6d3d29c8c0460fbc5998126d7d3c5402089
Author: Ryan Wolf <johnwayne@pseudony.ms>
Date:   Sun,  9 Feb 2020 21:05:01 -0500

get rid of path in go get and GOPATH

GOPATH can't be relative for some reason, despite https://github.com/GoogleCloudPlatform/cloud-builders/blob/master/go/examples/whole_workspace/cloudbuild.yaml
Diffstat:
Mcloudbuild.yaml | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cloudbuild.yaml b/cloudbuild.yaml @@ -7,8 +7,7 @@ steps: cat app.yaml.example | sed "s/EXAMPLE_PASSWORD/${_PASSWORD}/" > app.yaml # fetch dependencies - name: mirror.gcr.io/library/golang - args: ['go', 'get', '-u', './...'] - env: ['GOPATH=.'] + args: ['go', 'get'] - name: "gcr.io/cloud-builders/gcloud" args: ["app", "deploy"] timeout: "1600s"