cli
cli copied to clipboard
"local run" does not interpolate environment variables in pipeline.yml
Version: d57d7d87d471c114eaf0f6ab91743568abad56c7
I have this in my pipeline.yml file:
steps:
- label: foo
command: 'echo hi'
plugins:
- docker-compose#${COMPOSE_VERSION}:
run: app
And I run this:
$ export COMPOSE_VERSION=v2.6.0
$ bk local run
2019/02/06 10:19:41 Error getting git commit: exit status 128
2019/02/06 10:19:41 Error getting git branch: exit status 128
>>> Starting local agent 🤖
>>> Starting build 👟
>>> Executing initial command: buildkite-agent pipeline upload
>>> Executing command step foo
~~~ Setting up plugins
$ cd /Users/ssuter/workspace/bktest
🚨 Error: Failed to checkout plugin docker-compose: Incomplete plugin path "docker-compose"
>>> 🚨 Command failed in 3.069498517s
🚨 Job failed with code 1
There's a workaround in issue 40
We've not included local run in v3 for now, so I'm going to close this. Given there is a workaround mentioned I'll mark it as done. Feel free to re-open if need be, as we plan on having a local run or something similar in the future, just not now