From 53f900265c99517ffda08c1a5397de238077d63f Mon Sep 17 00:00:00 2001 From: Grzegorz Banasiak Date: Mon, 21 Oct 2024 10:44:14 +0200 Subject: [PATCH] Configure Slack notifications through env --- catalog-info.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/catalog-info.yaml b/catalog-info.yaml index 56c28715c..b948ca7f6 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -24,8 +24,9 @@ spec: - "resource:rally-tracks-it" - "resource:rally-tracks-it-serverless" -# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json + --- +# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json apiVersion: backstage.io/v1alpha1 kind: Resource metadata: @@ -46,6 +47,9 @@ spec: metadata: name: Rally Tracks - IT spec: + env: + ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' + SLACK_NOTIFICATIONS_CHANNEL: '#es-perf-build' pipeline_file: .buildkite/it/pipeline.yml repository: elastic/rally-tracks teams: @@ -55,8 +59,9 @@ spec: everyone: access_level: READ_ONLY -# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json + --- +# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json apiVersion: backstage.io/v1alpha1 kind: Resource metadata: @@ -77,6 +82,9 @@ spec: metadata: name: Rally Tracks - IT Serverless spec: + env: + ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' + SLACK_NOTIFICATIONS_CHANNEL: '#es-perf-build' pipeline_file: .buildkite/it/serverless-pipeline.yml repository: elastic/rally-tracks schedules: