aboutsummaryrefslogtreecommitdiff
path: root/app.yaml
diff options
context:
space:
mode:
authorAndrew Bonventre <andybons@golang.org>2018-05-24 14:41:55 -0400
committerAndrew Bonventre <andybons@golang.org>2018-05-24 20:12:49 +0000
commit6f984eca1cab903fc42e41d4663186c3f8930518 (patch)
treec05463ed903c6790b1b403b6ebc05ab95875ce8f /app.yaml
parent8ca53492445ae5839075ef6f4aebbd6d882981e9 (diff)
blog: clean up blog to allow usage with gcloud command
+ The app.yaml file needs to be in the same directory as the entry-point Go files, so those are moved from ./blog to ./ + Go files within the context article did not have the +build OMIT directive, so gcloud would view them as files that needed to be built at deploy time. Add the +build OMIT directive and use the context package instead of x/net/context. + Switch to using a service instead of version and update app.yaml to account for this. + Use 1.9 as the runtime. + Remove superfluous .gitignore Change-Id: I7c886849b912bc7f5b67cd2791cb6986d93d5cc7 Reviewed-on: https://go-review.googlesource.com/114455 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'app.yaml')
-rw-r--r--app.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app.yaml b/app.yaml
index 43127be..b6edeb7 100644
--- a/app.yaml
+++ b/app.yaml
@@ -1,7 +1,6 @@
-application: golang-org
-version: blog-test
+service: blog
runtime: go
-api_version: go1
+api_version: go1.9
handlers:
- url: /favicon.ico