docker-compose-buildkite-plugin icon indicating copy to clipboard operation
docker-compose-buildkite-plugin copied to clipboard

Support propagate-environment

Open pecigonzalo opened this issue 6 years ago • 1 comments

It would be great to support propagate-environment as done in https://github.com/buildkite-plugins/docker-buildkite-plugin

pecigonzalo avatar Jul 22 '19 12:07 pecigonzalo

Was about to open a request for this. I'm currently doing this janky bash/awk thing, but it can only pass through the variables that are set on the box doing pipeline upload, it can't automatically know about env keys (I had to add NODE_ENV manually):

docker_compose_environment: &docker_compose_environment
  - AWS_DEFAULT_REGION
$(env | awk -F= '/^BUILDKITE/ {print "  - " $1}')
  - CI
  - NODE_ENV
EOT

ianwremmel avatar Mar 19 '20 16:03 ianwremmel

Duplicate of #61

toote avatar Sep 21 '22 22:09 toote