Commit Graph

41 Commits

Author SHA1 Message Date
Luigi Operoso 17d3c0bf4b
chore: bump jenkins and golang.org/x/crypto (#1104) 2025-04-06 10:12:51 +02:00
Luigi Operoso 2864a85364
chore: pin github actions, update and freeze pre-commit hooks, update nix flake (#1097) 2025-03-30 18:11:32 +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
Piotr Ryba a97f283fb9
Remove cron validation (#748)
* Remove cron validation

* Bump git plugin
2022-06-20 20:13:35 +02:00
sharmapulkit04 51f7ec8248 Implemented validation logic for the webhook (#593)
* Fix workflow for autogenerating docs (#592)

* Use grep -c flag in check for changes step to fix case when more than 1 website file was modified

* Implemented validation logic for the webhook
- Created a single Validate() function to validate both updating and creating Jenkins CR.
- Implemented the Validate function to fetch warnings from the API and do security check if
  being enabled.
- Updated the helm charts and helm-e2e target to run the helm tests.

* Configure bot for labelling new issues as needing triage (#597)

* Configure bot for managing stale issues (#598)

* Docs: explanation what is backed up and why (#599)

* Explanation what's backed up and why

* Auto-updated docs (#600)

Co-authored-by: prryb <prryb@users.noreply.github.com>

* Docs: clarification of description of get latest command in backup (#601)

* Auto-updated docs (#602)

Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>

* Bump seedjobs agent image version to 4.9-1 (#604)

* 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

* Docs: minor fixes (#608)

* Link to project's DockerHub in README's section on nightly builds, add paragraph about nightly builds in installation docs

* Fix repositoryURL in sample seedJob configuration with SSH auth

* Slightly expand on #348

* Fix formatting in docs on Jenkins' customization, update plugin versions

* Add notes on Jenkins home Volume in Helm chart values.yaml and docs (#589)

* Auto-updated docs (#610)

Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>

* Reimplemented the validation logic with caching the security warnings
- Reimplemented the validator interface
- Updated manifests to allocate more resources

* Add an issue template for documentation (#613)

* Docs: add info on restricted volumeMounts other than jenkins-home(#612)

* Update note in installation docs

* Update Helm chart default values.yaml

* Update schema

* Auto-updated docs (#616)

Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>

* Auto-updated docs (#617)

Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>

* Updated Validation logic
- Defined a security manager struct to cache all the plugin data
- Added flag to make validating security warnings optional while deploying the operator

* Helm Chart: Remove empty priorityClassName from Jenkins template (#618)

Also bump Helm Chart version to v0.5.2

* Added unit test cases for webhook

* Updated Helm Charts
- Optimized the charts
- Made the webhook optional
- Added cert manager as dependency to be installed while running webhook

* Updated unit tests, helm charts and validation logic

* Completed helm e2e tests and updated helm charts
- Completed helm tests for various scenarios
- Disabled startupapi check for cert manager webhook, defined a secret and updated templates
- Made the webhook completely optional

* Code optimization and cleanup

* Modified helm tests

* code cleanup and optimization
2021-08-30 08:21:52 +02:00
Piotr Ryba 07d2e5e129
Use ssh.ParseRawPrivateKey to validate ssh private key (#546)
This allows the user to use keys other than PEM encoded RSA. ed25519
is often recommended to be used if it's supported. Using this
algorithm implies the use of OpenSSH key format in ssh-keygen.
2021-04-27 07:21:58 +02:00
Tomasz Sęk 524d0b861f
Refactor e2e tests to new ginkgo framework 2021-01-26 22:00:23 +01:00
Sylwia Brant b6bf47b949 Added base for envtests 2021-01-20 15:46:39 +01:00
Tomasz Sęk cb26623f5f
Upgrade operator-sdk to 1.3.0 without e2e tests 2021-01-19 15:47:05 +01:00
jkhelil 5e1496cbc3 reorganise directories for better readbility 2020-05-19 10:26:18 +02:00
jkhelil 128c97be6b lint with golangci-lint 2020-05-06 16:22:52 +02:00
khelil eb8b2e32e8
Refactoring for jenkins client (#366) 2020-05-06 11:31:16 +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 ea059eab76
Update base plugins versions 2020-04-13 13:59:22 +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 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
Riccardo Biraghi 0f5cd0334d Add Bitbucket trigger for seed job 2020-02-05 16:17:49 +00:00
Tomasz Sęk 12fa083e71
Use port-forward in e2e tests to communicate with Jenkins API
- add missing files
2020-01-23 13:48:29 +01:00
Tomasz Sęk 33c3d47cee
#197 Improve checking the ImagePullSecret 2019-12-25 14:40:46 +01:00
Jakub Al-Khalili c95108e3ac Extend kubernetes client, pod termination notification 2019-10-28 15:45:38 +01:00
Jakub Al-Khalili 292ae036db Add SMTP libraries 2019-10-17 09:55:23 +02:00
Tomasz Sęk 9e882d5853
Improve notifications 2019-10-04 17:34:41 +02:00
Rui Chen 648af20092 Fix `thrift@v0.12.0 used for two different module paths` 2019-09-28 14:22:12 -04:00
Rui Chen 2a01d66957 Upgrade to go v1.13 2019-09-27 23:14:38 -04:00
Jakub Al-Khalili d9d121bc8d Removed golint step 2019-09-10 10:05:54 +02:00
Jakub Al-Khalili 1bbf0d58b9 Fix golint dep 2019-09-10 09:53:41 +02:00
Jakub Al-Khalili 1da0d0b0a4 Set operator-sdk version to 0.8.1 2019-09-10 09:20:27 +02:00
Jakub Al-Khalili 65ca412340 Fix golint dependency 2019-09-10 08:58:00 +02:00
Jakub Al-Khalili ba2184dbea Bump operator-sdk version to v0.10.0 2019-09-09 13:26:19 +02:00
Jakub Al-Khalili f5d64e906e Fix image links on website 2019-09-06 13:58:00 +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 b6df178b45 Fix golint dependencies 2019-09-02 13:31:12 +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
Jakub Al-Khalili 5cbd21b03c Add notification library 2019-07-31 14:51:00 +02:00
Jakub Al-Khalili 21e44049b5 Fixed go.mod dependencies 2019-07-09 10:07:04 +02:00
Jakub Al-Khalili 6d0704ca33 Fixed staticcheck and lint for macOS 2019-07-09 09:26:58 +02:00
Tomasz Sęk 2d501b00d5
#4 [WIP] Backup and restore 2019-06-16 08:21:23 +02:00
Tomasz Sęk 79e150cbb7
Generate OpenAPI 2019-06-07 17:53:50 +02:00
Tomasz Sęk 7d257965b9
Bump operator-sdk to v0.8.1 2019-06-07 17:36:56 +02:00