-
Notifications
You must be signed in to change notification settings - Fork 222
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
Proposal: adoption of pipelines-as-code
#883
Comments
/kind feature |
I'm all in favor! |
I'm very excited about this as well! I created a doc comparing our goals for workflows with pipelines as code (join tekton-dev google group to view + comment). |
I like this approach too; as a general statement, it looks like the projects are more convergent than divergent, and the areas of divergence appear surmountable. |
I've opened #936 proposing adopting Pipelines as Code. Please take a look if you're interested! |
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. |
@afrittoli @abayer @JeromeJu @jerop @dibyom @wlynch I would love to re-open this to discussion. cc @chmouel, wdyt ? One thought we had was, to setup pipelines-as-code on a cluster (maybe dogfooding or somewhere else), hook it up to a repository under |
yes the refactoring could be quite a lot of work (ie: ~ 6 months) if we were planning a rewrite, i'll be happy to help setup pac as demo to show how this could works on one of the tektoncd/ repos |
@afrittoli @chitrangpatel what do you think of the above proposal ? We would start with |
@vdemeester I really like it! Did you mean |
I mean |
Understood. Makes sense to me. |
In terms of Tekton adopting the project, it's ok for me, as long as the current project community is happy continue contributing to the project under the new home, abide to the Tekton CoC, CLA, etc (which I expect it won't be an issue as they are all Tekton contributors already). Tekton has long needed a quick-path option to adoption, an optional component for people to quickly get up and running with Tekton, and PAC may provide that functionality. By joining Tekton, the project will gain access to the hosting foundation outreach channels which may help further grow its community and adopters. The only concern I have is in term of infrastructure. Tekton has been working to reduce infrastructure spending, and before PAC is accepted I would like to make sure that this will not bring a significant increase in infra costs. The project should publish releases to ghcr.io, like other Tekton projects. As you suggested PAC itself could be used for CI, which would require additionally running the PAC control plane in our dogfooding cluster. If that would enable us to sunset our usage of prow it would be a net win. We could switch to GitHub merging queues to sunset tide and use GitHub action based chatopts. |
@afrittoli Thanks for rekicking this! Pipelines-as-Code (PAC) generally adheres to the Tekton project's best practices. For instance, we already use the While we don’t currently have a built-in merge queue, integrating with GitHub's native merge queue (or similar solutions) shouldn't present any major challenges. If issues arise, we’re committed to addressing them as needed. About the Infrastructure:The current Pipelines-as-Code dogfooding setup is running on:
CI Details:The CI is entirely based on Kind and runs on GitHub Actions (GHA). It executes for every PR and includes a nightly job. We had some rate limiting due of tokens (which is not automated i mostly renew them every 3 months manually) but since we moved to GHA we don't do as much running tests on public github. Most of our "functional" tests that is not provider specifics has been moved to Gitea/Forgejo as well, so we have quite a lot of testcases that are "self-contained" on the gitea instance deployed on CI. Things to Consider:1. Cluster (OpenShift → Kubernetes):
2/3. Migrating VMs:
4. Gosmee Service:
5. Bootstrap VM:
6. Documentation:
7. Release Process:
Let me know if I missed anything! |
TL;DR: adoption of
pipelines-as-code
in thetektoncd
org (https://pipelinesascode.com/).The
pipelines-as-code
propose an opinionated CI based on OpenShift Pipelines / Tekton. Its goal is to let you define your Tekton templates inside your source code repository and have the pipeline run and report the status of the execution when triggered by a Pull Request or a Push.Some notably features of
pipelines-as-code
:tkn-pac
plug-in for Tekton CLI for managing pipelines-as-code repositories and bootstrapping.It is currently shipped with OpenShift Pipelines but it is released independently. It is also working and tested on vanilla kubernetes and has nothing OpenShift specific in the code.
The proposal is to have
pipelines-as-code
hosted and maintained by the community, and help shape the next set of Tektoncd components.Who will own it
The text was updated successfully, but these errors were encountered: