Skip to content

Commit 0e519ec

Browse files
committed
deploy: prune app engine versions during build
The daily playground-deploy-gotip-playground build job caused the golang-org project to reach the per project app engine version limit of 210. This change adds a step to prune versions using the command from x/website. Change-Id: I2384c7af97ab1b8f4e5ebad8ee10e41227a506a6 Reviewed-on: https://go-review.googlesource.com/c/playground/+/398574 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
1 parent 60559de commit 0e519ec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

deploy/deploy_gotip.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@
2424
"--project=$PROJECT_ID",
2525
"--image-url=gcr.io/$PROJECT_ID/playground-gotip:latest"
2626
]
27+
},
28+
{
29+
"name": "golang",
30+
"entrypoint": "sh",
31+
"args": [
32+
"-c",
33+
"go install golang.org/x/website/cmd/versionprune@latest && versionprune --dry_run=false --project=$PROJECT_ID --service=gotipplay"
34+
]
2735
}
2836
],
2937
"timeout": "3600s",

0 commit comments

Comments
 (0)