-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Documentations for using tekton with Prow #13874
Comments
Our experience is that there isn't really documentation at the moment, that said we did manage to get a working pipeline. You'll need to:
Note the While this works and the pipeline runs, there is very little observability into the runs at present which means I can't recommend pushing this to "production", the issues we identified that block us are:
I don't know if any of this has changed since we made our evaluation a few weeks ago, I know this is a very active area of development for Prow at present and things are moving quite quickly |
I wanted to write some docs for installation since quite a while but I haven't had much time. Thanks @JoelSpeed for providing some details above. The install process is a bit tedious at the moment. |
Issue in the tekton backlog possibly relevant to your interests @JoelSpeed : tektoncd/pipeline#1155 ( + @sbwsg ) |
Thanks to kubernetes/test-infra#13874 (comment) SOOOOOON
Thanks to kubernetes/test-infra#13874 (comment) SOOOOOON Questioning your own mental health (yeah) it's like a maze within itself
Thanks to kubernetes/test-infra#13874 (comment) SOOOOOON Questioning your own mental health (yeah) it's like a maze within itself 0.2.0 of pipelines is gonna be the one, i know it
Thanks for writing this up @JoelSpeed !! I was able to get Prow + Pipeline working thanks to this write up :D Quick note: it looks like the |
A step toward tektoncd/pipeline#922 ! This commit adds configuration and supporting docs to get Prow to execute a simple Pipeline on every pull request to the plumbing repo. I am also working on docs in the Prow repo (for kubernetes/test-infra#13874 and tektoncd/pipeline#1187) to explain how one could put this all together from scratch. One important caveat is that we were previously using the Tekton installation in this cluster to do manual releases, and we were keeping our release configuration up to date with the latest version of Tekton Pipelines. Because of kubernetes/test-infra#13948 the newest version we can use with Prow is v0.3.1 so we need to keep our release configs in sync with this for now ( attn folks doing releases @vdemeester @a-roberts @mnuttall - the next thing I want to do is add release automation via Prow so hopefully this won't impact you for long!) Note I have already manually applied this configuration to the cluster 🙏
This commit adds the beginning of some usage documentation about how to get Tekton and Prow working. I wouldn't have been able to do this without @JoelSpeed's guidance in kubernetes#13874 (comment) Thanks @JoelSpeed!!! ❤️ I was able to follow along with these docs and get Tekton + Prow running for `tektoncd` itself: tektoncd/plumbing#66 🎉 Fixes kubernetes#13874
This commit adds the beginning of some usage documentation about how to get Tekton and Prow working. I wouldn't have been able to do this without @JoelSpeed's guidance in kubernetes#13874 (comment) Thanks @JoelSpeed!!! ❤️ I was able to follow along with these docs and get Tekton + Prow running for `tektoncd` itself: tektoncd/plumbing#66 🎉 Fixes kubernetes#13874
This commit adds the beginning of some usage documentation about how to get Tekton and Prow working. I wouldn't have been able to do this without JoelSpeed's guidance in kubernetes#13874 (comment) Thanks JoelSpeed!!! ❤️ I was able to follow along with these docs and get Tekton + Prow running for `tektoncd` itself: tektoncd/plumbing#66 🎉 This is being done for kubernetes#13874
A step toward tektoncd/pipeline#922 ! This commit adds configuration and supporting docs to get Prow to execute a simple Pipeline on every pull request to the plumbing repo. I am also working on docs in the Prow repo (for kubernetes/test-infra#13874 and tektoncd/pipeline#1187) to explain how one could put this all together from scratch. One important caveat is that we were previously using the Tekton installation in this cluster to do manual releases, and we were keeping our release configuration up to date with the latest version of Tekton Pipelines. Because of kubernetes/test-infra#13948 the newest version we can use with Prow is v0.3.1 so we need to keep our release configs in sync with this for now ( attn folks doing releases @vdemeester @a-roberts @mnuttall - the next thing I want to do is add release automation via Prow so hopefully this won't impact you for long!) Note I have already manually applied this configuration to the cluster 🙏
This commit adds the beginning of some usage documentation about how to get Tekton and Prow working. I wouldn't have been able to do this without JoelSpeed's guidance in kubernetes#13874 (comment) Thanks JoelSpeed!!! ❤️ I was able to follow along with these docs and get Tekton + Prow running for `tektoncd` itself: tektoncd/plumbing#66 🎉 This is being done for kubernetes#13874
This commit adds the beginning of some usage documentation about how to get Tekton and Prow working. I wouldn't have been able to do this without JoelSpeed's guidance in kubernetes#13874 (comment) Thanks JoelSpeed!!! ❤️ I was able to follow along with these docs and get Tekton + Prow running for `tektoncd` itself: tektoncd/plumbing#66 🎉 This is being done for kubernetes#13874
Is there a way to construct the Some kind of template in the My goal is to pass the branch name to the pipeline, i guess prow uses the commit hash as revision argument to the Is there a way to pass the branch name to the pipeline in a separate argument ? |
I'm not sure how constructing the PipelineResource differently would help you pass the branch name to the pipeline, but if your goal is to just determine the branch name from within a pipeline you can already do that using the test-infra/prow/cmd/pipeline/controller.go Lines 627 to 639 in 91fce15
|
@cjwagner i just checked, prow injects the variables in the
|
No, the source branch is a branch from the source repo which can be the upstream repo, but is typically a fork repo, so the source branch doesn't necessarily exist in the upstream repo that the presubmit checks out. Why do you need to know the name of the source branch given that it doesn't necessarily even exist in the repo we are checking out? |
I see your point, I didn’t think about forks. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: 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. |
I'm working on migrating a CI pipeline from Google Cloud Build to Prow, yet couldn't figure out a way to let the Prow native Kubernetes agent runs sequentially. It seems like Tekton agent provides the pipeline feature but I couldn't find related documentations for setting up Tekton with Prow.
Issue in Tekton: tektoncd/pipeline#1187
The text was updated successfully, but these errors were encountered: