Comments (6)
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
from docker-buildkite-plugin.
I think something like propagate-env: true
or include-all-env: true
or automatic-environment: true
avoiding something like build
as that is a bit confusing re docker build
steps:
- command: "echo \$BUILDKITE_COMMIT"
plugins:
- docker#v2.0.0:
image: bash
propagate-env: true
from docker-buildkite-plugin.
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)
from docker-buildkite-plugin.
I would have thought all of them, e.g what you'd normally have in a naked step?
from docker-buildkite-plugin.
Yeah, I'd imagine that we'd load all of them via the envfile
.
from docker-buildkite-plugin.
@toolmantim / @lox have you had any time to poke #80?
from docker-buildkite-plugin.
Related Issues (20)
- Pull request tests are building on the wrong repository HOT 1
- Why doesn't `propagate-environment` include env vars set in hooks? HOT 6
- input from block steps not passed in env HOT 1
- Can't interpolate ENV vars in mount path HOT 3
- Docker on Docker support HOT 1
- Exit codes > 1 are not correctly propagated HOT 2
- Dependency Dashboard
- GPU parameters not passing in Docker Run {--gpus 1} HOT 3
- Allow setting config globally, instead of per step HOT 1
- Limitation with an array of commands at the step level
- Handling of parameters when shell is false HOT 4
- Changing the Docker Version from 20.10.9 to 20.10.22 HOT 1
- `.ssh/known_hosts` mounted in wrong location when both `mount-ssh-agent` and `user` are used HOT 3
- Documentation: expand-volume-vars expansion time HOT 2
- error pulling amazonlinux:latest HOT 6
- How to pass environment variable to command? HOT 2
- Support for other docker commands than docker run HOT 2
- Windows: docker: Error response from daemon: invalid volume specification
- add `expand-workdir-vars` option HOT 1
- Next major version should support the 99% case HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-buildkite-plugin.