Commit Graph

29 Commits

Author SHA1 Message Date
Luigi Operoso 81251d3ddc
chore: update jenkins and plugins to latest lts, update gh actions, add flake, remove minikube and use kind (#974)
- update to latest jenkins lts
- update github actions
- add nix flake (experimental, build artifacts still wip)
- remove minikube and use kind for a better experience
2024-02-24 17:08:10 +01:00
Luigi Operoso cd2efd6722
feat(registry): change the default registry from dockerhub to quay.io (#799) 2023-03-07 00:08:33 +01:00
Luigi Operoso 60b8ee56de
fix(operator): Attempt to fix all the major issues present atm against the newest jenkins lts version (#784)
* fix(seed): fix #742, workaround #698
Original fix proposal: https://github.com/jenkinsci/kubernetes-operator/issues/742#issuecomment-1304398590

* fix(install-plugin.sh): fix #758, #739
* the fix was original attempted here:
  https://github.com/jenkinsci/kubernetes-operator/pull/764 but was not
  working correctly due to 2-3 additional changes which needed to be
  done
* removed the openshift check because the env is not mention anywhere
  and also the new jenkins-plugin-cli does not a specific command for
  openshift. Finally this does not make any sense in general, the only
  problem in ocp will be the user id that will be mapped to a random uid
  but that's another story. The command to install the plugins should
  remain the same across different k8s flavours.

* fix(doc/test): fix /usr/bin/tini in any doc and validation

* fix(jenkins): remove AdminWhitelistRule to avoid jvm stack trace, see: https://www.jenkins.io/doc/book/security/controller-isolation/jep-235/#api-compatibility

* fix(seed): fix seed img built on a previous jvm, fix #761

* fix(plugin): update the base plugin to work with the newest version of
jenkins:lts

* fix(run): fix #778

* fix(backup): add a trap to remove the tmp dir if the tar fail, also fix: #770

* test(chart): update chart values for testing, will revert before merge

* fix(configmap): leftover

* fix(tests): fix seed job test

* fix(e2e)

* fix(e2e): helm

* fix(operator): update the temporary img to reflect latests changes

* Fix Helm e2e tests

* add trap in case of unwanted exit and make shellcheck happy

* chore(plugin): update git ver to 5.0.0

* fix(backup): always force delete the backup directory

* chore(operator): update the temporary img to reflect latest changes

* chore(jenkins): upgrade jenkins latest lts
2023-01-12 17:29:30 +01:00
SylwiaBrant c74606a2ee
Migrate Helm Chart to OSDK v1.3.0 (#551)
Migrate Helm Chart to OSDK v1.3.0
2021-04-29 13:50:06 +02:00
Tomasz Sęk 524d0b861f
Refactor e2e tests to new ginkgo framework 2021-01-26 22:00:23 +01:00
Sylwia Brant 566ac9768f Grand Christmas Patch
Fixed helm not creating role permissions #424
Added ability to use custom k8s cluster domain #461
Fixed propagation of JENKINS_OPTS to seed-job agent #462
Fixed updating last backup #421
2020-12-15 10:18:40 +01:00
jkhelil 5e1496cbc3 reorganise directories for better readbility 2020-05-19 10:26:18 +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
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 be41ef44a8
#262 Allow configure Jenkins master pod labels 2020-01-30 23:14:06 +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
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
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 af10a97299
Allow configure sidecars in Jenkins pod 2019-05-17 16:35:18 +02:00
Tomasz Sęk 90c6f25610
#12 Allow configure Jenkins and Jenkins slave services 2019-03-08 17:06:53 +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 da17e1a011
Rename virtuslab.com to jenkins.io 2019-02-12 19:50:22 +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 eabae853cc
Improve e2e tests 2019-01-14 18:24:46 +01:00
antoniaklja e7c55512a8 Refactoring, additional tests and update README.md 2018-12-27 18:17:54 +01:00
Tomasz Sęk 1de7a05278
Improve JenkinsMasterPodRestart test 2018-12-25 17:07:51 +01:00
antoniaklja 4c8e61624e Initial version of user reconciliation loop and seed jobs 2018-12-19 22:40:08 +01:00
Tomasz Sęk 54aa39c502
Add reconcile loop of Jenkins base configuration 2018-12-06 09:29:38 +01:00