kurtosis-tech / kurtosis

A platform for packaging and launching ephemeral backend stacks with a focus on approachability for the average developer.
https://docs.kurtosistech.com/
Apache License 2.0
353 stars 52 forks source link

Allow kurtosis run to take a json file from url #1596

Closed barnabasbusa closed 11 months ago

barnabasbusa commented 11 months ago

Background & motivation

Currently the args-file can take a local image only.

kurtosis run github.com/kurtosis-tech/ethereum-package --args-file https://raw.githubusercontent.com/ethpandaops/dencun-testnet/bbusa/devnet-10/kurtosis/devnet-10.json
Error:  An error occurred running command 'run'
  Caused by: An error occurred calling the run function for command 'run'
  Caused by: attempted to read file provided by flag 'args-file' with path 'https://raw.githubusercontent.com/ethpandaops/dencun-testnet/bbusa/devnet-10/kurtosis/devnet-10.json' but failed
  Caused by: open https://raw.githubusercontent.com/ethpandaops/dencun-testnet/bbusa/devnet-10/kurtosis/devnet-10.json: no such file or directory

Desired behaviour

It would be great if it could take a remote file also.

For example it would be great if this would be supported:

kurtosis run github.com/kurtosis-tech/ethereum-package --args-file https://raw.githubusercontent.com/ethpandaops/dencun-testnet/bbusa/devnet-10/kurtosis/devnet-10.json

How important is this to you?

Painful; the lack of this feature makes using Kurtosis frictionful.

What area of the product does this pertain to?

CLI: the Command Line Interface

leeederek commented 11 months ago

Thanks @barnabasbusa for filing this.

To recap the behavior you'd expect (we chatted over discord, but putting this here for everyone else)


- If its a dead link, return a 404