Skip to content

Commit

Permalink
Merge branch 'qx-282-trigger-promotion-on-tag' of github.com:imkarrer…
Browse files Browse the repository at this point in the history
…/kibana into qx-282-trigger-promotion-on-tag
  • Loading branch information
imkarrer committed Aug 30, 2023
2 parents 068c76a + e834b72 commit c79f986
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
steps:
- label: ":releasethekraken: Release kibana"
# https://regex101.com/r/tY52jo/1
if: 'build.env("BUILDKITE_TAG") =~ "/^deploy@\d+$$/"'
if: build.tag =~ /^deploy@\d+\$/
trigger: gpctl-promote
build:
env:
Expand Down
10 changes: 6 additions & 4 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ spec:
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: kibana-release
name: kibana-serverless-release
description: Definition of the kibana release pipeline
links:
- title: Pipeline
Expand All @@ -141,7 +141,7 @@ spec:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: kibana-release
name: kibana-serverless-release
description: Pipeline that releases kibana by triggering the release flow through qa, staging, and production
spec:
repository: elastic/kibana
Expand All @@ -151,9 +151,11 @@ spec:
build_pull_request_forks: false
build_tags: true
# https://regex101.com/r/tY52jo/1
filter_condition: 'build.tag =~ "/^deploy@\d+$$/"'
filter_condition: 'build.tag =~ "/^deploy@\d+\$/"'
filter_enabled: true
trigger_mode: none
teams:
kibana-operations:
access_level: BUILD_AND_READ
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY

0 comments on commit c79f986

Please sign in to comment.