agones.dev/agones@v1.53.0/ci/e2e-test-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 CI configuration 17 # 18 steps: 19 # 20 # build the e2e test runner 21 # 22 - name: gcr.io/cloud-builders/docker:24.0.6 23 args: [build, -f, Dockerfile, -t, e2e-runner, .] 24 dir: build/e2e-image 25 id: build-e2e 26 waitFor: ['-'] 27 28 # 29 # Run the e2e tests with FeatureGates inverted compared to Stable 30 # 31 - name: e2e-runner 32 args: 33 - ${_FEATURE_WITH_GATE} 34 - ${_CLOUD_PRODUCT} 35 - ${_TEST_CLUSTER_NAME} 36 - ${_TEST_CLUSTER_LOCATION} 37 - ${_REGISTRY} 38 id: e2e-feature-gates 39 waitFor: 40 - build-e2e 41 42 # 43 # Run the e2e tests without FeatureGates 44 # 45 - name: e2e-runner 46 args: 47 - ${_FEATURE_WITHOUT_GATE} 48 - ${_CLOUD_PRODUCT} 49 - ${_TEST_CLUSTER_NAME} 50 - ${_TEST_CLUSTER_LOCATION} 51 - ${_REGISTRY} 52 id: e2e-stable 53 waitFor: [e2e-feature-gates] 54 tags: 55 - e2e-test 56 - cluster-${_TEST_CLUSTER_NAME} 57 - location-${_TEST_CLUSTER_LOCATION} 58 - commit-${_PARENT_COMMIT_SHA} 59 - started-by-${_PARENT_BUILD_ID} 60 timeout: 5400s # 1.5h 61 queueTtl: 7200s # 2h // only one set of e2es should be running at once 62 logsBucket: gs://agones-build-logs