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

Add ability to set environment variables for an execution #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

khamer
Copy link

@khamer khamer commented Jun 6, 2019

Working through some use cases for the buddy-cli, and the ability to set environment variables for a specific execution seems really handy, and already exists within the API.

This PR adds that functionality, following this format:

$ buddy-cli -w WORKSPACE -p PROJECT pl run PIPELINE -e key1=val -e key2=val2

I added it to the README as well. Let me know what you think and if there's other changes you'd like to see.

@khamer
Copy link
Author

khamer commented Jun 24, 2019

I missed the 'Pass arguments' action - there might be worth I could do on this PR to better integrate it with that action.

@akondas
Copy link
Contributor

akondas commented Oct 30, 2019

Hey @khamer, thanks for contribution, can you also add test for this?
One more thing, -e key1=val -e key2=val2 this can also be shown in readme as example 😉

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

Successfully merging this pull request may close these issues.

None yet

2 participants