-
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
Binary (local) input type #924
Comments
@markusthoemmes could you give a bit more detail about what exactly this would look like from a user perspective? I'm just trying to wrap my head around where the data would actually be coming from. Since Tekton Tasks currently execute on a k8s node, would data from "the local filesystem" be data from the disk on the node, or would it be data from the user's machine, which would be uploaded to the node? If it's the later case then it sounds to me like the key to addressing this might be to tackle #235 (but maybe im misunderstanding!) |
@bobcatfish I think the initial use-case @markusthoemmes is aiming for is some FAAS-like behavior where you could, as an example, send your code directly to a Pipeline that will, once succeeded, deploy on Knative, without having to rely on any source-code management like a git repository or else. This is a bit related to tektoncd/cli#53.
|
Hm okay I think this is making a bit more sense @vdemeester ! So would this be a use case where a user is manually creating Or is this more about making it possible to actually store that data somewhere - e.g. ephemerally in the k8s cluster - without requiring some external storage like a git repo or a storage bucket? |
So, the A side effect would be to run easily tekton pipelines locally without having to share anything with the k8s cluster (aka |
So I was about to create an issue for adding a |
After thinking about this for a while and starting an experimental prototype of a |
Your idea is correct @abayer. We need to mount a volume to the tekton's pod created to let a tool such as oc, odo, kubectl, ... to push as binary the code of the project to be |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Hi @cmoulliard or @markusthoemmes , I am not sure do you have any update about this issue? We also have this kind of requirement that we want to upload some local folder to a Tekton task to build the related container image. Is there a new InputResource for that or any new solution for that?
Or can we know how to do about the the project Thanks! |
/remove-lifecycle rotten |
/lifecycle frozen |
Openshift builds have a really neat concept of Binary (local) sources. Essentially, it gives you an API to stream binary contents into a build from anywhere (including the local file system).
This opens the door for nice FaaS-style user-experiences, where the user might want to do something like
cli create my-large-packaged-nodejs-function.zip
, then expect this to be build into a container image and ultimately that image then being pushed to run somewhere (for example Knative Serving).This flow would be possibly without requiring the user to push this code somewhere and without the user having to install software to build and manage images.
Would that be something that Tekton could support?
The text was updated successfully, but these errors were encountered: