jenkins-infra / helpdesk

Open your Infrastructure related issues here for the Jenkins project
https://github.com/jenkins-infra/helpdesk/issues/new/choose
17 stars 10 forks source link

[ci.jenkins.io][Infra-as-code] Define Job Configuration as code with JobDSL #3071

Open dduportal opened 2 years ago

dduportal commented 2 years ago

Summary

Switch job configuration and management as code for ci.jenkins.io instead of manual management.

Why

There is no audit of which configuration changed was applied on the jobs on ci.jenkins.io. It's a concern for:

Also, managing jobs configuration as code would allow us to remove the "job config" plugin which is known to slow down instances.

What

⚠️ Using job-dsl introduces the following challenges to be aware of:

dduportal commented 2 years ago

Issues that could have benefited from this:

timja commented 2 years ago

Is there a reason to not move ci.jenkins.io to k8s?

dduportal commented 2 years ago

Is there a reason to not move ci.jenkins.io to k8s?

When the AKS cluster was created (long time ago):

Both these historical reasons are gone since months if not years:

I don't see any reason not to move ci.jenkins.io to k8s honestly, only benefits:

There are 2 blocking points though: