Commit Graph

390 Commits

Author SHA1 Message Date
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 7356a5ec49
#190 Improve e2e tests for OpenShift 2020-03-22 12:24:05 +01: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
Shoubhik Bose 11231b690c
Generate OpenAPI validation schema 2020-02-10 21:06:59 +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
Tomasz Sęk 6de21202e8
Fix get Jenkins plugins through Jenkins API 2020-01-11 16:01:25 +01:00
Tomasz Sęk 7ca7e58cc5
#190 Fix run seed job agent on top of OpenShift 2020-01-11 15:59:39 +01:00
Tomasz Sęk 7dd2ff1b1b
#190 Allow set Jenkins master service account annotations 2020-01-11 10:31:18 +01:00
Tomasz Sęk f9335df74c
#200 Allow for additional RBAC role bindings for Jenkins master 2020-01-06 18:03:01 +01:00
Tomasz Sęk 9b5672ebcd
Revert "#190 Fix run Jenkins master on top of OpenShift"
This reverts commit 09b9972f
2020-01-06 13:21:07 +01:00
Tomasz Sęk 073f9db3be
Change default Jenkins home path to /var/lib/jenkins 2020-01-02 19:11:56 +01:00
Tomasz Sęk 2dd6aa4a68
Minor fixes 2020-01-02 19:11:22 +01:00
Tomasz Sęk f10d20cf4b
#201 Fix issue with plugin installation in OpenShift image 2020-01-02 10:52:40 +01:00
Tomasz Sęk 09b9972f40
#190 Fix run Jenkins master on top of OpenShift 2020-01-01 22:25:46 +01:00
Tomasz Sęk 80a6d33b0b
#190 Fix run seed job agent on top of OpenShift 2020-01-01 22:22:44 +01:00
Tomasz Sęk 044c0890c2
Add printing debug messages during Jenkins master start 2020-01-01 22:18:00 +01:00
Tomasz Sęk c51fab9a2c
Improve logging 2020-01-01 22:16:36 +01:00
Tomasz Sęk 3e72863f32
#158 Increase number of seed job agent executors 2019-12-31 15:35:01 +01:00
Tomasz Sęk 28a7c11f8c
#239 Allow to set tolerations for the Jenkins master pod 2019-12-31 09:13:09 +01:00
Tomasz Sęk e1e21f92d6
#240 Fix regression in volume validation 2019-12-31 09:04:21 +01:00
Tomasz Sęk 90b450d8ef
#197 Handle Admission controllers changes for SecurityContext 2019-12-26 12:50:52 +01:00
Tomasz Sęk 33c3d47cee
#197 Improve checking the ImagePullSecret 2019-12-25 14:40:46 +01:00
Tomasz Sęk e18485788d
Merge branch 'openshift'
# Conflicts:
#	docs/docs/developer-guide/index.html
#	docs/docs/developer-guide/tools/index.html
#	docs/docs/getting-started/index.html
#	docs/docs/getting-started/latest/aks/index.html
#	docs/docs/getting-started/latest/configuration/index.html
#	docs/docs/getting-started/latest/configure-backup-and-restore/index.html
#	docs/docs/getting-started/latest/custom-backup-and-restore/index.html
#	docs/docs/getting-started/latest/customization/index.html
#	docs/docs/getting-started/latest/deploy-jenkins/index.html
#	docs/docs/getting-started/latest/diagnostics/index.html
#	docs/docs/getting-started/latest/index.html
#	docs/docs/getting-started/latest/schema/index.html
#	docs/docs/getting-started/v0.1.x/aks/index.html
#	docs/docs/getting-started/v0.1.x/configuration/index.html
#	docs/docs/getting-started/v0.1.x/configure-backup-and-restore/index.html
#	docs/docs/getting-started/v0.1.x/customization/index.html
#	docs/docs/getting-started/v0.1.x/deploy-jenkins/index.html
#	docs/docs/getting-started/v0.1.x/diagnostics/index.html
#	docs/docs/getting-started/v0.1.x/index.html
#	docs/docs/getting-started/v0.1.x/migration-guide-v1alpha1-to-v1alpha2/index.html
#	docs/docs/getting-started/v0.1.x/scheme/index.html
#	docs/docs/getting-started/v0.2.x/migration/index.html
#	docs/docs/how-it-works/architecture-and-design/index.html
#	docs/docs/how-it-works/index.html
#	docs/docs/how-it-works/jenkins-docker-images/index.html
#	docs/docs/index.html
#	docs/docs/index.xml
#	docs/docs/installation/index.html
#	docs/docs/security/index.html
#	docs/sitemap.xml
2019-12-25 12:08:12 +01:00
Tomasz Sęk 15c7bc620d
Update base plugins 2019-12-20 13:34:18 +01:00
Jakub Al-Khalili 9b4a04c32f Cosmetic changes 2019-12-19 13:54:32 +01:00
Jakub Al-Khalili 80b0839e5d Fix nodePort issue, remove --namespace argument from Makefile 2019-12-19 13:54:32 +01:00
Jakub Al-Khalili b75e8de596 Quick fix ports in jenkins.go
This bug makes it impossible to use NodePort instead of port.
2019-12-19 13:54:31 +01:00
Jakub Al-Khalili a612939f33 Add support for local development kubernetes cluster software (#207)
#203 Add support for local development kubernetes cluster
2019-12-19 13:54:31 +01:00
Tomasz Sęk 76cd868cdd
Prevent throttle the reconciliation loop 2019-12-19 13:06:11 +01:00
Tomasz Sęk 99af93fe60
Update base plugins 2019-12-19 13:04:25 +01:00
Jakub Al-Khalili 7df8b32f95 #173 Add waiting mechanism for seed job agent (#224)
#173 Add waiting mechanism for the seed job agent
2019-12-17 13:45:31 +01:00
Tomasz Sęk e9f5df2eb3
#229 Handle extra Jenkins master pod annotations 2019-12-16 15:19:13 +01:00
Tomasz Sęk 471470969c
#229 Handle deprecated masterAnnotations 2019-12-16 14:04:35 +01:00
Tomasz Sęk 7404843322
Merge pull request #222 from jakalkhalili/info-message-fix
#163 Fix misleading messages
2019-12-05 11:32:14 +01:00
Tomasz Sęk 2b7b03371e
#176 Add owner reference to seed job agent deployment 2019-12-03 12:12:46 +01:00
Tomasz Sęk 082622c640
Update base plugins 2019-12-03 11:49:27 +01:00
Jakub Al-Khalili 728c36eab7 #163 Fix misleading messages 2019-12-02 14:17:21 +01:00
Tomasz Sęk b03b7d91f6
#144 Fix unit tests 2019-11-29 12:06:40 +01:00
Tomasz Sęk 14e8667674
Add TODO 2019-11-29 11:55:04 +01:00
Tomasz Sęk ee4f4a3333
Add TODO 2019-11-29 11:41:00 +01:00
Tomasz Sęk e911468833
#144 Fix plugin name and version validation 2019-11-29 11:40:35 +01:00
Vibhav Bobade db2dce4e24 Make Jenkins_Home overwritable 2019-11-19 14:46:08 +05:30
Vibhav Bobade 0a6c0be91c Add ability to disable CSRFProtection in the Jenkins master 2019-11-14 16:12:04 +05:30
Tomasz Sęk a9fe3da564
#191 Overwrite the service selector 2019-11-13 09:58:42 +01:00
Tomasz Sęk f52dc42171
Fix unit tests 2019-11-13 09:56:55 +01:00
Tomasz Sęk 32a6245e0f
Fix minor issues 2019-11-12 09:32:18 +01:00
Jakub Al-Khalili d68430cdf1 #176 Small refactoring 2019-11-06 16:20:32 +01:00
Jakub Al-Khalili dbf6184898 #176 Refactor backup restore mechanism 2019-11-06 15:46:19 +01:00
Jakub Al-Khalili 554af5db80 #176 Add owner reference to seed job agent deployment 2019-11-06 10:16:57 +01:00
Jakub Al-Khalili 6d32ee71e4 Improve notification mechanism (#183)
Improve notification mechanism
2019-11-05 16:06:29 +01:00
Jakub Al-Khalili c7841d9fc3 Refactor configuration in jenkins_controller.go 2019-10-29 09:42:06 +01:00
Jakub Al-Khalili c249288a2d Pass Configuration struct to Base and User constructors 2019-10-29 09:20:31 +01:00
Jakub Al-Khalili c95108e3ac Extend kubernetes client, pod termination notification 2019-10-28 15:45:38 +01:00
jgarcia d9b5d1b9cd Changing tests to pass the new regexp 2019-10-18 12:01:13 +01:00
Jeronimo 7ad8a16cd6
Updating plugin.go to allow versions
This change is it allow all possible versions in all plugins within update.jenkins.io, this is linked to issue:https://github.com/jenkinsci/kubernetes-operator/issues/144
2019-10-18 10:41:05 +01:00
Tomasz Sęk 8c200f9fab
Merge pull request #152 from jakalkhalili/consumer-pvc-fix
#137 Remove waitForVolumes function
2019-10-17 16:33:36 +02:00
Jakub Al-Khalili eaf19a70d8 #137 Remove waitForVolumes function 2019-10-17 16:17:47 +02:00
Jakub Al-Khalili a198af49a0 Improve SMTP tests 2019-10-17 15:06:31 +02:00
Jakub Al-Khalili 73e35fd048 Remove sleep from tests 2019-10-17 14:40:00 +02:00
Jakub Al-Khalili 78a44239e9 Add sleep in smtp tests 2019-10-17 13:49:59 +02:00
Jakub Al-Khalili a5f4c78346 Improve tests and SMTP notification provider 2019-10-17 13:21:54 +02:00
Jakub Al-Khalili 4f5391d708 Improve SMTP provider 2019-10-17 11:48:07 +02:00
Jakub Al-Khalili dfd0b54579 Add SMTP notification provider 2019-10-17 09:50:40 +02:00
Anthony Dahanne a778f6ccd5 Fix #135: couple of misspellings 2019-10-10 22:53:56 -04:00
Tomasz Sęk 2724893901
Merge pull request #132 from jakalkhalili/fix-plugin-version
Fix plugin tests
2019-10-09 15:39:31 +02:00
Jakub Al-Khalili b3e906268f Fix plugin tests 2019-10-09 13:22:14 +02:00
Jakub Al-Khalili 26cf1242ea
Merge branch 'master' into fix-plugin-version 2019-10-09 13:00:39 +02:00
Tomasz Sęk 30e0ddc06d
Merge pull request #130 from jakalkhalili/fix-casc-plugin
Change Configuration As Code plugin version from 1.29 to 1.32
2019-10-09 12:59:42 +02:00
Jakub Al-Khalili 71038784cb Fix plugin valdation tests 2019-10-09 12:58:31 +02:00
Jakub Al-Khalili 9b25919d7c #129 Fix plugin version validation 2019-10-09 12:35:47 +02:00
Jakub Al-Khalili a8a380955a #126 Change Configuration As Code plugin version from 1.29 to 1.32 2019-10-09 12:29:59 +02:00
Tomasz Sęk 111f482e53
Improve notifications 2019-10-06 22:12:53 +02:00
Tomasz Sęk 9e882d5853
Improve notifications 2019-10-04 17:34:41 +02:00
Jakub Al-Khalili 2b2095c2d1 Improve notification tests, add container name to notifications 2019-10-04 10:13:52 +02:00
Jakub Al-Khalili 4e8b0fa72e Improved notification tests, refactor ConfigurationType to Phase 2019-10-03 15:53:39 +02:00
Jakub Al-Khalili ca3508ef49 Add kubernetes event as notification provider, imrpove notification warnings 2019-10-03 10:19:31 +02:00
Jakub Al-Khalili b67996880a Fix slack notifications 2019-10-01 10:14:13 +02:00
Jakub Al-Khalili b7c153f40c Improved notification messages 2019-10-01 09:50:38 +02:00
Tomasz Sęk d76a2b1906
Fix run operator with minikube 2019-09-23 20:07:52 +02:00
Tomasz Sęk 8dd899c7d2
#110 Fix unit tests and formatting 2019-09-19 13:27:47 +02:00
Max Xandeco 63e442ac7a change plugin name regex to case-insensitive. 2019-09-19 11:27:57 +01:00
Tomasz Sęk cb1e49ea42
Merge pull request #100 from jakalkhalili/fix-kubernetes-url
Fix Kubernetes API URL
2019-09-13 17:07:26 +02:00
Jakub Al-Khalili 9763ea5899 #96 Small improvements in tests 2019-09-12 15:22:00 +02:00
Jakub Al-Khalili e8277cc8a0 #96 Small tests improvements 2019-09-12 14:58:47 +02:00
Jakub Al-Khalili 9698079a02 #90 Fix kubernetes server url 2019-09-12 14:51:09 +02:00
Jakub Al-Khalili 4b4cebadfa #96 Improve pod unit tests 2019-09-12 09:50:29 +02:00
Jakub Al-Khalili 8c70c0774f #96 Fix casc secret configuration bug 2019-09-11 16:17:46 +02:00
Jakub Al-Khalili d7f2d630ef Change metrics mechanism in cmd/manager/main.go 2019-09-09 14:52:21 +02:00
Tomasz Sęk 43be3501fd
Remove unused Jenkins view 2019-09-04 15:18:37 +02:00
Tomasz Sęk 0ae4d6ad90
#87 Update base plugins 2019-09-04 11:10:27 +02:00
Tomasz Sęk 1e03f639d0
#28 Fix e2e test 2019-09-03 20:19:24 +02:00
Tomasz Sęk 73c00a08ac
#69 Add e2e test 2019-09-03 18:34:13 +02:00
Tomasz Sęk 31536d0339
Remove Notifications from Jenkins API 2019-09-03 14:15:30 +02:00
Tomasz Sęk 204ea3f6b2
Remove unused job package
- cleanup Jenkins API
2019-09-03 14:13:45 +02:00
Tomasz Sęk eb0f8a8331
Remove unused job package and fix error handling in seedjobs package 2019-09-03 14:00:17 +02:00
Tomasz Sęk 30b83638e2
Remove unused Jenkins v1alpha2 API 2019-09-03 13:28:03 +02:00
Tomasz Sęk 36d936d1fa
Merge pull request #84 from jakalkhalili/master
#69 Add support for seed job configuration
2019-09-02 15:06:40 +02:00
Jakub Al-Khalili 833a95f2e8 #69 Add better documentation for Job DSL plugin and Git trigger settings 2019-09-02 14:56:28 +02:00
Jakub Al-Khalili b0f1ee88cd #69 Improve schedule tests 2019-09-02 14:11:05 +02:00
Jakub Al-Khalili 134c298358 #69 Add groovy script template rendering, fix pollSCM, improve pollSCM tests 2019-09-02 13:16:28 +02:00
Tomasz Sęk 183ff51eda
Merge pull request #78 from jakalkhalili/master
Add seedjob agent
2019-08-27 13:48:58 +02:00
Jakub Al-Khalili 90a6af52f6 Improve tests 2019-08-27 13:37:12 +02:00
Jakub Al-Khalili 393c3d690c Small improvements 2019-08-27 10:58:14 +02:00
Jakub Al-Khalili 44d751eee5 Fix tests 2019-08-27 09:56:23 +02:00
Jakub Al-Khalili f2eefb1fc9 Improve tests, small improvements 2019-08-27 09:34:42 +02:00
Jakub Al-Khalili ab42f8f432 Replace jobs creation mechanism, fix imports 2019-08-26 14:08:03 +02:00
Jakub Al-Khalili 9f2fe2492e Replace creating jobs mechanism, small code fixes 2019-08-26 14:04:53 +02:00
Tomasz Sęk 33524f88f1
Update base plugin versions 2019-08-23 14:10:49 +02:00
Tomasz Sęk 3a1f9e1ccc
#76 Allow configure JAVA_OPTS variable in Jenkins container 2019-08-23 13:43:18 +02:00
Jakub Al-Khalili ab1d3fb59b Fix tests 2019-08-23 11:27:24 +02:00
Jakub Al-Khalili f1815e10aa Sort imports 2019-08-23 10:46:41 +02:00
Jakub Al-Khalili ebd44b83fc Add seedjob agent 2019-08-23 10:43:27 +02:00
Tomasz Sęk 89c46a1720
Small code improvements 2019-08-19 16:56:17 +02:00
Jakub Al-Khalili 76e72702f2 #70 Fix SecurityContext propagation 2019-08-19 10:11:43 +02:00
Tomasz Sęk 8f80fa5bbd
Refactor notifications package 2019-08-18 15:40:28 +02:00
Jakub Al-Khalili 5c55db489f #72 Add support for plugin names with underscore 2019-08-14 09:51:55 +02:00
Jakub Al-Khalili 9bde4cb59f Improve notification mechanism 2019-08-02 14:07:37 +02:00
Jakub Al-Khalili 364ce8ad8a Fix deepcopy 2019-08-02 09:51:42 +02:00
Jakub Al-Khalili dc727f45d7 Deepcopy fix 2019-08-02 09:38:17 +02:00
Jakub Al-Khalili 16fd981703 Add notification to api 2019-08-01 16:36:26 +02:00
Jakub Al-Khalili 61d5311ac2 Disabled notification feature 2019-07-31 14:52:32 +02:00
Jakub Al-Khalili 5cbd21b03c Add notification library 2019-07-31 14:51:00 +02:00
Jakub Al-Khalili 3a7a4049f3 Improve groovy script checker 2019-07-31 11:11:15 +02:00
Jakub Al-Khalili 063f0c074b Improve unit tests 2019-07-31 10:51:36 +02:00
Jakub Al-Khalili 7a149c8257 Improve tests 2019-07-25 13:20:22 +02:00
Jakub Al-Khalili 168110f84d Fix groovy script versioning bug 2019-07-25 13:05:59 +02:00
Jakub Al-Khalili 2dabc773d4 #54 Improve tests 2019-07-23 09:16:38 +02:00
Jakub Al-Khalili 4d2cab5109 #54 Improve business logic 2019-07-22 16:41:00 +02:00
Jakub Al-Khalili 78b4a2d952 #54 Fix groovy script removal bug 2019-07-22 15:03:58 +02:00
Jakub Al-Khalili 0e4ae15506 #28 Enable groovy scripts secret loader 2019-07-17 16:01:34 +02:00
Jakub Al-Khalili 28dba98cd9 #45 Add test to check for imagePullSecrets propagation 2019-07-16 11:00:30 +02:00
Jakub Al-Khalili c9f39e9de4 Add support for namespaces in jenkins client 2019-07-15 16:47:12 +02:00
Jakub Al-Khalili 0fed26b733 Improve tests & docs 2019-07-15 09:56:47 +02:00
Jakub Al-Khalili 811e816b2f Fixed tests 2019-07-15 09:14:53 +02:00
Jakub Al-Khalili 74b8ec98ec Fix validation bug 2019-07-15 09:04:39 +02:00
Jakub Al-Khalili feae4e6e3d #45 Improve feature 2019-07-12 14:53:22 +02:00