blob: 5d7feb8f6c303ad8c6ca6c49d4edebfcdfc3798d [file] [log] [blame]
{
"steps": [
{
"name": "gcr.io/cloud-builders/docker",
"entrypoint": "bash",
"args": [
"-c",
"docker build --build-arg GO_VERSION=master -t gcr.io/$PROJECT_ID/playground-gotip ."
]
},
{
"name": "gcr.io/cloud-builders/docker",
"args": [
"push",
"gcr.io/$PROJECT_ID/playground-gotip"
]
},
{
"name": "gcr.io/cloud-builders/gcloud",
"args": [
"app",
"deploy",
"app.gotip.yaml",
"--project=$PROJECT_ID",
"--image-url=gcr.io/$PROJECT_ID/playground-gotip:latest"
]
},
{
"name": "golang",
"entrypoint": "sh",
"args": [
"-c",
"go install golang.org/x/website/cmd/versionprune@latest && versionprune --dry_run=false --project=$PROJECT_ID --service=gotipplay"
]
}
],
"timeout": "3600s",
"options": {
"machineType": "N1_HIGHCPU_8"
}
}