Skip to content

Commit

Permalink
CP-7782 - Replace E2E pipeline execution with serverless-quality-gate…
Browse files Browse the repository at this point in the history
…s CHECK_SYNTHETICS (#195214)
  • Loading branch information
mduarte authored Oct 8, 2024
1 parent 13c9494 commit 942a1f1
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ steps:
DEPLOYMENT_SLICES: ${DEPLOYMENT_SLICES:-""}
soft_fail: true

- label: ":rocket: control-plane e2e tests"
- label: ":rocket: Run serverless synthetics check"
if: build.env("ENVIRONMENT") == "production-canary"
trigger: "ess-k8s-production-e2e-tests" # https://buildkite.com/elastic/ess-k8s-production-e2e-tests
trigger: "serverless-quality-gates"
build:
env:
REGION_ID: aws-us-east-1
NAME_PREFIX: ci_test_kibana-promotion_
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-production.yaml)"
env:
TARGET_ENV: production
SERVICE: kibana
CHECK_SYNTHETICS: true
CHECK_SYNTHETICS_TAG: serverless-platform-core-validation

- label: ":cookie: 24h bake time before continuing promotion"
if: build.env("ENVIRONMENT") == "production-canary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
# A failure in this pipeline build will prevent further progression to the subsequent stage.

steps:
- label: ":rocket: control-plane e2e tests"
trigger: "ess-k8s-qa-e2e-tests-daily" # https://buildkite.com/elastic/ess-k8s-qa-e2e-tests-daily
- label: ":rocket: Run serverless synthetics check"
trigger: "serverless-quality-gates"
build:
env:
REGION_ID: aws-eu-west-1
NAME_PREFIX: ci_test_kibana-promotion_
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-qa.yaml)"
env:
TARGET_ENV: qa
SERVICE: kibana
CHECK_SYNTHETICS: true
CHECK_SYNTHETICS_TAG: serverless-platform-core-validation
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
# A failure in this pipeline build will prevent further progression to the subsequent stage.

steps:
- label: ":rocket: control-plane e2e tests"
trigger: "ess-k8s-staging-e2e-tests" # https://buildkite.com/elastic/ess-k8s-staging-e2e-tests
- label: ":rocket: Run serverless synthetics check"
trigger: "serverless-quality-gates"
build:
env:
REGION_ID: aws-us-east-1
NAME_PREFIX: ci_test_kibana-promotion_
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-staging.yaml)"
env:
TARGET_ENV: staging
SERVICE: kibana
CHECK_SYNTHETICS: true
CHECK_SYNTHETICS_TAG: serverless-platform-core-validation

- label: ":kibana: Kibana Serverless Tests for ${ENVIRONMENT}"
trigger: appex-qa-serverless-kibana-ftr-tests # https://buildkite.com/elastic/appex-qa-serverless-kibana-ftr-tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ steps:
DEPLOYMENT_SLICES: ${DEPLOYMENT_SLICES:-""}
soft_fail: true

- label: ":rocket: control-plane e2e tests"
- label: ":rocket: Run serverless synthetics check"
if: build.env("ENVIRONMENT") == "production-canary"
trigger: "ess-k8s-production-e2e-tests" # https://buildkite.com/elastic/ess-k8s-production-e2e-tests
trigger: "serverless-quality-gates"
build:
env:
REGION_ID: aws-us-east-1
NAME_PREFIX: ci_test_kibana-promotion_
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-production.yaml)"
env:
TARGET_ENV: production
SERVICE: kibana
CHECK_SYNTHETICS: true
CHECK_SYNTHETICS_TAG: serverless-platform-core-validation

- label: ":cookie: 24h bake time before continuing promotion"
if: build.env("ENVIRONMENT") == "production-canary"
Expand Down
12 changes: 7 additions & 5 deletions .buildkite/pipelines/quality-gates/pipeline.tests-qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ steps:
ENVIRONMENT: ${ENVIRONMENT}
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-qa.yaml)"

- label: ":rocket: control-plane e2e tests"
trigger: "ess-k8s-qa-e2e-tests-daily" # https://buildkite.com/elastic/ess-k8s-qa-e2e-tests-daily
- label: ":rocket: Run serverless synthetics check"
trigger: "serverless-quality-gates"
build:
env:
REGION_ID: aws-eu-west-1
NAME_PREFIX: ci_test_kibana-promotion_
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-qa.yaml)"
env:
TARGET_ENV: qa
SERVICE: kibana
CHECK_SYNTHETICS: true
CHECK_SYNTHETICS_TAG: serverless-platform-core-validation

- wait: ~

Expand Down
12 changes: 7 additions & 5 deletions .buildkite/pipelines/quality-gates/pipeline.tests-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
# A failure in this pipeline build will prevent further progression to the subsequent stage.

steps:
- label: ":rocket: control-plane e2e tests"
trigger: "ess-k8s-staging-e2e-tests" # https://buildkite.com/elastic/ess-k8s-staging-e2e-tests
- label: ":rocket: Run serverless synthetics check"
trigger: "serverless-quality-gates"
build:
env:
REGION_ID: aws-us-east-1
NAME_PREFIX: ci_test_kibana-promotion_
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-staging.yaml)"
env:
TARGET_ENV: staging
SERVICE: kibana
CHECK_SYNTHETICS: true
CHECK_SYNTHETICS_TAG: serverless-platform-core-validation

- label: ":kibana: Kibana Serverless Tests for ${ENVIRONMENT}"
trigger: appex-qa-serverless-kibana-ftr-tests # https://buildkite.com/elastic/appex-qa-serverless-kibana-ftr-tests
Expand Down

0 comments on commit 942a1f1

Please sign in to comment.