agones.dev/agones@v1.53.0/test/sdk/go/cloudbuild.yaml (about) 1 --- 2 # Copyright 2024 Google LLC 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 steps: 16 # 17 # Creates the initial make + docker build platform 18 # 19 - name: ubuntu 20 script: | 21 echo 'FROM gcr.io/cloud-builders/docker:24.0.6\nRUN apt-get install make\nENTRYPOINT [\"/usr/bin/make\"]' > Dockerfile.build 22 - name: gcr.io/cloud-builders/docker:24.0.6 23 id: build-make-docker 24 entrypoint: docker 25 args: [build, -f, Dockerfile.build, -t, make-docker, .] 26 27 # build and push sdk-client-test image to Google Artifact Registry 28 - name: make-docker 29 id: push 30 dir: . 31 env: ['REGISTRY=${_REGISTRY}'] 32 script: | 33 make push 34 options: 35 dynamic_substitutions: true 36 substitutions: 37 _REGISTRY: us-docker.pkg.dev/${PROJECT_ID}/ci 38 timeout: 1800s