-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into kbn-xxx-action-test…
…s-against-serverless
- Loading branch information
Showing
2,160 changed files
with
63,434 additions
and
18,842 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 18 additions & 1 deletion
19
.buildkite/pipelines/quality-gates/pipeline.kibana-tests.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,27 @@ | ||
# This pipeline serves as the entry point for your service's quality gates definitions. When | ||
# properly configured, it will be invoked automatically as part of the automated | ||
# promotion process once a new version was rolled out in one of the various cloud stages. | ||
# | ||
# The updated environment is provided via ENVIRONMENT variable. The seedling | ||
# step will branch and execute pipeline snippets at the following location: | ||
# pipeline.tests-qa.yaml | ||
# pipeline.tests-staging.yaml | ||
# pipeline.tests-production.yaml | ||
# | ||
# Docs: https://docs.elastic.dev/serverless/qualitygates | ||
|
||
env: | ||
TEAM_CHANNEL: "#kibana-mission-control" | ||
ENVIRONMENT: ${ENVIRONMENT?} | ||
|
||
steps: | ||
- label: ":pipeline::grey_question::seedling: Trigger Kibana Tests for ${ENVIRONMENT}" | ||
env: | ||
QG_PIPELINE_LOCATION: ".buildkite/pipelines/quality-gates" | ||
command: "make -C /agent run-environment-tests" | ||
command: "make -C /agent run-environment-tests" # will trigger https://buildkite.com/elastic/kibana-tests | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/quality-gate-seedling:0.0.2" | ||
|
||
notify: | ||
- slack: "${TEAM_CHANNEL?}" | ||
if: build.branch == "main" && build.state == "failed" |
25 changes: 12 additions & 13 deletions
25
.buildkite/pipelines/quality-gates/pipeline.tests-production.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
env: | ||
TEAM_CHANNEL: "#kibana-serverless-release" | ||
ENVIRONMENT: "production" | ||
# These pipeline steps constitute the quality gate for your service within the production | ||
# environment. Incorporate any necessary additional logic to validate the service's integrity. | ||
# A failure in this pipeline build will prevent further progression to the subsequent stage. | ||
|
||
steps: | ||
- label: ":pipeline::fleet::seedling: Trigger Observability Kibana Tests for ${ENVIRONMENT}" | ||
command: echo "replace me with Observability specific Kibana tests" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/basic-buildkite-agent:1688566364" | ||
|
||
- label: ":pipeline::lock::seedling: Trigger Security Kibana Tests for ${ENVIRONMENT}" | ||
command: echo "replace me with Security specific Kibana tests" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/basic-buildkite-agent:1688566364" | ||
- 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_kibana-promotion_ | ||
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-production.yaml)" | ||
|
||
- wait: ~ | ||
|
||
- label: ":judge::seedling: Trigger Manual Tests Phase" | ||
command: "make -C /agent trigger-manual-verification-phase" | ||
if: build.branch == "main" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/manual-verification-agent:0.0.1" | ||
image: "docker.elastic.co/ci-agent-images/manual-verification-agent:0.0.2" |
51 changes: 31 additions & 20 deletions
51
.buildkite/pipelines/quality-gates/pipeline.tests-qa.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,42 @@ | ||
env: | ||
TEAM_CHANNEL: "#kibana-serverless-release" | ||
ENVIRONMENT: "qa" | ||
# These pipeline steps constitute the quality gate for your service within the QA environment. | ||
# Incorporate any necessary additional logic to validate the service's integrity. A failure in | ||
# this pipeline build will prevent further progression to the subsequent stage. | ||
|
||
steps: | ||
- label: ":pipeline::kibana::seedling: Trigger Kibana Tests for ${ENVIRONMENT}" | ||
command: echo "replace me with Kibana specific tests" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/basic-buildkite-agent:1688566364" | ||
- label: ":pipeline::kibana::seedling: Trigger Kibana Serverless Tests for ${ENVIRONMENT}" | ||
trigger: appex-qa-serverless-kibana-ftr-tests # https://buildkite.com/elastic/appex-qa-serverless-kibana-ftr-tests | ||
soft_fail: true # Remove this before release or when tests stabilize | ||
build: | ||
env: | ||
ENVIRONMENT: ${ENVIRONMENT} | ||
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-qa.yaml)" | ||
|
||
- label: ":pipeline::fleet::seedling: Trigger Fleet Kibana Tests for ${ENVIRONMENT}" | ||
command: echo "replace me with Fleet specific Kibana tests" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/basic-buildkite-agent:1688566364" | ||
- group: ":female-detective: Security Solution Tests" | ||
key: "security" | ||
steps: | ||
- label: ":pipeline::female-detective::seedling: Trigger Security Solution quality gate script" | ||
command: .buildkite/scripts/pipelines/security_solution_quality_gate/pipeline.sh | ||
|
||
- label: ":pipeline::lock::seedling: Trigger Security Kibana Tests for ${ENVIRONMENT}" | ||
command: echo "replace me with Security specific Kibana tests" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/basic-buildkite-agent:1688566364" | ||
- label: ":pipeline::ship::seedling: Trigger Fleet serverless smoke tests for ${ENVIRONMENT}" | ||
trigger: fleet-smoke-tests # https://buildkite.com/elastic/fleet-smoke-tests | ||
soft_fail: true # Remove this before release | ||
build: | ||
env: | ||
ENVIRONMENT: ${ENVIRONMENT} | ||
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-qa.yaml)" | ||
|
||
- label: ":pipeline::lock::seedling: Trigger Control Plane Kibana Tests for ${ENVIRONMENT}" | ||
command: echo "replace me with Control Plane specific Kibana tests" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/basic-buildkite-agent:1688566364" | ||
- label: ":pipeline::rocket::seedling: Trigger control-plane e2e tests" | ||
trigger: "ess-k8s-qa-e2e-tests-daily" # https://buildkite.com/elastic/ess-k8s-qa-e2e-tests-daily | ||
build: | ||
env: | ||
REGION_ID: aws-eu-west-1 | ||
NAME_PREFIX: ci_test_kibana-promotion_ | ||
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-qa.yaml)" | ||
|
||
- wait: ~ | ||
|
||
- label: ":judge::seedling: Trigger Manual Tests Phase" | ||
command: "make -C /agent trigger-manual-verification-phase" | ||
if: build.branch == "main" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/manual-verification-agent:0.0.1" | ||
image: "docker.elastic.co/ci-agent-images/manual-verification-agent:0.0.2" |
25 changes: 12 additions & 13 deletions
25
.buildkite/pipelines/quality-gates/pipeline.tests-staging.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
env: | ||
TEAM_CHANNEL: "#kibana-serverless-release" | ||
ENVIRONMENT: "staging" | ||
# These pipeline steps constitute the quality gate for your service within the staging environment. | ||
# Incorporate any necessary additional logic to validate the service's integrity. A failure in | ||
# this pipeline build will prevent further progression to the subsequent stage. | ||
|
||
steps: | ||
- label: ":pipeline::fleet::seedling: Trigger Observability Kibana Tests for ${ENVIRONMENT}" | ||
command: echo "replace me with Observability specific Kibana tests" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/basic-buildkite-agent:1688566364" | ||
|
||
- label: ":pipeline::lock::seedling: Trigger Security Kibana Tests for ${ENVIRONMENT}" | ||
command: echo "replace me with Security specific Kibana tests" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/basic-buildkite-agent:1688566364" | ||
- label: ":pipeline::rocket::seedling: Trigger control-plane e2e tests" | ||
trigger: "ess-k8s-staging-e2e-tests" # https://buildkite.com/elastic/ess-k8s-staging-e2e-tests | ||
build: | ||
env: | ||
REGION_ID: aws-us-east-1 | ||
NAME_PREFIX: ci_test_kibana-promotion_ | ||
message: "${BUILDKITE_MESSAGE} (triggered by pipeline.tests-staging.yaml)" | ||
|
||
- wait: ~ | ||
|
||
- label: ":judge::seedling: Trigger Manual Tests Phase" | ||
command: "make -C /agent trigger-manual-verification-phase" | ||
if: build.branch == "main" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/manual-verification-agent:0.0.1" | ||
image: "docker.elastic.co/ci-agent-images/manual-verification-agent:0.0.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.