Skip to content

Commit b66e5a5

Browse files
authored
Added pipelines for llvm-apple and fpm (#329)
1 parent 99b5820 commit b66e5a5

File tree

3 files changed

+96
-0
lines changed

3 files changed

+96
-0
lines changed

.buildkite/fpm-pipeline.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
steps:
2+
- label: "Example test"
3+
command: echo "Hello!"

.buildkite/llvm-apple-pipeline.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
steps:
2+
- label: "Example test"
3+
command: echo "Hello!"

catalog-info.yaml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,93 @@ spec:
5858
access_level: MANAGE_BUILD_AND_READ
5959
everyone:
6060
access_level: READ_ONLY
61+
62+
---
63+
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
64+
apiVersion: backstage.io/v1alpha1
65+
kind: Resource
66+
metadata:
67+
name: buildkite-pipeline-llvm-apple-version
68+
description: "Pipeline for LLVM Apple version"
69+
links:
70+
- title: Pipeline
71+
url: https://buildkite.com/elastic/llvm-apple
72+
73+
spec:
74+
type: buildkite-pipeline
75+
owner: group:ingest-fp
76+
system: buildkite
77+
implementation:
78+
apiVersion: buildkite.elastic.dev/v1
79+
kind: Pipeline
80+
metadata:
81+
name: llvm-apple
82+
description: "Pipeline for LLVM Apple version"
83+
spec:
84+
# branch_configuration: "main v1.*" # temporarily disable to build PRs from forks #TODO - enable when pipeline is ready
85+
pipeline_file: ".buildkite/llvm-apple-pipeline.yml"
86+
provider_settings:
87+
build_tags: true
88+
publish_commit_status: true
89+
build_pull_request_forks: false
90+
build_pull_requests: true # requires filter_enabled and filter_condition settings as below when used with buildkite-pr-bot
91+
filter_enabled: true
92+
filter_condition: >-
93+
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
94+
repository: elastic/golang-crossbuild
95+
cancel_intermediate_builds: true
96+
cancel_intermediate_builds_branch_filter: '!main'
97+
skip_intermediate_builds: true
98+
skip_intermediate_builds_branch_filter: '!main'
99+
# env:
100+
# ELASTIC_PR_COMMENTS_ENABLED: 'true' #TODO - enable when pipeline is ready
101+
teams:
102+
ingest-fp:
103+
access_level: MANAGE_BUILD_AND_READ
104+
everyone:
105+
access_level: READ_ONLY
106+
107+
---
108+
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
109+
apiVersion: backstage.io/v1alpha1
110+
kind: Resource
111+
metadata:
112+
name: buildkite-pipeline-fpm
113+
description: "Pipeline for FPM (packaging made simple)"
114+
links:
115+
- title: Pipeline
116+
url: https://buildkite.com/elastic/fpm
117+
118+
spec:
119+
type: buildkite-pipeline
120+
owner: group:ingest-fp
121+
system: buildkite
122+
implementation:
123+
apiVersion: buildkite.elastic.dev/v1
124+
kind: Pipeline
125+
metadata:
126+
name: fpm
127+
description: "Pipeline for FPM (packaging made simple)"
128+
spec:
129+
# branch_configuration: "main v1.*" # temporarily disable to build PRs from forks #TODO - enable when pipeline is ready
130+
pipeline_file: ".buildkite/fpm-pipeline.yml"
131+
provider_settings:
132+
build_tags: true
133+
publish_commit_status: true
134+
build_pull_request_forks: false
135+
build_pull_requests: true # requires filter_enabled and filter_condition settings as below when used with buildkite-pr-bot
136+
filter_enabled: true
137+
filter_condition: >-
138+
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
139+
repository: elastic/golang-crossbuild
140+
cancel_intermediate_builds: true
141+
cancel_intermediate_builds_branch_filter: '!main'
142+
skip_intermediate_builds: true
143+
skip_intermediate_builds_branch_filter: '!main'
144+
# env:
145+
# ELASTIC_PR_COMMENTS_ENABLED: 'true' #TODO - enable when pipeline is ready
146+
teams:
147+
ingest-fp:
148+
access_level: MANAGE_BUILD_AND_READ
149+
everyone:
150+
access_level: READ_ONLY

0 commit comments

Comments
 (0)