Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes to serverless pipelines #2909

Merged
merged 8 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .buildkite/pipeline.fleet-server-tests.yaml
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}
juliaElastic marked this conversation as resolved.
Show resolved Hide resolved
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"
16 changes: 0 additions & 16 deletions .buildkite/pipeline.service-tests.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .buildkite/pipeline.test-dev.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .buildkite/pipeline.test-qa.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .buildkite/pipeline.tests-qa.yaml
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: "observability-perf-serverless"
build:
message: "${BUILDKITE_MESSAGE}"
env:
ENVIRONMENT: ${ENVIRONMENT}

11 changes: 11 additions & 0 deletions .buildkite/pipeline.tests-staging.yaml
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 QA environment.
juliaElastic marked this conversation as resolved.
Show resolved Hide resolved
# 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: "observability-perf-serverless"
build:
message: "${BUILDKITE_MESSAGE}"
env:
ENVIRONMENT: ${ENVIRONMENT}
Loading