Skip to content

Commit 7b77ea5

Browse files
committed
Fix bk/cli test
1 parent ebf3704 commit 7b77ea5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .buildkite/steps/test-bk.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ set -euo pipefail
33

44

55
echo "--- :package: Downloading bk binary"
6-
curl -Lfs -o bk https://github.com/buildkite/cli/releases/download/v1.2.0/cli-linux-amd64
7-
chmod +x ./bk
6+
go install github.com/buildkite/cli/v2/cmd/bk@pdp-478-teach-bk-cli-how-to-receive-async
87

98
echo "--- :package: Downloading built binary"
109
rm -rf pkg/*
1110
buildkite-agent artifact download pkg/buildkite-agent-linux-amd64 .
1211
mv pkg/buildkite-agent-linux-amd64 pkg/buildkite-agent
1312
chmod +x pkg/buildkite-agent
1413

14+
echo "--- :buildkite: Uploading a pipeline with bk cli as a backend"
1515
export PATH="$PWD/pkg:$PATH"
16-
./bk run --debug .buildkite/pipeline.bk-test.yml
16+
bk run --debug .buildkite/pipeline.bk-test.yml

0 commit comments

Comments
 (0)