Skip to content

Commit

Permalink
Configure Slack notifications through env (#1883)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbanasiak authored Oct 21, 2024
1 parent 543b4dc commit e061aa5
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ spec:


# Declare Rally's Buildkite IT pipeline.
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
Expand All @@ -54,6 +54,9 @@ spec:
name: Rally - IT
description: Macrobenchmarking framework for Elasticsearch
spec:
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#es-perf-build'
pipeline_file: .buildkite/it/pipeline.yml
repository: elastic/rally
schedules:
Expand All @@ -66,9 +69,10 @@ spec:
everyone:
access_level: READ_ONLY

# Declare Rally's Buildkite IT pipeline.
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json

# Declare Rally's Buildkite IT pipeline for serverless.
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
Expand All @@ -90,6 +94,9 @@ spec:
name: Rally - IT Serverless
description: Macrobenchmarking framework for Elasticsearch
spec:
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#es-perf-build'
pipeline_file: .buildkite/it/serverless-pipeline.yml
repository: elastic/rally
schedules:
Expand All @@ -102,9 +109,10 @@ spec:
everyone:
access_level: READ_ONLY


# Declare Rally Release Docker pipeline.
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
Expand All @@ -126,16 +134,20 @@ spec:
name: Rally - Release Docker
description: Release Docker Artifacts for Rally
spec:
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#es-perf-build'
pipeline_file: .buildkite/release-docker/pipeline.yml
provider_settings:
trigger_mode: none
repository: elastic/rally
teams:
es-perf: {}


# Declare Rally Dev Docker build pipeline.
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
Expand All @@ -156,6 +168,9 @@ spec:
name: Rally - Dev Docker Build
description: Build Dev Docker Artifacts for Rally
spec:
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
SLACK_NOTIFICATIONS_CHANNEL: '#es-perf-build'
pipeline_file: .buildkite/dev-docker/pipeline.yml
provider_settings:
trigger_mode: none
Expand Down

0 comments on commit e061aa5

Please sign in to comment.