-
Notifications
You must be signed in to change notification settings - Fork 576
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
Passing multiple workspaces into a task. #444
Comments
So, this is most likely due to the affinity assistant (see here). Overall, in the task you can define as many /cc @jlpettersson |
@vdemeester Thanks Vincent! In our use case, we used the git-clone catalog to fetch the repos and our task has to use multiple repos. If it's not suggested to use more than one workspace in a task, is that possible to extend the functionality of the git-clone catalog, so as it can fetch multiple repos to some customized paths? More context: In a CI/CD workflow, it's not unusual to use a separate repo to store (hydrated) app configurations. To use tekton as the CI/CD framework, the task would then have to deal with multiple repositories. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
@yuwenma I agree with this. I tried to reason about multiple repos in a CI/CD workflow in the end of this comment tektoncd/pipeline#3440 (comment), maybe you agree? |
/remove-lifecycle rotten |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
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. |
Description
I have a pipeline that uses the git-clone task to clone a repository to a workspace. I do this for two different workspaces. Next, I attempt to pass both workspaces into a task. When running this pipeline, I see that it gets stuck on the task that I pass both workspaces into. (This task works fine when only one of the two workspaces is passed in).
Expected Behavior
Task finishes successfully.
Actual Behavior
Task is stuck in "PENDING".
When looking in the pod, I see this.
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: