From cb240a487b6e6459ac9baf515ccfc1c26303cfc1 Mon Sep 17 00:00:00 2001 From: Ian Maia Date: Tue, 10 Sep 2024 20:30:21 +0200 Subject: [PATCH] Add `github_commit_status` to all pipeline jobs --- .buildkite/pipeline.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index ab1feb0..492c291 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 +--- + # For convenience with the many install_swiftpm_dependencies steps, we declare agents and env for macOS in the root, then specialize the fewer remaining steps agents: queue: mac @@ -7,11 +10,17 @@ env: steps: - label: ":sleuth_or_spy: Lint" command: make lint + notify: + - github_commit_status: + context: Lint agents: queue: default - label: ":microscope: Test" command: make test + notify: + - github_commit_status: + context: Test agents: queue: default @@ -22,6 +31,9 @@ steps: retry: manual: permit_on_passed: true + notify: + - github_commit_status: + context: Danger - PR Check agents: queue: linter @@ -29,27 +41,54 @@ steps: steps: - label: ":swift: Standalone Swift Package - Autodetect" command: tests/install_swiftpm_dependencies/test_scripts/test_package_automatic.sh + notify: + - github_commit_status: + context: Standalone Swift Package - Autodetect - label: ":swift: Standalone Swift Package - Explicit" command: tests/install_swiftpm_dependencies/test_scripts/test_package_explicit.sh + notify: + - github_commit_status: + context: Standalone Swift Package - Explicit - label: ":xcode: Xcode Project - Autodetect" command: tests/install_swiftpm_dependencies/test_scripts/test_project_automatic.sh + notify: + - github_commit_status: + context: Xcode Project - Autodetect - label: ":xcode: Xcode Project - Explicit" command: tests/install_swiftpm_dependencies/test_scripts/test_project_explicit.sh + notify: + - github_commit_status: + context: Xcode Project - Explicit - label: ":xcode: Xcode Project - No Package.resolved" command: tests/install_swiftpm_dependencies/test_scripts/test_project_no_package.sh + notify: + - github_commit_status: + context: Xcode Project - No Package.resolved - label: ":xcode: Xcode Workspace - Autodetect" command: tests/install_swiftpm_dependencies/test_scripts/test_workspace_automatic.sh + notify: + - github_commit_status: + context: Xcode Workspace - Autodetect - label: ":xcode: Xcode Workspace - Explicit" command: tests/install_swiftpm_dependencies/test_scripts/test_workspace_explicit.sh + notify: + - github_commit_status: + context: Xcode Workspace - Explicit - label: ":xcode: Xcode Workspace and Project - Autodetect" command: tests/install_swiftpm_dependencies/test_scripts/test_workspace_and_project_automatic.sh + notify: + - github_commit_status: + context: Xcode Workspace and Project - Autodetect - label: ":xcode: Xcode Workspace and Project - Explicit" command: tests/install_swiftpm_dependencies/test_scripts/test_workspace_and_project_explicit.sh + notify: + - github_commit_status: + context: Xcode Workspace and Project - Explicit