Skip to content
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

how to make backend working with jenkins #301

Open
BIRooter opened this issue Jul 11, 2023 · 4 comments
Open

how to make backend working with jenkins #301

BIRooter opened this issue Jul 11, 2023 · 4 comments

Comments

@BIRooter
Copy link

There are only 2 projects have "import jenkins": kernelci-backend/app/utils/bisect/test.py and kernelci-deploy/job.py.

I have a question: how to make jenkins server work with kernelci-backend?

@gctucker
Copy link
Contributor

Hello, unfortunately the kernelci-backend, frontend and Jenkins stack isn't really supported any more. The code base is very old and not properly maintained. We're now working on a new API with its own pipeline that doesn't rely on Jenkins and a new web dashboard as well. Setting up the old system is very cumbersome and there's no simple deployment mechanism.

Could you please explain what you're trying to achieve by setting up your own instance? Maybe we can help you find alternative ways.

@BIRooter
Copy link
Author

Thanks for your reply!

We use gerrit to store our code repositories, jenkins for building. By now we need a CI system for linux kernel. Our colleagues investigated the systems they found, and selected kernelci for this target.

Maybe we shouldn't relay on Jenkins for building, or find other proper CI tool.

Could you give me your advice?

Thanks again!

@gctucker
Copy link
Contributor

If you already have Jenkins and want to keep using it, you can still do that with the new API. There aren't any Jenkins jobs using the new kci command line tool as we're not planning to use it for kernelci.org but maybe that's something you could work on, with some additions to kernelci-jenkins. I would suggest to first take a look at the Getting Started page for the new API and see if the kci commands work for you etc. The job templates for builds and tests are still very basic, but maybe you can make your own templates for your particular use-case.

@BIRooter
Copy link
Author

It seems that outside app, such as jenkins, can push build jobs into kernelci.org through celery in kernelci-backend (kernelci-backend/app/taskqueue/celery.py, kernelci-backend/app/utils/kcidb.py).

I'll try to use kernelci-jenkins, lava-docker to check whether jobs and logs can be list in frontend website or not.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants