agones.dev/agones@v1.53.0/build/report/cloudbuild.yaml (about) 1 --- 2 # Copyright 2023 Google LLC All Rights Reserved. 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 # 16 # Google Cloud Builder -- Generate report on recently flaky builds 17 steps: 18 - name: gcr.io/cloud-builders/gcloud 19 id: build-report 20 script: | 21 #!/usr/bin/env bash 22 export GO_VERSION=1.24.6 23 cd /usr/local 24 curl -SsL https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz | tar -xzf- 25 export PATH=/usr/local/go/bin:${PATH} 26 export GOPATH=/go 27 mkdir ${GOPATH} 28 export GO111MODULE=on 29 cd /workspace 30 go run build/report/report.go 31 gcloud storage cp tmp/report/* gs://agones-build-reports/ 32 tags: [build-report] 33 logsBucket: gs://agones-build-logs