The bug we were working around is fixed in Kubernetes 1.22, which we
have finally upgraded to.
Change-Id: Ic51a80521d72cb81ceb125586632e1101da795aa
Reviewed-on: https://go-review.googlesource.com/c/build/+/422594
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Jenny Rakoczy <jenny@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
This change moves the devapp deployment documentation into the doc
directory because it's common to all services that run in the GKE
cluster.
It also restructures that documentation just a little to alleviate some
confusion (i.e. make push-prod is not necessary if using make
deploy-prod).
Then, it updates all the relevant services' documentation to refer to
that shared document.
Also, it touch up a couple of the services' READMEs, like gopherbot and
pubsubhelper.
Change-Id: I3774385f1d0ba9e9886ece8462294c1f28e8bd17
Reviewed-on: https://go-review.googlesource.com/c/build/+/416220
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This change adds license headers to files which are missing them.
A modified version of the addlicense tool was used to add these headers:
https://github.com/google/addlicense
The command issued was:
addlicense -c "Go Authors" -l bsd *
Change-Id: Id6fd17c587f99b3ff0ef5f5f35befcfe5aaeef72
Reviewed-on: https://go-review.googlesource.com/c/build/+/409614
Run-TryBot: Carlos Amedee <carlos@golang.org>
Auto-Submit: Carlos Amedee <carlos@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alex Rakoczy <alex@golang.org>
App Engine only supports Go 1.16 and we'd like to use newer features, so
convert this application to build as a standard container-based server
that we can deploy to Kubernetes.
Very little has to change. We have a new entrypoint that serves with
internal/https, and we use go:embed to store the template files.
For golang/go#48803.
Change-Id: I7f33f3421b6d405e111ec7ea716809a0a0f0cff6
Reviewed-on: https://go-review.googlesource.com/c/build/+/399042
Reviewed-by: Heschi Kreinick <heschi@google.com>
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
go fmt the entire repo with Go 1.18 go fmt.
Change-Id: I9b9c77796d67dce6de9ceb154dd88058b9b8200f
Reviewed-on: https://go-review.googlesource.com/c/build/+/399039
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
* Add Kubernetes service account creation to deployment-prod.yaml.
* Fix app label to match selector in the service.
* Use Recreate strategy for rollout.
For golang/go#48803.
Change-Id: I52359ccbc0ce84ad7da9bf01f9336f5701d3cc46
Reviewed-on: https://go-review.googlesource.com/c/build/+/395540
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
When started for the first time, Influx allows any unauthenticated user
to perform initial database setup. An instance that is reachable from
the public internet thus has a race window for initial setup.
Close the window by starting Influx listening only on localhost,
performing setup, and only then running a reverse proxy on the external
interface to forward external traffic to influx. We must do this on
every startup just to see if this instance has already been set up or
not.
For golang/go#48803.
Change-Id: Iea41b01f61199101eb59686f1e6a3e9dab059a0e
Reviewed-on: https://go-review.googlesource.com/c/build/+/394357
Reviewed-by: Heschi Kreinick <heschi@google.com>
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This CL creates a Docker image for running an InfluxDB instance for the
Go performance monitoring dashboard.
The image is based on the Google-maintained GCP InfluxDB 2 image, with
an additional small program to perform initial database setup and push
access credentials to Google Secret Manager.
See README.md for instructions on running the image locally or on GCP.
This CL is based on CL 392635 after we decided it belongs better in
x/build. It drop the custom module, using the standard x/build/go.mod
instead. Plus it adds a Makefile and and expectation of `docker build`
running from the repository.
For golang/go#48803
Change-Id: Ib79242311acee9529073cd68c9754e6459a49319
Reviewed-on: https://go-review.googlesource.com/c/build/+/394354
Reviewed-by: Heschi Kreinick <heschi@google.com>
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>