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
313 stars 42 forks source link

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

Open barnabasbusa opened 4 months ago

barnabasbusa commented 4 months ago

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

mieubrisse commented 4 months ago

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

barnabasbusa commented 4 months ago

it would be in combination of this issue: https://github.com/kurtosis-tech/kurtosis/issues/2215

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

mieubrisse commented 4 months ago

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:

barnabasbusa commented 4 months ago

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

e.g pastebin url