From 4b2c1b5236f3e285297d5d97e4e795b3f13fe62e Mon Sep 17 00:00:00 2001 From: Petros Paraskevopoulos Date: Mon, 1 Jul 2024 13:09:43 +0300 Subject: [PATCH] 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/beta-builds.yml | 3 +++ .buildkite/code-freeze.yml | 3 +++ .buildkite/complete-code-freeze.yml | 3 +++ .buildkite/finalize-release.yml | 3 +++ .buildkite/new-beta-release.yml | 3 +++ .buildkite/pipeline.yml | 3 +++ .buildkite/release-builds.yml | 3 +++ .buildkite/schedules/dependency-analysis.yml | 3 +++ .buildkite/update-release-notes.yml | 3 +++ 9 files changed, 27 insertions(+) diff --git a/.buildkite/beta-builds.yml b/.buildkite/beta-builds.yml index 782a48c9c9b5..d7ee1deef39f 100644 --- a/.buildkite/beta-builds.yml +++ b/.buildkite/beta-builds.yml @@ -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 diff --git a/.buildkite/code-freeze.yml b/.buildkite/code-freeze.yml index f5c20aa96a87..ab1e90253793 100644 --- a/.buildkite/code-freeze.yml +++ b/.buildkite/code-freeze.yml @@ -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. diff --git a/.buildkite/complete-code-freeze.yml b/.buildkite/complete-code-freeze.yml index 4f563dd1b17b..8e27d9888b7a 100644 --- a/.buildkite/complete-code-freeze.yml +++ b/.buildkite/complete-code-freeze.yml @@ -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. diff --git a/.buildkite/finalize-release.yml b/.buildkite/finalize-release.yml index cfc032f17f3c..1900c4ad6b3f 100644 --- a/.buildkite/finalize-release.yml +++ b/.buildkite/finalize-release.yml @@ -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. diff --git a/.buildkite/new-beta-release.yml b/.buildkite/new-beta-release.yml index 9880e714051f..1b72021511c1 100644 --- a/.buildkite/new-beta-release.yml +++ b/.buildkite/new-beta-release.yml @@ -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. diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 290f05477e29..227a0a21dcf2 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 +--- + # Nodes with values to reuse in the pipeline. common_params: # Common plugin settings to use with the `plugins` key. diff --git a/.buildkite/release-builds.yml b/.buildkite/release-builds.yml index e866f7026197..eb4df6618207 100644 --- a/.buildkite/release-builds.yml +++ b/.buildkite/release-builds.yml @@ -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 diff --git a/.buildkite/schedules/dependency-analysis.yml b/.buildkite/schedules/dependency-analysis.yml index fd89a6ad5f23..5787bb5c2d5e 100644 --- a/.buildkite/schedules/dependency-analysis.yml +++ b/.buildkite/schedules/dependency-analysis.yml @@ -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. diff --git a/.buildkite/update-release-notes.yml b/.buildkite/update-release-notes.yml index 2836f04083c5..4d1aab1ef66b 100644 --- a/.buildkite/update-release-notes.yml +++ b/.buildkite/update-release-notes.yml @@ -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.