buddy-cli icon indicating copy to clipboard operation
buddy-cli copied to clipboard

Add ability to set environment variables for an execution

Open khamer opened this issue 5 years ago • 2 comments

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 avatar Jun 06 '19 15:06 khamer

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

khamer avatar Jun 24 '19 14:06 khamer

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 :wink:

akondas avatar Oct 30 '19 08:10 akondas