From 87c7e15c0e14b6674318c709c4d9b6e8a3dbd195 Mon Sep 17 00:00:00 2001 From: Petros Paraskevopoulos Date: Mon, 8 Jul 2024 16:17:29 +0300 Subject: [PATCH 1/2] CI: Add yaml language server schema to allow ides to recognize yml files FYI: This will offer syntax highlighting and autocompletion when editing those files in those IDEs (like VSCode). --- .buildkite/pipeline.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index b3597fb37..49d91e017 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,3 +1,6 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json +--- + # Run everything on the `android` queue agents: queue: android From 7bf99fb89ad76441f52f9760c6f75f7721c8a9aa Mon Sep 17 00:00:00 2001 From: Petros Paraskevopoulos Date: Mon, 8 Jul 2024 16:18:44 +0300 Subject: [PATCH 2/2] Refactor: Move agents queue android below common params plugins section This is done purely for consistency purposes with how the rest '*.yml' files on all the rest of our projects are being configured. --- .buildkite/pipeline.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 49d91e017..7c06bf899 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,16 +1,16 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json --- -# Run everything on the `android` queue -agents: - queue: android - # 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#2.14.0 +# Run everything on the `android` queue +agents: + queue: android + steps: - label: "Gradle Wrapper Validation" command: |