-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to use arbitrary files from non-package sources #1700
Comments
It would also be great if the URL specified would recognize if the url points to a file or directory structure, in case its a directory structure, it should create a files artifact off of that directory. This would enable configuring custom ethereum devnets an ease. |
Would like to add another comment here: I have just made a pr to postgres package, but I had no write access to the directory. However, I also have to change the kurtosis.yml for some reason. If I change that in the branch, then the PR will update also, where I would change the default kurtosis.yml (which is obviously not something I want to do). So the only way to make this work, is by changing the kurtosis.yaml to my own repo name, then once the local test is done, revert it, so the PR wouldn't request changes for this file.
It would be very good if kurtosis.yaml file would not be required at all, and you could just import any module from anywhere (yolo mode). |
Hugobyte had this pain point too today. They wanted to upload a set of files from a directory. The workaround can be:
|
## Description: allow any GitHub path on the `upload_files` instruction ## Is this change user facing? YES ## References (if applicable): Fix #1700
Background & motivation
Today, Kurtosis only supports the mounting of files to containers when those files are part of a Kurtosis package. This is painful for when I need to mount files like Grafana dashboard templates to my package for rendering the correct dashboard.
My workarounds today is to store my files in a child/sub package and maintain it. Then, in my main package, import in the child/sub package (via
import_module()
)Desired behaviour
A Kurtosis package author should be able to specify any local file path or URL to fetch data from & turn into a files artifact to use for the services inside their enclaves, without needing to have the desired data to be part of a Kurtosis package.
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
The text was updated successfully, but these errors were encountered: