-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feature request: running pipelines locally #235
Comments
I think we should recommend minikube for local development/iteration of pipelines, and have good documentation to cover this use case.
If minikube is too heavy a dependency to take, it might be possible to do minimal local orchestration with |
That would be great.
That's what I was thinking. Running a cluster is a little bit heavy, this is coming from someone working on another "light" local cluster (sigs.k8s.io/kind).
Your minikube deployment won't look quite like prod either. 🙃 I understand not wanting to implement that though :-) To the other point, what is the expectation around iterating on the code under build / test rather than the pipeline? This seems further heavy handed at the moment, it looks like we need to tell people to push their code first and then tweak the pipeline to download their branch / fork instead ...? |
That's a great point, I think this is We should definitely push for being able to try this locally without pushing anything! As far as our roadmap is concerned we probably won't have this (#235) prioritized for our current milestone but I think we could look at it for the next one! (Unless one of our contributors wants to take a look in the meantime!!) |
@ndeloof's https://github.com/ndeloof/kitten could be a super promising answer to part of this :D |
Quick update: I think this is looking more and more promising as we add features like |
FYI, I've been happily running Tekton locally on my Mac with Rancher's k3d. k3d is very lightweight compared to minikube. I recently created a gist for how I set it up https://gist.github.com/carltonmason/72a494080887175245a8abb7d3dc14f7. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is currently in our roadmap but also under debate in tektoncd/community#145 /lifecycle frozen |
There's a solution from @vdemeester - https://github.com/vdemeester/buildkit-tekton Maybe we can consider this done after adopting the project? tektoncd/community#674 |
@jerop I need to update the project a bit, but yes, this is definitely something we could discuss 👼🏼 |
Hello from kubernetes/test-infra! 👋 -- We think the pipeline is really interesting and we'd like to use it more, and we (I) have a feature request which we get a lot with our current "jobs" system:
and
We've considered solving this for "ProwJobs" and while looking at prior art I found https://github.com/GoogleCloudPlatform/cloud-build-local, which has an implementation of this for GCB which looks a bit similar ...
I'd like to start a discussion around how we could potentially accomplish this for the build pipeline.
For the first case just being able to run it locally in some form is sufficient, for the second case users would likely want to be able to mount not-yet-pushed code to the job and build / test that.
If you all are interested, I'd like to help with this.
I think it could be a "killer" feature to be able to iterate on running and testing your containerized pipelines locally before submitting them to whatever CI you will use in production. I know Prow users would love this.
cc @bobcatfish
The text was updated successfully, but these errors were encountered: