-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option for propagating all environment variables #79
Comments
Agreed! Any suggestions on what the syntax for that would look like? steps:
- command: "echo \$BUILDKITE_COMMIT"
plugins:
- docker#v2.0.0:
image: bash
build-environment: true |
I think something like
|
Just to be clear… we'd just want the job environment variables sent down from the web UI yeah (the ones in the environment tab)? Not necessarily any environment variables picked up from the Elastic CI Stack environment? (like secrets) |
I would have thought all of them, e.g what you'd normally have in a naked step? |
Yeah, I'd imagine that we'd load all of them via the |
@toolmantim / @lox have you had any time to poke #80? |
Per the Elastic CI for AWS guidance (https://github.com/buildkite/elastic-ci-stack-for-aws#what-type-of-builds-does-this-support):
This results in using this plugin for setting up build dependencies. It would be nice to add an option to propagate all environment variables to the container, e.g.
Rather than having to specify that
BUILDKITE_COMMIT
propagates to the container (withenvironment
)The text was updated successfully, but these errors were encountered: