Commit Graph

418 Commits

Author SHA1 Message Date
xmbhasin ae508553bf fix(base_plugins): don't hardcode workflow-job, jenkins crashing during plugin dep resolution 2025-03-23 13:02:40 -04:00
xmbhasin 7a06e4175f Merge branch 'master' into go-1.22-fix-tests 2025-03-23 12:40:14 -04:00
xmbhasin d2b654fb40 fix(reconcile): ensure backup reconciliation succeeds during bats tests
* now stdout and stderr from Exec calls are properly returned so output of backup jobs can be checked
* now runs backup reconciliation before seed jobs reconciliation
* backups would never be performed during bats tests because of errors and/or requeuing requests from ensureSeedJobs
2025-03-23 11:32:11 -04:00
xmbhasin d8a0d7ff32 fix(base_plugins): jenkins crashing during plugin dep resolution
* ensures plugin versions are compatible as of 2025-03-22
2025-03-23 11:32:11 -04:00
brokenpip3 8d927809cc
temp disable groovy test suite 2024-12-09 00:27:04 +01:00
brokenpip3 e23fb22ac2
sunday tests investigation 2024-12-08 23:40:06 +01:00
DionJones615 d919a2a11c
fix(master): pass lifecycle configuration to master container (#1062) 2024-11-22 01:03:01 +01:00
Luigi Operoso f9ded15841
chore: plugins and lts version october update (#1070) 2024-10-21 00:05:10 +02:00
Luigi Operoso a4fa09b2ed
chore: plugins and lts version october update (#1070) 2024-10-21 00:00:49 +02:00
Ansh Garhewal 6c2ca15597
refactor(tests): removed unused dependencies 2024-07-28 08:43:23 +05:30
Ansh Garhewal c7a1938be4
refactor(tests): smtp commented and some refactoring 2024-07-27 18:02:05 +05:30
Ansh Garhewal 559d145282
refactor(test): seedjob tests passing 2024-07-25 21:39:24 +05:30
Ansh Garhewal 8da241b4de
refactor(tests): fixed github and bitbucket pushTrigger test 2024-07-24 22:20:02 +05:30
Ansh Garhewal dd31159b12
refactor(tests): reconcile_test 2024-07-22 16:07:24 +05:30
Ansh Garhewal 1cb7be2cdb
fix(ci)- fixed golangci linting errors 2024-07-21 21:26:43 +05:30
Ansh Garhewal b2f6f482ca
fix: golangci linting errors 2024-07-21 19:05:18 +05:30
Ansh Garhewal 87ec9f8c2a
feat: mocks updated
- Old mocks removed
- New Mocks Added for Jenkins API that has support for context API
2024-07-21 16:22:03 +05:30
Ansh Garhewal 9d12e547d4
fix: refactored to support context API
- Context API support is added to the Jenkins API interface.
2024-07-21 16:12:49 +05:30
Ansh Garhewal b7f4e25b71
refactor: minor fixes 2024-07-20 23:26:05 +05:30
brokenpip3 c7f9a4852b
fix conflict, start addressing linter and build problems 2024-07-19 12:58:19 +02:00
brokenpip3 46472d3356
Merge remote-tracking branch 'origin/master' into version-9.0 2024-07-18 23:55:32 +02:00
Luigi Operoso 5e962b26ae
fix(operator): deprecated jnlpUrl (#1026) 2024-07-02 22:39:50 +02:00
DionJones615 5ef6c730de
fix(backup): Duplicated backups & restores (#1021) 2024-06-25 18:44:55 +02:00
Luigi Operoso e0f52b5bdf
chore(operator): update jenkins latest img and plugins, use latest backup in bats tests (#1022) 2024-06-22 16:27:38 +02:00
DionJones615 18197e66b7
feat: expose jenkins master terminationGracePeriodSeconds (#1012)
Co-authored-by: brokenpip3 <brokenpip3@gmail.com>
2024-06-11 23:57:48 +02:00
Luigi Operoso 061995a65c
fix: seed job warnings, updated latest lts and plugins (#1018) 2024-06-02 23:33:56 +02:00
brokenpip3 05aae66a65
fix 2024-04-06 13:07:55 +02:00
brokenpip3 8e1b3a178a
wip 2024-03-13 16:37:22 +01:00
brokenpip3 5a1a4a1eec
wip 2024-03-12 10:32:43 +01:00
Luigi Operoso a8d414f85c fix golangci-lint 2024-03-11 22:44:32 +00:00
brokenpip3 549930bcd6
fix probe handler 2024-02-25 00:18:08 +01:00
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
brokenpip3 ca46f35b5f
chore: update to jenkins 2.440.1-lts 2024-02-21 22:55:17 +01:00
brokenpip3 3d02d4ba0a
fix tests, add wget and helm-docs 2024-02-21 09:44:07 +01:00
brokenpip3 8fca790d6e
chore: update plugins 2024-02-21 00:37:53 +01:00
brokenpip3 d48603cebf
chore: update seed job base image to use java17 by default 2024-02-21 00:28:38 +01:00
brokenpip3 ceb971e6f9
chore: update jenkins lts version 2024-02-21 00:25:31 +01:00
Luigi Operoso 8d61604b03
fix(tests) (#936) 2023-11-19 14:04:23 +01:00
Luigi Operoso 2c88fe13a8
chore(jenkins): update latest lts and plugins version (#900) 2023-09-05 15:21:44 +02:00
Luigi Operoso 5ddcf1075d
fix: latestplugin always true, add more complex bats tests, update devcontainers and make manifests (#857) 2023-06-27 09:37:31 +02:00
Luigi Operoso 0abc758dc3
chore: several minor updates, bump helm, base-plugins and backup base img (#865) 2023-06-26 12:43:24 +02:00
Luigi Operoso 3fe842fff4
chore: prearing version bumpt to v0.8.0-beta2 (#849) 2023-06-06 00:10:36 +02:00
Luigi Operoso d9ea2ee83b
feat: attempt to move restore before seed job creation (#844) 2023-06-04 13:35:14 +02:00
Luigi Operoso 00bb04745b
Fix: add tollerations again (#842)
Signed-off-by: tombokombo <tombo@sysart.tech>
Co-authored-by: Tomas Hulata <tombo@sysart.tech>
2023-05-30 09:36:55 +02:00
Luigi Operoso 7bccdc21b1
chore: update to latest lts, update plugins, remove devbots, add devcontainer (#835)
Update to the latest lts
Update plugins
Remove devbots
Initial devcontainer config
2023-05-09 00:12:54 +02:00
Luigi Operoso 00fc29e772
chore: update to 2.387.2-lts and base plugins (#811) 2023-04-13 23:22:22 +02:00
Luigi Operoso 9fd053b784
feat(operator): several updates (#806)
- prepare to switch from `master` to `main`
- avoid to run workflow in case is not needed
- add a way to bump the lts via make
- use latest jenkins lts 2.387.1
- add the docker labels
- update base plugins
- fix #797 
- Add more tests with bats
- Update base plugin to latest version
- Temporary revert #807 
- Better nightly job
2023-03-23 00:04:57 +01:00
Luigi Operoso e9fbe575a6
chore(update): use latest jenkins lts: 2.375.3 (#796) 2023-03-07 00:09:23 +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