Brigade: Feature request: brig run should directly accept the payload as flag

Created on 12 Jan 2019  路  4Comments  路  Source: brigadecore/brigade

This is useful when running from CI environments and the payload needs information about the current build:

$ brig run --json-payload "<my-json-formatted-payload>"

For example, I'd like to be able to do the following from a Makefile (most likely wrong quotes there, but along the lines of):

brig run --json-payload {"image": "node-demo:$(TAG)"}
enhancement good first issue help wanted

Most helpful comment

The current -p flag points to a file path with the payload. It might be useful to be able to directly construct the payload inline, without writing it to a file.

All 4 comments

@radu-matei I'm unclear how this suggested feature differs from the -p, --payload string The path to a payload file flag already provided on brig run?

The current -p flag points to a file path with the payload. It might be useful to be able to directly construct the payload inline, without writing it to a file.

Can I work on this? @radu-matei

Sure, feel free to tackle this, and let me know if I can help!
Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tamizharasanr picture tamizharasanr  路  4Comments

radu-matei picture radu-matei  路  5Comments

technosophos picture technosophos  路  8Comments

sathyatvrcbe picture sathyatvrcbe  路  6Comments

rmb938 picture rmb938  路  6Comments