Skip to content

Commit

Permalink
Merge pull request wordpress-mobile#21023 from wordpress-mobile/ci/ad…
Browse files Browse the repository at this point in the history
…d-agent-queue-android-everywhere

[Buildkite] Add Agent Attribute with Queue Android to Every YML File
  • Loading branch information
ParaskP7 authored Jul 1, 2024
2 parents 905a57b + 4b2c1b5 commit d0c2719
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .buildkite/beta-builds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# This pipeline is meant to be run via the Buildkite API, and is
# only used for beta builds

Expand All @@ -7,6 +10,9 @@ common_params:
- &common_plugins
- automattic/a8c-ci-toolkit#3.4.2

agents:
queue: "android"

steps:
#################
# Gradle Wrapper Validation
Expand Down
6 changes: 6 additions & 0 deletions .buildkite/code-freeze.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# Nodes with values to reuse in the pipeline.
common_params:
# Common plugin settings to use with the `plugins` key.
- &common_plugins
- automattic/a8c-ci-toolkit#3.4.2

agents:
queue: "android"

steps:
- label: "Code Freeze"
plugins: *common_plugins
Expand Down
6 changes: 6 additions & 0 deletions .buildkite/complete-code-freeze.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# Nodes with values to reuse in the pipeline.
common_params:
# Common plugin settings to use with the `plugins` key.
- &common_plugins
- automattic/a8c-ci-toolkit#3.4.2

agents:
queue: "android"

steps:
- label: "Complete Code Freeze"
plugins: *common_plugins
Expand Down
6 changes: 6 additions & 0 deletions .buildkite/finalize-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# Nodes with values to reuse in the pipeline.
common_params:
# Common plugin settings to use with the `plugins` key.
- &common_plugins
- automattic/a8c-ci-toolkit#3.4.2

agents:
queue: "android"

steps:
- label: "Finalize release"
plugins: *common_plugins
Expand Down
6 changes: 6 additions & 0 deletions .buildkite/new-beta-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# Nodes with values to reuse in the pipeline.
common_params:
# Common plugin settings to use with the `plugins` key.
- &common_plugins
- automattic/a8c-ci-toolkit#3.4.2

agents:
queue: "android"

steps:
- label: "New Beta Release"
plugins: *common_plugins
Expand Down
3 changes: 3 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# Nodes with values to reuse in the pipeline.
common_params:
# Common plugin settings to use with the `plugins` key.
Expand Down
6 changes: 6 additions & 0 deletions .buildkite/release-builds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# This pipeline is meant to be run via the Buildkite API, and is
# only used for release builds

Expand All @@ -7,6 +10,9 @@ common_params:
- &common_plugins
- automattic/a8c-ci-toolkit#3.4.2

agents:
queue: "android"

steps:
#################
# Gradle Wrapper Validation
Expand Down
5 changes: 3 additions & 2 deletions .buildkite/schedules/dependency-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# Nodes with values to reuse in the pipeline.
common_params:
# Common plugin settings to use with the `plugins` key.
Expand All @@ -9,9 +12,7 @@ agents:

steps:
- label: "dependency analysis"
# The meta-data added is used by Apps Metrics Prometheus collector to find the build.
command: |
buildkite-agent meta-data set "scheduled-build" "dependency-analysis"
echo "--- 📊 Analyzing"
cp gradle.properties-example gradle.properties
./gradlew buildHealth
Expand Down
6 changes: 6 additions & 0 deletions .buildkite/update-release-notes.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# Nodes with values to reuse in the pipeline.
common_params:
# Common plugin settings to use with the `plugins` key.
- &common_plugins
- automattic/a8c-ci-toolkit#3.4.2

agents:
queue: "android"

steps:
- label: "Update release notes"
plugins: *common_plugins
Expand Down

0 comments on commit d0c2719

Please sign in to comment.