Code Monkey home page Code Monkey logo

Comments (6)

lox avatar lox commented on July 28, 2024

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.

zsims avatar zsims commented on July 28, 2024

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.

toolmantim avatar toolmantim commented on July 28, 2024

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.

zsims avatar zsims commented on July 28, 2024

I would have thought all of them, e.g what you'd normally have in a naked step?

from docker-buildkite-plugin.

lox avatar lox commented on July 28, 2024

Yeah, I'd imagine that we'd load all of them via the envfile.

from docker-buildkite-plugin.

zsims avatar zsims commented on July 28, 2024

@toolmantim / @lox have you had any time to poke #80?

from docker-buildkite-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.