I have a pipeline with a group step and a github commit status notify at the group level. The status correctly shows as Pending, then Started, as the jobs kick off, but if one of the jobs fails, the status remains stuck in pending.
Simplified section of the pipeline:
- group: "Run e2e tests"
key: "e2e-tests"
notify:
- github_commit_status:
context: "$BUILDKITE_PIPELINE_NAME/e2e-tests"
steps:
- label: "Wait for integration env to be ready"
command: ./scripts/wait-for-env.sh
- wait
- label: "Run e2e tests against integration env"
command: ./scripts/run-tests.sh
plugins:
- docker#v5.7.0:
image: "node:20"
environment:
- "BUILDKITE_PULL_REQUEST"
- "BUILDKITE_COMMIT"
depends_on:
- "ci-lint"
if: "!build.pull_request.draft && build.pull_request.id != null"
I’m trying to have the commit status pass when the group passes, and fail when any step in the group fails.