Commit Graph

156 Commits

Author SHA1 Message Date
Sylwia Brant ea5ad56012 Fixed targetPort value
Made the targetPort in Jenkins pod a fixed value.
Previously users encountered issue with changing values.
Added test comparing expected and actual targetPort values.
2020-10-13 09:22:19 +02:00
Tomasz Sęk 8c62b6909d
#349 Fix Helm upgrade issue with PVC 2020-06-07 14:56:22 +02:00
Tomasz Sęk 87ee491a74
#349 Fix Helm upgrade issue with PVC 2020-06-07 12:10:03 +02:00
jkhelil 5e1496cbc3 reorganise directories for better readbility 2020-05-19 10:26:18 +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 e05c2d7a97 refactor log handeling 2020-05-13 14:14:33 +02:00
jkhelil 128c97be6b lint with golangci-lint 2020-05-06 16:22:52 +02:00
Akram Ben Aissi 92292ae698 Move to operator-sdk v.0.17.0 2020-05-04 18:57:14 +02:00
Jakub Al-Khalili fe9cb921bc
#263 Execute user scripts before seed jobs (#345) 2020-04-27 14:22:49 +02:00
Tomasz Sęk 185f0533e4
Add e2e tests for the Helm Chart (#334) 2020-04-17 14:14:56 +02:00
Tomasz Sęk 0a0483aa77
#190 Improve e2e tests for OpenShift 2020-04-13 19:10:59 +02:00
Oleksandr Kovalchuk c90969256e
Use existing version of envoyproxy image 2020-04-11 15:06:04 +03:00
Oleksandr Kovalchuk b99468930e
Add e2e test with setting priorityClassName
As it is quite difficult to set cluster-wide objects in test and don't
break other tests, which are running in parallel, rely on pre-created
priorityClass (which is already in the cluster by default) in test.
2020-04-09 11:07:10 +03:00
salluvada 970449f04f
#296 Allow to specify custom plugins location in jenkins CR (#309) 2020-03-29 20:41:16 +02:00
Tomasz Sęk 7d48aa3079
#190 Allow set quay.io/openshift/origin-jenkins with OAuth image in e2e tests (#307) 2020-03-29 18:40:07 +02:00
Tomasz Sęk cc35dcfc72
#190 Allow set quay.io/openshift/origin-jenkins image in e2e tests 2020-03-22 19:29:56 +01:00
Tomasz Sęk c1c301ec79
#190 Improve e2e tests for OpenShift 2020-03-22 19:25:49 +01:00
Tomasz Sęk 7356a5ec49
#190 Improve e2e tests for OpenShift 2020-03-22 12:24:05 +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
Tomasz Sęk 987b4006bd
Try to fix the TestBackupAndRestore e2e test 2020-02-06 20:58:52 +01:00
Tomasz Sęk be41ef44a8
#262 Allow configure Jenkins master pod labels 2020-01-30 23:14:06 +01:00
Tomasz Sęk caa0f6e5f5
Use port-forward in e2e tests to communicate with Jenkins API 2020-01-23 13:15:41 +01:00
Tomasz Sęk 8e1d66de0f
#190 Allow set Jenkins API authorization strategy 2020-01-11 22:04:00 +01:00
Tomasz Sęk b27aef1808
#200 Fix e2e 2020-01-06 20:41:36 +01:00
Tomasz Sęk 4d1d23cf6c
#200 Fix e2e 2020-01-06 19:20:47 +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 45e91be07c
Improve logging in e2e tests 2020-01-02 12:43:48 +01:00
Tomasz Sęk 33c3d47cee
#197 Improve checking the ImagePullSecret 2019-12-25 14:40:46 +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 0eaf8d9bb6
Adjust timeouts in e2e tests 2019-12-19 13:06:51 +01:00
Tomasz Sęk 7bd02997ac
Fix e2e tests 2019-12-19 11:03:37 +01:00
Jakub Al-Khalili cdde6acec3 Adjust timeouts for jobs, user configuration. Add waiting mechanism for namespace removal 2019-12-18 14:33:46 +01:00
Jakub Al-Khalili ed5a59655c Add E2E tests logging mechanism (#232)
Add E2E tests logging mechanism
2019-12-17 15:50:53 +01:00
Tomasz Sęk 041eb9a5ea
Merge pull request #233 from jakalkhalili/master
Adjust timeout for TestBackupAndRestore
2019-12-17 15:50:06 +01:00
Jakub Al-Khalili ba4a35b7a3 Adjust timeout for TestBackupAndRestore 2019-12-17 15:41:51 +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
Jakub Al-Khalili ae4cba4058 Add logs when e2e tests fail 2019-12-13 15:27:21 +01:00
Tomasz Sęk 8dd899c7d2
#110 Fix unit tests and formatting 2019-09-19 13:27:47 +02:00
Jakub Al-Khalili aeed89f3b0 Improve e2e tests - add waitForJobToFinish 2019-09-17 13:29:42 +02:00
Jakub Al-Khalili 43b75b0775 Improve e2e test with waiting enhancement 2019-09-17 08:29:25 +02:00
Jakub Al-Khalili 125b4c9898 #90 Fix pipeline groovy script 2019-09-13 16:20:14 +02:00
Jakub Al-Khalili 4ce082cfc4 #90 Small fixes in tests 2019-09-12 15:56:14 +02:00
Jakub Al-Khalili 56d305eeab #90 Add kubernetes plugin e2e tests 2019-09-12 14:51:13 +02:00
Tomasz Sęk dc86778d67
#28 Fix e2e test 2019-09-04 11:27:36 +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
Jakub Al-Khalili 4d2cab5109 #54 Improve business logic 2019-07-22 16:41:00 +02:00
Jakub Al-Khalili 52cd17e97f #28 Improve TestConfiguration e2e test 2019-07-18 11:43:28 +02:00
Jakub Al-Khalili 6a357e28e3 #28 Improve e2e tests 2019-07-18 10:18:51 +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 01655785b5 #43 Add support for JENKINS_OPTS, fix the --prefix bug 2019-07-10 13:58:18 +02:00
Jakub Al-Khalili 55601886c1 Removed build goal from e2e tests 2019-07-09 15:00:25 +02:00
Jakub Al-Khalili 9654d66fdc Moved pod propagation tests to verifyJenkinsMasterPodAttributes 2019-07-09 11:47:44 +02:00
Jakub Al-Khalili 38834ceef4 Fixed vet errors 2019-07-09 09:31:19 +02:00
Jakub Al-Khalili 6d0704ca33 Fixed staticcheck and lint for macOS 2019-07-09 09:26:58 +02:00
Jakub Al-Khalili 3b2a65a57a Removed volumes in e2e tests 2019-07-08 15:37:06 +02:00
Jakub Al-Khalili 4329881788 Improved TestConfiguration 2019-07-08 15:13:30 +02:00
Jakub Al-Khalili 5e22cdfdce Fixed e2e tests 2019-07-08 15:11:12 +02:00
Tomasz Sęk 54454d9a02
#28 Mount secrets for groovy and CasC customization
- fix e2e tests
2019-06-30 23:14:52 +02:00
Tomasz Sęk f7b6443fc6
Fix e2e tests 2019-06-29 17:06:38 +02:00
Tomasz Sęk 6f1b133741
#37 Improve backup PVC docker image user creation 2019-06-26 22:51:11 +02:00
Tomasz Sęk 7b0778552a
#4 Update e2e tests 2019-06-18 22:20:41 +02:00
Tomasz Sęk 98110fac91
#4 Make backup before pod deletion 2019-06-18 20:04:15 +02:00
Tomasz Sęk a8d3e91bbb
#4 Add e2e backup and restore test 2019-06-17 23:15:13 +02:00
Tomasz Sęk 25469b1174
Move Jenkins container properties to spec.master.containers list 2019-06-11 19:53:02 +02:00
Tomasz Sęk e1aba3ed9f
Improve plugins management 2019-06-11 19:51:49 +02:00
Tomasz Sęk 8178e2315e
Use v1alpha2 Jenkins schema 2019-06-10 17:55:09 +02:00
Tomasz Sęk 79e150cbb7
Generate OpenAPI 2019-06-07 17:53:50 +02:00
Tomasz Sęk 8c6f71bd10
#24 Fix getting job's build when Jenkins URL is set 2019-06-05 21:45:49 +02:00
Tomasz Sęk 55d6aecb93
#9 Allow mount secrets and configmaps in Jenkins pod 2019-05-27 23:35:09 +02:00
Tomasz Sęk af10a97299
Allow configure sidecars in Jenkins pod 2019-05-17 16:35:18 +02:00
Tomasz Sęk 70f35c47f0
Add Readiness and Liveness probes - code cleanup 2019-04-15 21:47:02 +02:00
Maciej Olesinski 2c9f630926 Add Readiness and Liveness probes 2019-04-15 13:34:36 +02:00
Tomasz Sęk 1d10d629ce
#14 Add username/password authentication for seed jobs 2019-03-15 18:30:07 +01:00
Tomasz Sęk c170acac1d
#2 Add kubernetes-credentials-provider plugin to OperatorPlugins 2019-03-12 17:26:03 +01:00
Tomasz Sęk 2aa96789b4
#9 Allow set Jenkins master pod env variables 2019-03-11 16:52:28 +01:00
Tomasz Sęk 90c6f25610
#12 Allow configure Jenkins and Jenkins slave services 2019-03-08 17:06:53 +01:00
Tomasz Sęk 75c403b941
#13 Add node selector for Jenkins master pod 2019-03-08 07:30:04 +01:00
Tomasz Sęk f817d2ad09
#9 Add secret support in Configuration as Code plugin integration 2019-03-03 17:59:22 +01:00
Tomasz Sęk ebf1163b28
#8 Add Configuration as Code plugin integration 2019-03-01 17:48:35 +01:00
Tomasz Sęk b715f82557
#3 Fix custom auth override on Jenkins restart inside pod 2019-02-21 23:56:13 +01:00
Tomasz Sęk 08b6dfb691
#1 Split plugins in two groups:required by operator and required by user 2019-02-16 20:29:59 +01:00
Tomasz Sęk dd04c0cf5b
Remove backup mechanism 2019-02-14 19:36:55 +01:00
Tomasz Sęk ab87922bd1
Merge base and user e2e tests into one 2019-02-14 18:36:36 +01:00
Tomasz Sęk da17e1a011
Rename virtuslab.com to jenkins.io 2019-02-12 19:50:22 +01:00
Tomasz Sęk 45bbacfcd8
Rename VirtusLab/jenkins-operator to jenkinsci/kubernetes-operator 2019-02-11 21:34:56 +01:00
Tomasz Sęk ee79b2fadc
Rename VirtusLab/jenkins-operator to jenkinsci/kubernetes-operator in *.go 2019-02-11 21:10:52 +01:00
Tomasz Sęk a9dcd61a07
Add AWS S3 backup e2e test 2019-01-20 22:29:39 +01:00
Tomasz Sęk 1f1947a80b
Rename plugin package 2019-01-16 22:45:09 +01:00
Tomasz Sęk 8c4fa92ec5
Set default Jenkins master pod resources requirements, this closes #4 2019-01-15 12:04:50 +01:00
antoniaklja ae31901022 Minor improvements, code quality 2019-01-14 19:14:57 +01:00
Tomasz Sęk eabae853cc
Improve e2e tests 2019-01-14 18:24:46 +01:00
Tomasz Sęk d07ebcd507
Code refactoring 2019-01-09 06:20:08 +01:00
antoniaklja 54ee4ab6c7 Organized imports and updated README.md 2019-01-02 18:33:35 +01:00
antoniaklja b30fb17705 Refactored e2e user reconciliation tests 2019-01-02 16:42:27 +01:00
antoniaklja fef930791b Initial version of jobs API 2018-12-31 16:21:47 +01:00
antoniaklja e7c55512a8 Refactoring, additional tests and update README.md 2018-12-27 18:17:54 +01:00
Tomasz Sęk 50656ceb5b
Small refactoring 2018-12-26 17:39:58 +01:00
Tomasz Sęk af9f7f4e76
Install base plugins 2018-12-25 17:10:56 +01:00