-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pipeline for serverless kibana release (#165009)
## Summary Adds a pipeline that will trigger the promotion and QG for kibana through qa -> staging -> production whenever the tag which [matches the regex](https://regex101.com/r/tY52jo/1) is created. Sibling PR [here](https://github.com/elastic/serverless-gitops/pull/661) that defines `main/gen/gpctl/kibana/tagged-release.yaml` The meat of the PR is the regex. --------- Co-authored-by: Thomas Watson <[email protected]> Co-authored-by: Alex Szabo <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information
1 parent
0ea37c1
commit 581b7f4
Showing
2 changed files
with
44 additions
and
0 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,9 @@ | ||
steps: | ||
- label: ":releasethekraken: Release kibana" | ||
# https://regex101.com/r/tY52jo/1 | ||
if: build.tag =~ /^deploy@\d+\$/ | ||
trigger: gpctl-promote | ||
build: | ||
env: | ||
SERVICE_COMMIT_HASH: "${BUILDKITE_COMMIT:0:12}" | ||
REMOTE_SERVICE_CONFIG: https://raw.githubusercontent.com/elastic/serverless-gitops/main/gen/gpctl/kibana/tagged-release.yaml |
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