-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,241 changed files
with
12,346 additions
and
5,527 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,3 @@ steps: | |
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
artifact_paths: | ||
- "target/kibana-security-solution/**/*" |
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 |
---|---|---|
|
@@ -9,5 +9,3 @@ steps: | |
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
artifact_paths: | ||
- "target/kibana-security-solution/**/*" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,3 @@ steps: | |
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
artifact_paths: | ||
- "target/kibana-threat-intelligence/**/*" |
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" | ||
agent: | ||
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" | ||
agent: | ||
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" |
59 changes: 39 additions & 20 deletions
59
.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,50 @@ | ||
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" | ||
agent: | ||
image: "docker.elastic.co/ci-agent-images/basic-buildkite-agent:1688566364" | ||
- label: ":pipeline::kibana::seedling: Trigger Kibana Serverless Tests for ${ENVIRONMENT}" | ||
trigger: appex-qa-kibana-serverless-ftr-tests # https://buildkite.com/elastic/appex-qa-kibana-serverless-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" | ||
agent: | ||
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" | ||
agent: | ||
image: "docker.elastic.co/ci-agent-images/basic-buildkite-agent:1688566364" | ||
- label: ":judge::seedling: Trigger Manual Tests Phase" | ||
command: "make -C /agent trigger-manual-verification-phase" | ||
if: build.branch == "main" | ||
env: | ||
TEAM_CHANNEL: "#kibana-mission-control" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/manual-verification-agent:0.0.2" | ||
|
||
- label: ":pipeline::lock::seedling: Trigger Control Plane Kibana Tests for ${ENVIRONMENT}" | ||
command: echo "replace me with Control Plane specific Kibana tests" | ||
agent: | ||
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::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" | ||
agent: | ||
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" | ||
agent: | ||
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
Oops, something went wrong.