Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit ceeeedd

Browse files
committed
DRY env definition in CI
1 parent 83d66fa commit ceeeedd

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.buildkite/pipeline.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
2+
---
3+
4+
env:
5+
IMAGE_ID: xcode-15.3-v3
6+
17
# Nodes with values to reuse in the pipeline.
28
common_params:
39
plugins: &common_plugins
410
- automattic/a8c-ci-toolkit#3.1.0
5-
# Common environment values to use with the `env` key.
6-
env: &common_env
7-
# -v3 contains a workaround for a Simulator boot issue
8-
# See paaHJt-6gL-p2#comment-8712
9-
IMAGE_ID: xcode-15.3-v3
1011

1112
# This is the default pipeline – it will build and test the app
1213
steps:
@@ -21,7 +22,6 @@ steps:
2122
- fastlane/test_output/report.html
2223
- fastlane/test_output/report.junit
2324
- .build/derived-data/Logs/**/*.xcactivitylog
24-
env: *common_env
2525
plugins: *common_plugins
2626

2727
#################
@@ -40,7 +40,6 @@ steps:
4040
key: "lint"
4141
command: |
4242
lint_pod
43-
env: *common_env
4443
plugins: *common_plugins
4544

4645
#################
@@ -49,7 +48,6 @@ steps:
4948
- label: "⬆️ Publish Podspec"
5049
key: "publish"
5150
command: .buildkite/publish-pod.sh
52-
env: *common_env
5351
plugins: *common_plugins
5452
depends_on:
5553
- "test"

0 commit comments

Comments
 (0)