Skip to content

[Feature] - Arazzo Runner - Read input json by filename #36

@YOU54F

Description

@YOU54F

Would be great if I could store my input files in json files, either one-lined or pretty formatted and pass in the filename to the runner, rather than having to pass in the json directly.

I can work around this by one-lining my json input file, and then using --inputs '$(cat ${INPUT_FILE})'

uvx arazzo-runner execute-workflow \
		specs/pact_broker_arazzo.yaml \
		--workflow-id ${WORKFLOW_ID} \
		--server-variables '{"PACTBROKER_RUNNER_SERVER_HOSTNAME": "${HOSTNAME}"}' \
		--inputs '$(cat ${INPUT_FILE})'

but this impacts readability of the input files for users

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions