-
Notifications
You must be signed in to change notification settings - Fork 85
Labels
cliFor bugs relating to the CLIFor bugs relating to the CLIfeature requestnice to haveNice to have featureNice to have feature
Description
Background & motivation
It would be great if the output of a run_sh could be stored in a named global files artifact.
Something like this:
genesis_validators_root = plan.run_sh(
run="cat /data/data/custom_config_data/genesis_validators_root.txt",
image="busybox",
files={"/data": genesis.files_artifacts[0]},
wait=None, )
artifact.name = "whatever"
artifact.content = genesis_validators_root.output
return artifactDesired behaviour
Currently the only way to get the artifact out of a run_sh instruction is by creating a new struct for it, and you will have to refer to it as a uuid instead of the artifact name.
def new_el_cl_genesis_data(
files_artifact_uuid,
genesis_validators_root,
):
return struct(
files_artifact_uuid=files_artifact_uuid,
genesis_validators_root=genesis_validators_root,
)How important is this to you?
Nice to have; this feature would make using Kurtosis more enjoyable.
What area of the product does this pertain to?
CLI: the Command Line Interface
Metadata
Metadata
Assignees
Labels
cliFor bugs relating to the CLIFor bugs relating to the CLIfeature requestnice to haveNice to have featureNice to have feature