-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changes to serverless pipelines (#2909)
* changes to serverless pipelines * Update .buildkite/pipeline.tests-staging.yaml * Update .buildkite/pipeline.fleet-server-tests.yaml * updated catalog-info * updated team name * rename to fleet-smoke-tests --------- Co-authored-by: Ramon Butter <[email protected]>
- Loading branch information
1 parent
5fcf394
commit a230972
Showing
7 changed files
with
52 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 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: | ||
# .buildkite/pipeline.tests-qa.yaml | ||
# .buildkite/pipeline.tests-staging.yaml | ||
# .buildkite/pipeline.tests-production.yaml | ||
# | ||
# Docs: https://docs.elastic.dev/serverless/qualitygates | ||
|
||
env: | ||
ENVIRONMENT: ${ENVIRONMENT?} | ||
TEAM_CHANNEL: "#fleet-cloud-services" | ||
|
||
steps: | ||
- label: ":pipeline::grey_question::seedling: Trigger service tests for ${ENVIRONMENT}" | ||
command: "make -C /agent run-environment-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" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# 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: ":rocket: Run Smoke tests" | ||
trigger: "fleet-smoke-tests" | ||
build: | ||
message: "${BUILDKITE_MESSAGE}" | ||
env: | ||
ENVIRONMENT: ${ENVIRONMENT} | ||
|
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 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: ":rocket: Run Smoke tests" | ||
trigger: "fleet-smoke-tests" | ||
build: | ||
message: "${BUILDKITE_MESSAGE}" | ||
env: | ||
ENVIRONMENT: ${ENVIRONMENT} |
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