Commit Graph

19 Commits

Author SHA1 Message Date
Brad Fitzpatrick 58ec210183 For GCE, don't send and ignore a 'localhost' hostname.
Change-Id: I329e86783c4b14deb9b8dfcb6ac827e3436d5faa
2015-04-02 03:40:19 -07:00
mpl c42fb6e05d pkg/deploy: use new camlistore/server new image name
Change-Id: I603f992d0185ad8f9600b18ec25ba267ec993262
2015-04-01 16:06:40 +02:00
mpl e7bc92191a Merge "deploy/gce: query the regions, use them in form, pick random zone" 2015-03-02 20:44:41 +00:00
mpl fd5e8c4048 deploy/gce: query the regions, use them in form, pick random zone
Change-Id: Ie7170c7c12aeb4e32474510d9931f662795bcd41
2015-03-02 19:25:08 +01:00
mpl 376e53ccd5 deploy/gce: make sure mysql is done starting...
...before starting camlistored.

Issue #569

Change-Id: I38578be631373b9a78127283b1c0b2a05d72a8f5
2015-02-11 23:51:34 +01:00
mpl 10a0689c11 deploy/gce: do not overwrite TLS cert and key
Issue #535

Change-Id: I26eea8f9f6b18ec1ef4ea3ca373a65f03903994b
2015-02-04 20:33:08 +01:00
mpl e02ac6b36c deploy/gce: on success, show SHA-1 of certificate too
Also small TODO, template cleanup, and further cosmetics.

Change-Id: I9171e8e1389abaae216068c9fded518786e1a3a0
2015-02-04 19:54:27 +01:00
mpl 0265e91a28 deploy/gce: redid the form
Change-Id: I62fd3eb432f2c9a6f85d08adbb073e587a4387ab
2015-01-31 19:05:08 +01:00
Salmān Aljammāz df8209ca7a gce deploy: add http(s) firewall rules if they're missing.
fixes #572

Change-Id: Ibb69cf256331378c54597e20d09565578eebd777
2015-01-29 17:26:25 +03:00
mpl 83bb6bce78 deploy/gce: add HTTP auth creds to wizard.
And instruction to change them through GCP UI.

Issue #573

Change-Id: I39e6a2904cd1ca57bed40e4c361ca963049438fc
2015-01-28 22:29:42 +01:00
mpl 0e31e41767 deploy/gce: fix project label, check project id exists
Issue #571

Also moved the "file an issue" msg appending to sooner, so I can do a
proper error type check, instead of a lame string contents check.

Also fixed progress msg as per Aaron suggestion.

Change-Id: Ifa31a8d58cdf20d5068b4db4f7ab0370633bbd34
2015-01-27 22:58:16 +01:00
mpl 8c1cd14a84 pkg/deploy/gce: check for any possible instance before trying to create
Go through all the existing zones to check for existing instances.

Issue #568

Change-Id: Id67d1b9e19f246b993465de9d7d022512187c1aa
2015-01-25 02:35:41 +01:00
mpl 0098b8e691 pkg/deploy/gce: detect when requested instance already exists
Issue #568

Change-Id: I6fe56417ffdc56ce3ddc5412c313d9a329bdbaf7
2015-01-23 20:37:49 +01:00
Brad Fitzpatrick aada432c52 third_party: add oauth2/google, google.golang.org/cloud, google.golang.org/api
oauth2 at 267028f9bc2a1177dc5769be38c68c1b4fbe91c4
google cloud at 2e43671e4ad874a7bca65746ff3edb38e6e93762
google api at fc402b0d6f2a46ba7dcf0a4606031f45fb82a728
  (partial commit only, since it's 16+ MB)

And update all callers from the old
code.google.com/p/google-api-go-client over to google.golang.org/api.

Change-Id: Ide190e04bb863928f98369a7c4d2b8c19fda1f66
2015-01-22 15:10:36 -08:00
mpl e3f16b8ead pkg/deploy/gce: add web wizard to deploy on Google Cloud
Issue #531

Change-Id: I47900eb7b82b7775ec1d26b1d6796e5701ee672d
2015-01-19 16:24:37 +01:00
mpl 1a286f919f pkg/deploy/gce: revert to hardcoded google endpoints for oauth2
google.Endpoint is the only thing we were using from
third_party/golang.org/x/oauth2/google
And pkg google would in turn bring in lots of dependencies (that I had
forgotten in 22f45f14a5).
Replacing Endpoint with the hardcoded values hence allows us to not
vendor in all those dependencies.

Also fix make.go to build camdeploy as well.

Change-Id: I6ba51991187a11705c97c9546848303540f99aa1
2015-01-13 01:28:09 +01:00
mpl 22f45f14a5 Add new oauth2, use it in deploy/gce
third_party/golang.org/x/net/context at 67f25490433376b5f7da086c0b9283fcdeca3a7b
third_party/golang.org/x/oauth2 at 5361962df4497a7fc777f5c3bd1b5c7ac36c604c

I only updated camdeploy, and did not remove code.google.com/p/goauth2
yet, because I do not want to get distracted by potential breakages, so
we can first get the gce deploy wizard in.

Change-Id: Ifa7987a044c741d3f00f49f47b31e3e07bdf973d
2015-01-09 22:02:39 +01:00
mpl cfd784269e deploy/gce: use subdirs for config and blobs (instead of buckets)
http://camlistore.org/issue/528

Change-Id: Icb558d7de032f9367e8fb100be87ef24c2982c23
2014-12-17 16:20:58 +01:00
mpl 99fe925efc pkg/deploy/gce: lib + tool to deploy on Google Cloud
http://camlistore.org/issue/531

Change-Id: I69ffe0544341d380bb844aef1dcca8a1ae441ea7
2014-11-26 22:50:27 +01:00