cli icon indicating copy to clipboard operation
cli copied to clipboard

bk run fails with opaque error

Open nrdxp opened this issue 4 years ago • 2 comments

❯ bk run
>>> Starting local agent 🤖
>>> Starting build 👟
>>> Executing initial command: buildkite-agent pipeline upload
🚨 Initial command failed: Job failed with code 1

Why is it trying to upload anything? I just want it to run locally. Trying a minimal yml doesn't seem to help anything:

steps:
  - command: "echo foo"

nrdxp avatar May 17 '21 11:05 nrdxp

Seeing the same thing with bk local run. Any suggestions?

childish-sambino avatar Nov 07 '22 22:11 childish-sambino

I saw this and the issue for me was that I ran brew install bk instead of the correct brew install buildkite/cli/bk. The latter no longer produced the error.

lukoktonos avatar Nov 28 '23 20:11 lukoktonos

The local run isn't in 3.0.0 and we don't currently have a view to add it in; as has been seen, keeping it in line with the ongoing changes in the agent can mean it falls out of sync. We'll be looking at alternative approaches to using local run.

mcncl avatar Sep 19 '24 06:09 mcncl