To avoid having to maintain GO_BOOTSTRAP_VERSION in the playground
Dockerfile, always use the latest "published" minor of the previous Go
release as the bootstrap version, which per golang/go#54265 should
always be a sufficiently recent bootstrap version.
Here "published" means that the toolchain must exist, since it will be
downloaded for bootstrap. To enable this, add a `-toolchain` flag to the
latestgo command, which selects versions from the set of published
toolchains, rather than from Gerrit tags.
Fixesgolang/go#69238
Change-Id: Ib4d4d7f2c0d5c4fbdccfec5d8bb83c040e0c5384
Reviewed-on: https://go-review.googlesource.com/c/playground/+/610675
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
CL 467955 inadvertently removed the -prev flag for the latestgo command,
causing goprevplay to (surprisingly) revert to building go at tip.
Fixesgolang/go#59303
Change-Id: I6dc79f8737a36e01405fcdc50b5a908284b361b1
Reviewed-on: https://go-review.googlesource.com/c/playground/+/480235
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Updates module dependencies. Also, update the default Go versions, which
are still explicitly set during deployment.
This is a follow-up to CL 361454, which removes grpc.go4.org in the
x/build repository.
Change-Id: I3d522c6930da22156ca2e76e6a1a663b71cef8ba
Reviewed-on: https://go-review.googlesource.com/c/playground/+/393696
Trust: Alex Rakoczy <alex@golang.org>
Run-TryBot: Alex Rakoczy <alex@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Change-Id: Ibdd5f45062960cd09965df63c12cde394dca1f8b
Reviewed-on: https://go-review.googlesource.com/c/playground/+/367814
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
This service will overwrite the existing go2go playground.
Updates golang/go#48517
Change-Id: Idc9e6733cc213a2c3e84c71d1c4746dc31feeb62
Reviewed-on: https://go-review.googlesource.com/c/playground/+/364858
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
This changes the build process to use a newly-added latestgo command for
determining the latest version of Go. This simplifies the Cloud Build
deploy.json significantly.
latestgo fetches the latest supported Go releases from maintner,
returning the first one. The maintner API always returns at least 2
releases on success, with the first result being the latest supported Go
release.
Updates golang/go#32606
Change-Id: I9da9101368ac4edfd7651e3f996b5f2dbe51b6c4
Reviewed-on: https://go-review.googlesource.com/c/playground/+/185437
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>