Commit Graph

302 Commits

Author SHA1 Message Date
Akram Ben Aissi fc216263e8 Minor refactor of the jenkins reconcile
- Extract resources limits creation
- Start to extract the reconcilier structure into a separate file
2020-05-25 12:34:58 +02:00
jkhelil 5e1496cbc3 reorganise directories for better readbility 2020-05-19 10:26:18 +02:00
Tomasz Sęk 57ad3b6be8
Merge pull request #391 from jkhelil/inject_abstraction
Inject abstractions by using interfaces
2020-05-15 21:48:40 +02:00
Vibhav Bobade b77592e9d1 Intermediate Commit for transition from Pod to Deployment based Jenkins Controller
Allows for using the annotation jenkins.io/use-deployment
and setting the value to true makes the operator use a
Deployment instead of Pod for serving Jenkins.

This is part of a temporary feature and has to be committed to avoid bigger PRs.
2020-05-15 12:44:54 +05:30
jkhelil c42477d275 inject abstration not implementation 2020-05-15 08:57:20 +02:00
jkhelil 3747cce30f rename caas.go to casc.go to fit the package name 2020-05-14 14:34:22 +02:00
jkhelil 196d208b9f Trigger ci 2020-05-14 08:46:32 +02:00
jkhelil e05c2d7a97 refactor log handeling 2020-05-13 14:14:33 +02:00
Vibhav Bobade b0139762b1 Update agent image used in SeedJobs
jenkins/jnlp-slave:alpine is deprecated and replaced with
jenkins/inbound-agent:alpine.
2020-05-07 19:39:02 +05:30
jkhelil 128c97be6b lint with golangci-lint 2020-05-06 16:22:52 +02:00
khelil eb8b2e32e8
Refactoring for jenkins client (#366) 2020-05-06 11:31:16 +02:00
Akram Ben Aissi ebfb38a9c4 fix 2020-05-05 15:13:36 +02:00
Akram Ben Aissi b6144b5559 Add Route pointing to the HTTP Service when the Route API is present 2020-05-05 14:06:10 +02:00
Tomasz Sęk 6b96d2dd94
#273 Prevent make backup with the same number before pod deletion 2020-05-03 19:59:44 +02:00
Tomasz Sęk 2a0e2f90ba
#359 Add watch events for Jenkins(required by Kubernetes plugin) 2020-05-03 14:14:21 +02:00
Tomasz Sęk 7445915c8f
Merge pull request #356 from jkhelil/issue_351
Reconcile yaml user configuration before groovy one
2020-04-30 16:21:58 +02:00
jkhelil ad6f9946cc #351 Reconcile yaml user configuration before groovy one 2020-04-30 15:44:31 +02:00
Akram Ben Aissi 0a57ebb96e Adding OpenShift doc 2020-04-29 14:47:28 +02:00
Akram Ben Aissi 83b3fa8cd0
Default rule policy now allows watching resources required by OpenShift (#352) 2020-04-28 16:45:30 +02:00
Jakub Al-Khalili fe9cb921bc
#263 Execute user scripts before seed jobs (#345) 2020-04-27 14:22:49 +02:00
Mikolaj Karebski 85237e2da7 #328 Code review fixes 2020-04-24 13:33:02 +02:00
Mikolaj Karebski fd1b5f2bd9 #328 Fix 65535 string length issue 2020-04-24 11:47:10 +02:00
Akram Ben Aissi 6e25b3fd3c Split reconcile.go into several files 2020-04-15 21:59:27 +02:00
Tomasz Sęk 42ed7dbc6b
#291 Don't install configuration-as-code-support plugin by default 2020-04-13 14:02:26 +02:00
Tomasz Sęk ea059eab76
Update base plugins versions 2020-04-13 13:59:22 +02:00
Oleksandr Kovalchuk 68ffc69d41
Add possibility to set Jenkins master pod's priority
Allow to set priorityClassName for master pod. This will make possible
for jenkins master to either not be preempted on other's pod low
resources or to preempt lesser priority pods on resources shortage.

Ref: https://github.com/jenkinsci/kubernetes-operator/issues/321
2020-04-09 11:06:56 +03:00
Mikolaj Karebski 32ae0c58f4 #318 Fix code review issues 2020-04-03 10:59:01 +02:00
Mikolaj Karebski fe74f4074c #318 Fix running Jenkins-Operator locally 2020-04-03 10:23:26 +02:00
salluvada 970449f04f
#296 Allow to specify custom plugins location in jenkins CR (#309) 2020-03-29 20:41:16 +02:00
Seshu Kumar Alluvada 7790ca6f0f added cookie jar 2020-03-27 10:32:46 -04:00
Seshu Kumar Alluvada 5baee01ac5 Revert "refactor service name and service fqdn fuctions"
This reverts commit d71d105986.
2020-03-24 09:42:25 -04:00
Seshu Kumar Alluvada dd2560e2b2 fix service fqdn generation 2020-03-24 08:48:25 -04:00
Seshu Kumar Alluvada d71d105986 refactor service name and service fqdn fuctions 2020-03-24 00:30:24 -04:00
Seshu Kumar Alluvada 0082392dbf fix the seed job service names to use FQDN 2020-03-23 09:47:58 -04:00
Seshu Kumar Alluvada 959aa17c30 configure kubernetes with FQDNs for jenkins http and slave services 2020-03-22 23:39:39 -04:00
Tomasz Sęk 2cecbba8b2
#290 Pass script in body instead of URL parameter 2020-03-17 20:20:39 +01:00
Shoubhik Bose 852d729018
Upgrade operator-sdk to 0.15.1 (#269)
Upgrade operator-sdk to 0.15.1
2020-02-12 21:58:28 +01:00
Riccardo Biraghi 0f5cd0334d Add Bitbucket trigger for seed job 2020-02-05 16:17:49 +00:00
Tomasz Sęk be41ef44a8
#262 Allow configure Jenkins master pod labels 2020-01-30 23:14:06 +01:00
Tomasz Sęk f50cf309cf
#257 Propagate NodeSelector,Tolerations and ImagePullSecrets to seed job agent from Jenkins pod 2020-01-30 23:14:00 +01:00
Tomasz Sęk d6143de7b8
Don't set default security context 2020-01-26 19:44:19 +01:00
Tomasz Sęk 2c28755e90
Fix setting service account annotations 2020-01-23 13:11:50 +01:00
Tomasz Sęk fc06cabac8
#252 Handle Jenkins CR replace gracefully 2020-01-21 11:19:51 +01:00
Tomasz Sęk ba122db1f6
#249 Improve checking the NodeSelector 2020-01-20 22:02:38 +01:00
Tomasz Sęk 8941f746b8
#194 Allow unset resources.limits or resources.requests 2020-01-19 20:24:51 +01:00
Tomasz Sęk bf07fa59ef
#199 Generalize Jenkins container command validation 2020-01-18 19:11:27 +01:00
Tomasz Sęk bf3a4bc02f
Update base plugins 2020-01-15 21:46:44 +01:00
Tomasz Sęk ff2e76c977
Fix set operator version in Jenkins CR status 2020-01-15 15:01:32 +01:00
Tomasz Sęk 9204964d69
Fix signal propagation to the Jenkins master 2020-01-15 14:51:32 +01:00
Tomasz Sęk 8e1d66de0f
#190 Allow set Jenkins API authorization strategy 2020-01-11 22:04:00 +01:00