Commit Graph

396 Commits

Author SHA1 Message Date
github-actions[bot] 08f0a74771
chore: update Jenkins lts version to 2.528.1 (#1137)
Co-authored-by: brokenpip3 <40476330+brokenpip3@users.noreply.github.com>
2025-10-26 21:57:13 +01:00
fuero bf040e1188
Removes disabling insecure protocols (#1129)
Co-authored-by: Luigi Operoso <40476330+brokenpip3@users.noreply.github.com>
2025-10-06 13:13:12 +02:00
github-actions[bot] 697dc1b370
chore: update Jenkins lts version to 2.516.3 (#1135)
Co-authored-by: brokenpip3 <40476330+brokenpip3@users.noreply.github.com>
2025-10-05 18:58:55 +02:00
Tobia De Koninck 69bdd916d5
Add option to skip install of plugins (#1065)
Co-authored-by: Luigi Operoso <40476330+brokenpip3@users.noreply.github.com>
2025-04-21 11:38:28 +02:00
Luigi Operoso 17d3c0bf4b
chore: bump jenkins and golang.org/x/crypto (#1104) 2025-04-06 10:12:51 +02:00
Luigi Operoso 832debbd45
chore: bump version to 2.492.2-lts and update helm chart readme (#1101) 2025-03-30 23:20:31 +02:00
Manish Bhasin 9c09db8031
update to go 1.22 and operator-sdk 1.35 (#1094)
Co-authored-by: brokenpip3 <brokenpip3@gmail.com>
Co-authored-by: Ansh Garhewal <me@anshdevs.in>
Co-authored-by: xmbhasin <xmbhasin@users.noreply.github.com>
2025-03-30 16:37:15 +02:00
DionJones615 d919a2a11c
fix(master): pass lifecycle configuration to master container (#1062) 2024-11-22 01:03:01 +01:00
Luigi Operoso a4fa09b2ed
chore: plugins and lts version october update (#1070) 2024-10-21 00:00:49 +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
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 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
Bartosz Surma bef796af8a
Update and use install-plugins.sh (#756)
* Download install-plugins.sh manually from remote

* Reformat

* Goimports

* Use install-plugins.sh bundled with the operator

* Fix compile error

* Update install-plugins.sh

* Remove redundant param to new install-plugins.sh

Co-authored-by: Piotr Ryba <pryba@virtuslab.com>
2022-06-28 19:14:31 +02:00
Piotr Ryba a97f283fb9
Remove cron validation (#748)
* Remove cron validation

* Bump git plugin
2022-06-20 20:13:35 +02:00
Bastien HUBERT 56b65aed16
Allow to specify seed agent image (#718)
* Allow to specify seed agent image

* Fix formatting issue

* Add optional for documentation

* Add entry for helm chart

* Add default value for helm chart

Co-authored-by: bhubert <bhubert@expediagroup.com>
2022-06-14 11:39:24 +02:00
Andras Szerdahelyi 46f64fea6a
Seed job SCM may now be configured with github-branch-source/GitHubAppCredentials (#719)
* Now allowing seed jobs to be configured with GithubAppCredential

* fmt

* Validation for GithubAppCredentials type seed job SCM secret

* GithubAppCredentials validation error messages were not referring to actual GithubAppCredentials fields

* cleanup
2022-05-31 16:04:03 +02:00
thecooldrop 13f871b1e4
Remove the validation of plugin version against a regex (#729) 2022-04-04 11:52:13 +02:00
Mateusz Korus 4fde1df8d8
Fix nil reference panic when using non-http readiness probe (#735) 2022-04-04 11:51:34 +02:00
Guillaume Le Biller 17a5bfec3e
Build multi-arch images (#693)
* Build multi-arch images

* Reduce CPU requirements for jenkins instances in e2e tests

* Bump Jenkins LTS & plugins versions
2022-02-15 14:51:29 +01:00
Szymon Fugas e8414c09a8
chore: enable manual run of nightly builds with possibility of skipping tests (#712)
* Add manual dispatch trigger for nightly build workflow, with an input parameter for optionally skipping the e2e and helm tests part of the workflow

* Bump how much memory to start minikube cluster with on e2e test workflows

* Log events from default namespace on tests failure, bump the limit of kubernetes events logged to 30

* Bump workflow-job plugin version used by default from 2.42 to 1145.v7f2433caa07f
2022-02-10 18:03:08 +01:00
João Valença 424ec3fbc2
Receive plugins' versions with underscores. (#699)
* Receive plugins versions with underscores.

New jenkins plugin versions have underscores in them (example: https://plugins.jenkins.io/credentials/). The operator refuses configuration for such plug-ins as they do not match the existing regex.

* Add tests to underscores in plugin versions

Adds a new test to check that versions with underscores are valid.

* Synchronise regexps character order to avoid range

Make two related regexps more evidently similar to each other and re-order the symbols so that the - is not interpreted.
2022-01-27 10:58:27 +01:00
Sylwia Brant 76078d5ff2 Bump version to v0.7.0 2021-12-08 10:26:46 +01:00
Manuel Traut e03ca0674a Upgrade Jenkins Master default docker image to latest LTS
Current plugin versions require at least Jenkins 2.289

Signed-off-by: Manuel Traut <manuel.traut@mt.com>
2021-10-20 14:31:06 +02:00
Manuel Traut 90d26f0548 Update jenkins base plugins to latest version (#669)
Signed-off-by: Manuel Traut <manuel.traut@mt.com>
2021-10-18 15:32:05 +02:00
Mateusz Korus 764a144c5a
Regenerate crds (#659) 2021-09-30 11:42:35 +02:00
Mateusz Korus 31c8368c55
Add HostAliases to schema (#656)
Add HostAliases to schema and propagate them to pods so the user can add entries to /etc/hosts
2021-09-24 15:00:14 +02:00
Cosnita Radu Viorel 935b60b6d8
Add GitLFS pull after checkout behaviour to SeedJob GroovyScript Template (#483)
Add GitLFS pull after checkout behaviour to support also repositories which are relying on Git LFS

Close #482
2021-07-29 11:44:51 +02:00
Szymon Fugas 9d5c525ace
Bump seedjobs agent image version to 4.9-1 (#604) 2021-07-23 10:29:04 +02:00
Michael Schmid 222af51cb9
Update Kubernetes to 1.30.0 (#579) 2021-06-16 11:23:04 +02:00
Mateusz Korus fbea1ed790 Bump version to v0.6.0 2021-06-10 08:10:50 +02:00
SylwiaBrant e762957cc1
Add security-validator branch to tests triggers 2021-06-08 09:38:47 +02:00
MKajzik 59d522c5d2
#554 Remove Deprecated JVM opts (#569)
* Upgrade base plugins
* Upgrade Jenkins image
* Remove deprecated JVM opts
2021-05-20 17:22:00 +02:00
MKajzik 8a42cdc1ee
#560 Fixed envFrom not propagating to master pod (#564)
* Fixed envFrom not propagate to master pod
2021-05-11 15:58:56 +02:00
Piotr Ryba 41dac85ea1
#552 Seed Jobs: Don't Validate "external" Credential Type (#556)
* Don't validate external credential type

The operator shouldn't try to fetch credentials that have their types
defined as `external` - that means that credentials are supplied
externally, without using k8s secrets.

* Docs: Add example of `external` credential type
2021-05-05 09:27:43 +02:00