Skip to content
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

passenv support #44

Open
brettlangdon opened this issue Nov 3, 2020 · 2 comments
Open

passenv support #44

brettlangdon opened this issue Nov 3, 2020 · 2 comments
Assignees
Milestone

Comments

@brettlangdon
Copy link
Member

Being able to pass through environment variables set on the system to the jobs.

This is helpful for CI/CD set environment variables CIRCLECI_*/etc

@majorgreys majorgreys added this to the 0.3.0 milestone Nov 23, 2020
@majorgreys majorgreys self-assigned this Nov 23, 2020
@Kyle-Verhoog
Copy link
Member

This is actually already supported through --pass-env unless we only want to pass through specific env vars (which would probably be more helpful than copying os.environ).

@jd
Copy link
Contributor

jd commented Nov 24, 2020

We could have something like the -e option of docker where it defaults to pass the value unless you set =foobar.

-e FOOBAR passes FOOBAR
-e FOOBAR=lol sets FOOBAR to lol

@Kyle-Verhoog Kyle-Verhoog modified the milestones: 0.3.0, 0.4.0, 0.5.0 Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants