Commit Graph

253 Commits

Author SHA1 Message Date
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
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 eb0f8a8331
Remove unused job package and fix error handling in seedjobs package 2019-09-03 14:00:17 +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 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 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
Jakub Al-Khalili e049218b78 #45 Add support for imagePullSecrets parameter 2019-07-12 13:11:42 +02:00
Jakub Al-Khalili 164fe30aef #43 Fix tests 2019-07-10 16:08:09 +02:00
Jakub Al-Khalili 076b0aa453 #43 Add additional test scenarios 2019-07-10 15:49:53 +02:00
Jakub Al-Khalili 9e73be7a49 #43 Improve tests and fix GetJenkinsOpts 2019-07-10 15:19:26 +02:00
Jakub Al-Khalili 01655785b5 #43 Add support for JENKINS_OPTS, fix the --prefix bug 2019-07-10 13:58:18 +02:00
Tomasz Sęk 7d716b972f
#28 Use new API for groovy and CasC user configuration 2019-06-30 23:18:20 +02:00
Tomasz Sęk 6a3a68bec0
#28 Use new API for groovy base configuration 2019-06-30 23:16:42 +02:00
Tomasz Sęk 87fcc5f8a5
#28 Change groovy client implementation 2019-06-30 23:16:03 +02:00
Tomasz Sęk d0b02de429
#28 Mount secrets for groovy and CasC customization 2019-06-30 23:11:45 +02:00
Tomasz Sęk 66236d5459
#28 Add validation 2019-06-30 22:59:30 +02:00
Tomasz Sęk 4e302c66a1
#28 Return GroovyScriptExecutionFailed error 2019-06-30 22:57:54 +02:00
Tomasz Sęk dda0a0075e
#29 Restart Jenkins pod when any seed job has been deleted 2019-06-29 12:19:35 +02:00
Tomasz Sęk 3b26e1c5ba
Allow configure SecurityContext and Jenkins master container command 2019-06-29 12:19:17 +02:00
Tomasz Sęk 3573b9acd6
Merge pull request #39 from akram/externalize-hardcoded-image-uid
Externalize hardcoded image uid and pod Security Context and removes default Command
2019-06-28 07:37:15 +02:00
Tomasz Sęk 84eb4575e1
Fix backup before pod deletion 2019-06-27 23:33:15 +02:00
Tomasz Sęk d6a34b7b84
#31 Restart Jenkins pod when user or password have changed 2019-06-27 22:51:57 +02:00
Tomasz Sęk 42dc5569c5
#38 Omit KUBERNETES_* envs in containers 2019-06-27 22:49:52 +02:00
Akram Ben Aissi 4150b6c767 fixing staticcheck 2019-06-26 09:07:09 -04:00
Akram Ben Aissi f17a4c5dce Externalise podSecurityContext.runAsUser and 2019-06-26 07:28:30 -04:00
Akram Ben Aissi 9285e294dd Jenkins OpenShift image requirements 2019-06-26 03:15:52 -04:00
Tomasz Sęk 037c1fa025
Fix logging about watches resources 2019-06-23 10:39:50 +02:00
Tomasz Sęk 7b0778552a
#4 Update e2e tests 2019-06-18 22:20:41 +02:00
Tomasz Sęk 13efd245f9
Improve logging of Jenkins jobs
- fix unit test
2019-06-18 20:16:10 +02:00
Tomasz Sęk 98110fac91
#4 Make backup before pod deletion 2019-06-18 20:04:15 +02:00
Tomasz Sęk 6bc79dfb33
Improve logging of Jenkins jobs 2019-06-18 20:00:12 +02:00
Tomasz Sęk a408112875
Stop reconcile loop when error has been repeated more than 15 times 2019-06-17 22:46:48 +02:00