Skip to content

Commit

Permalink
build: add a new eui-release buildkite pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tkajtoch committed Jan 3, 2024
1 parent 998fedd commit 4b9768a
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .buildkite/pipelines/pipeline_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
steps:
- command: "echo 'This pipeline is currently a no-op'"
label: ':shrug: noop'
agents:
provider: gcp
# TODO: remove the test-automatic-releases condition when the pipeline is production-ready
if: build.branch == "main" || build.branch == "build/test-automatic-releases"
44 changes: 44 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,47 @@ spec:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY

---
##
# buildkite-pipeline-eui-release
# EUI Release - handle (pre)release process on merge to main
##

# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: buildkite-pipeline-eui-release
description: EUI pipeline to release the latest version of @elastic/eui
links: [
{
title: "EUI - release",
url: "https://buildkite.com/elastic/eui-release",
}
]

spec:
type: buildkite-pipeline
owner: group:eui-team
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: eui-release
spec:
repository: elastic/eui
pipeline_file: ".buildkite/pipelines/pipeline_release.yml"
provider_settings:
build_branches: true
build_tags: false
build_pull_requests: false
filter_enabled: true
# TODO: remove the test-automatic-releases condition when the pipeline is production-ready
filter_condition: build.branch == "main" || build.branch == "build/test-automatic-releases"
teams:
eui-team:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY

0 comments on commit 4b9768a

Please sign in to comment.