From 57a0cbb910f609ab01675ca0499164ecedcce210 Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Thu, 12 Oct 2023 10:47:37 -0400 Subject: [PATCH] [Fleet] Quality gates for production canary (#3032) --- .buildkite/pipeline.tests-production-canary.yaml | 13 +++++++++++++ .buildkite/pipeline.tests-staging.yaml | 5 ++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .buildkite/pipeline.tests-production-canary.yaml diff --git a/.buildkite/pipeline.tests-production-canary.yaml b/.buildkite/pipeline.tests-production-canary.yaml new file mode 100644 index 000000000..691284eb7 --- /dev/null +++ b/.buildkite/pipeline.tests-production-canary.yaml @@ -0,0 +1,13 @@ +# These pipeline steps constitute the quality gate for fleet server within the production canary environment. +# A failure in this pipeline build will prevent further progression to the subsequent stage. + +steps: + - label: ":pipeline::rocket::seedling: Trigger control-plane e2e tests" + trigger: "ess-k8s-production-e2e-tests" # https://buildkite.com/elastic/ess-k8s-production-e2e-tests + build: + env: + REGION_ID: aws-us-east-1 + NAME_PREFIX: ci_test_fleet-promotion_ + message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-production-canary.yaml)" + - label: ":cookie: 1h bake period before continuing promotion" + command: "sleep 3600" diff --git a/.buildkite/pipeline.tests-staging.yaml b/.buildkite/pipeline.tests-staging.yaml index b98183808..60095b8d6 100644 --- a/.buildkite/pipeline.tests-staging.yaml +++ b/.buildkite/pipeline.tests-staging.yaml @@ -3,9 +3,8 @@ # this pipeline build will prevent further progression to the subsequent stage. steps: - - command: - - echo "Waiting for 10m for indicative health metrics" - - sleep 600 + - label: ":cookie: 30m bake period before continuing promotion" + command: "sleep 1800" - wait - label: ":rocket: Run observability gates" trigger: "serverless-quality-gates"