Skip to content
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

FR: Be able to use any github repo without kurtosis locators #2216

Open
barnabasbusa opened this issue Feb 26, 2024 · 4 comments
Open

FR: Be able to use any github repo without kurtosis locators #2216

barnabasbusa opened this issue Feb 26, 2024 · 4 comments
Labels
cli For bugs relating to the CLI feature request painful Painful bug

Comments

@barnabasbusa
Copy link
Collaborator

Background & motivation

It would be great if I could reference any github repo without needing to have a kurtosis.yml locator.

Desired behaviour

Be able to use any github repo without kurtosis locator.

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

@github-actions github-actions bot added cli For bugs relating to the CLI painful Painful bug labels Feb 26, 2024
@mieubrisse
Copy link
Collaborator

Thanks for filing this @barnabasbusa ! I'd love to get more info on the usecase you're thinking about for this

@barnabasbusa
Copy link
Collaborator Author

it would be in combination of this issue: #2215

Where I could reference any arbitrary dockerfile in any
random github repo, or possibly any url.

@mieubrisse
Copy link
Collaborator

mieubrisse commented Feb 29, 2024

This makes sense to me. So just repeating my understanding of this ticket + #2215 , would the following solve your problem?

  1. Kurtosis allows you to use Github locators even if there's not a Kurtosis kurtosis.yml at it (e.g. github.com/ethereum/go-ethereum)
  2. Kurtosis allows you to use arbitrary paths on your filesystem (e.g. /home/barnabas/code/my-custom-microservice)

IMPLEMENTATION NOTES FOR KURTOSIANS:

  • The above supposes "implicit packages", i.e. we don't need an explicit kurtosis.yml
  • If we do this, we should have a lockfile to ensure that Kurtosians can't be victim of supply chain attacks. This has been a long time in coming anyways.

@barnabasbusa
Copy link
Collaborator Author

Yes, and ideally also allow random urls and use the content of the raw url to build a dockerimage.

e.g pastebin url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli For bugs relating to the CLI feature request painful Painful bug
Projects
None yet
Development

No branches or pull requests

2 participants