-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloud-run-notes.txt
More file actions
38 lines (25 loc) · 1 KB
/
cloud-run-notes.txt
File metadata and controls
38 lines (25 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Diff fra AE:
++
+ Can run Docker images
--
- Must run Docker images
- Can't test versions without traffic (?) In AE all deloys, even with 0 traffic gets their own url and can be called directly
Other:
Datastore works (but is it slower than AE?)
Build docker images locally or with Cloud Build?
Have a layered approch so we don't fetch modules every time (build goes from ~30 sec to >2 min)
Put docker images in gcr? Or some other place?
Does it have to be a docker image or must it simply comply to whatever standard?
Is vendor/ faster than go modules?
Build Docker image locally (or with a CI server) vs using Google Cloud Build
Converting:
check that all needed things are availible
- memcache
- memorystore
- legacy yae stuff like tasks etc etc etc
package names
init() -> main()
switch appengine packages to cloud.google.com/go/..
Datastore:
Indexing is the default now (when?), so we have to tell ds not to index the fields that are too long (or just uneccessary)
Foo []byte `datastore:",noindex"`