[mirror] Home of the go.dev and golang.org websites
Перейти к файлу
Alexander Rakoczy 689fe959ee [x/go.dev] cmd/versionprune: add command to prune appengine versions
This change adds a command to prune old app engine versions. AppEngine
has a limit of 210 versions across all services. As we have many
services in this project and deploy go-dev and learn-go-dev daily, we
should clean up services regularly.

There's no gcloud command to do something similar, and doing it in the
UI is tedious and error prone.

The command by default will:
- keep the latest 5 versions
- keep any version that is serving traffic
- keep any version that is younger than 24h
- ignore versions with invalid dates (doesn't seem to be a real thing)

Updates b/143768957

Change-Id: I315ca9f459aa28b8ae94b55557e628ceeb22c884
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go.dev/+/589755
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
X-GoDev-Commit: b763768db4b9b9b2fcd67a3f5a0f3d18fe65cd9e
2019-11-02 04:13:32 +00:00
go.dev [x/go.dev] cmd/versionprune: add command to prune appengine versions 2019-11-02 04:13:32 +00:00
AUTHORS initial commit 2019-01-04 09:34:42 -05:00
CONTRIBUTING.md initial commit 2019-01-04 09:34:42 -05:00
CONTRIBUTORS initial commit 2019-01-04 09:34:42 -05:00
LICENSE initial commit 2019-01-04 09:34:42 -05:00
PATENTS initial commit 2019-01-04 09:34:42 -05:00
README.md initial commit 2019-01-04 09:34:42 -05:00

README.md

Go Website

This repository holds the Go Website server code and content.

Download/Install

The easiest way to install is to run go get -u golang.org/x/website. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with "x/website:" in the subject line, so it is easy to find.