Skip to content

Commit bd12087

Browse files
authored
Merge pull request #150 from wordpress-mobile/deps/update-a8c-ci-toolkit-to-3.4.2
[Dependency Update] Update `a8c-ci-toolkit` to 3.4.2
2 parents eabcc1d + 74097ab commit bd12087

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

.buildkite/pipeline.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
22
---
33

4-
common_params:
5-
# Common plugin settings to use with the `plugins` key.
6-
- &common_plugins
7-
- automattic/a8c-ci-toolkit#2.15.0
8-
94
agents:
105
queue: "android"
116

127
steps:
138
- label: "Gradle Wrapper Validation"
149
command: |
1510
validate_gradle_wrapper
16-
plugins: *common_plugins
11+
plugins: [$CI_TOOLKIT]
1712

1813
# Wait for Gradle Wrapper to be validated before running any other jobs
1914
- wait
2015

2116
- label: "Lint & Checkstyle"
2217
key: "lint_and_checkstyle"
23-
plugins: *common_plugins
18+
plugins: [$CI_TOOLKIT]
2419
command: |
2520
cp gradle.properties-example gradle.properties
2621
./gradlew lintRelease checkstyle
@@ -30,7 +25,7 @@ steps:
3025

3126
- label: "Test"
3227
key: "test"
33-
plugins: *common_plugins
28+
plugins: [$CI_TOOLKIT]
3429
command: |
3530
cp gradle.properties-example gradle.properties
3631
./gradlew testRelease
@@ -39,7 +34,7 @@ steps:
3934
depends_on:
4035
- "lint_and_checkstyle"
4136
- "test"
42-
plugins: *common_plugins
37+
plugins: [$CI_TOOLKIT]
4338
command: |
4439
cp gradle.properties-example gradle.properties
4540
./gradlew \

.buildkite/schedules/dependency-analysis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
22
---
33

4-
common_params:
5-
# Common plugin settings to use with the `plugins` key.
6-
- &common_plugins
7-
- automattic/a8c-ci-toolkit#2.15.0
8-
94
agents:
105
queue: "android"
116

@@ -15,7 +10,7 @@ steps:
1510
echo "--- 📊 Analyzing"
1611
cp gradle.properties-example gradle.properties
1712
./gradlew buildHealth
18-
plugins: *common_plugins
13+
plugins: [$CI_TOOLKIT]
1914
artifact_paths:
2015
- "build/reports/dependency-analysis/build-health-report.*"
2116
notify:

.buildkite/shared-pipeline-vars

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
# This file is `source`'d before calling `buildkite-agent pipeline upload`, and can be used
4+
# to set up some variables that will be interpolated in the `.yml` pipeline before uploading it.
5+
6+
export CI_TOOLKIT="automattic/a8c-ci-toolkit#3.4.2"

0 commit comments

Comments
 (0)