I’m trying to track down an issue with posting github status’s.
I have a single pipeline.yml and a single pipeline (slug pr-build). I want to be able to kick it off with an env-var which tells it which part of my monorepo to build, and I want to post back the status to github with the name of the service. (the other side of it is here: Slack)
I started following this: GitHub | Buildkite Documentation
But it doesn’t appear to work. Either I turn on Update commit statuses andI get a single status of buildkite/pr-build or I turn it off (as per the docs), put this at the top of my pipeline.yml, and I get… nothing. Other docs I can find on the site don’t mention github_commit_status at all
notify:
- github_commit_status:
context: "buildkite/pr/xxxx" <<----- I want this to be "buldkite/pr/${LAMBDA_NAME}" eventually
steps:
- label: ":lambda: build and lint (pr)"
branches: "!master"
...
Anyone got any ideas?