Commit Graph

1243 Commits

Author SHA1 Message Date
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
Tomas Hulata e36441a4a2
Add tolerations for jenkis pod (#807)
Signed-off-by: tombokombo <tombo@sysart.tech>
2023-03-17 18:56:29 +01:00
Piotr Ryba 6932b61ff9
chore: Prepare the project for handover (#800) 2023-03-13 16:07:09 +01:00
Luigi Operoso 2f90db9dc9
fix(quay.io): start using quay.io and fix backup push (#805) 2023-03-12 18:29:39 +01:00
Luigi Operoso d91a729ccf
feat(backup): add backup img ci for e2e tests, docker build and push (#795)
also fix the current CI
2023-03-07 00:34:07 +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
Alexander Brandes 1adaf00ca7
fix(docs) delete SECURITY.md (#785) 2023-03-02 23:47:29 +01:00
github-actions[bot] c39eaa95b7
Auto-updated docs (#790)
Co-authored-by: prryb <prryb@users.noreply.github.com>
2023-01-19 14:22:39 +01:00
Luigi Operoso fc3fe04581
chore(operator): update operator version in master (#791) 2023-01-19 13:50:56 +01:00
github-actions[bot] 7a72939de8
Auto-updated docs (#789)
Co-authored-by: prryb <prryb@users.noreply.github.com>
2023-01-16 07:32:41 +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
github-actions[bot] 6e03948b09
Auto-updated docs (#788)
Co-authored-by: prryb <prryb@users.noreply.github.com>
2023-01-09 22:07:47 +01:00
Peter Becich fbe70f11ca
update image tag for `virtuslab/jenkins-operator-backup-pvc` (#781)
https://hub.docker.com/r/virtuslab/jenkins-operator-backup-pvc/tags
2023-01-08 19:45:01 +01:00
Jelmer Vernooij 3ce8a49d26
Increase memory, to prevent OOM killing (#774) 2023-01-08 19:42:18 +01:00
github-actions[bot] 410c403452
Auto-updated docs (#787)
Co-authored-by: prryb <prryb@users.noreply.github.com>
2023-01-08 19:41:34 +01:00
twildber a8065cc038
adding seedjobagentimage to jenkins chart (#771)
Co-authored-by: Thorsten Wildberger <thorsten.wildberger@capgemini.com>
2023-01-08 19:34:56 +01:00
Eli Ezeugoh addb94f83e
Fix broken link for configuring seed jobs (#780)
Link from Schema docs to seed job is broken
2023-01-08 19:32:49 +01:00
Bastien HUBERT 94b1473c63
Add seedJobAgentImage into CRD (#754)
* Add seedJobAgentImage into CRD

* Fix lint by ignoring auto-generated files
2022-06-29 17:23:23 +02: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
github-actions[bot] 4c2671c1a3
Release Helm chart 0.6.2 (#753)
Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>
2022-06-22 17:55:00 +02:00
Szymon Fugas e1b1e9cb3c
Bump to 0.7.1 (#752) 2022-06-22 17:46:49 +02:00
github-actions[bot] 4079d4e93e
Release Helm chart 0.6.1 (#751)
Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>
2022-06-22 13:31:26 +02:00
Szymon Fugas 63e96c9715
chore: add release workflow (#750)
* Regenerate deepcopy

* Add the workflow

* Stop signing the tag
2022-06-21 15:36:22 +02:00
Piotr Ryba 8fee7f2806 Bump version to v0.7.1 2022-06-20 21:53:45 +02:00
ywang-psee b734b6d74f
Customize jenkins-operator helmchart with adding 'nodeSelector' (#723)
* Customize jenkins-operator helmchart with adding 'nodeSelector'

* Fix nindent in chart template

* Fix nodeSelector position in helm jenkins template
2022-06-20 21:25:37 +02:00
Tomas Hulata 3362aae2a3
helmchart: hostAliases support (#720)
Signed-off-by: tombokombo <tombo@sysart.tech>
2022-06-20 21:22:17 +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
github-actions[bot] 49bdf518de
Auto-updated docs (#724)
Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>
2022-02-28 16:22:06 +01:00
github-actions[bot] d3b1fd8172
Auto-updated docs (#717)
Co-authored-by: MKajzik <MKajzik@users.noreply.github.com>
2022-02-28 16:17:05 +01:00
Mateusz Kajzik 47eb115219
Docs: Fix yaml with configuration 2022-02-18 11:26:54 +01:00
Mateusz Kajzik 4c60936da2 Fix yaml in configuration 2022-02-17 14:34:45 +01:00
Mateusz Kajzik 202d7a87b7
Merge pull request #1 from jenkinsci/master
Merge master
2022-02-17 14:02:29 +01:00
Bastien HUBERT 29c5b1e705
Fix nightly release pipeline (#714)
* Add buildx create command to makefile to specify driver for the builder

* Use docker-container as driver for docker buildx

Co-authored-by: bhubert <bhubert@expediagroup.com>
2022-02-16 12:33:17 +01: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
thecooldrop 0f507409cc
Fixes #687 (#688)
This is necessary in order to be able to provide the annotations attached to the
service account associated with the Jenkins master instance.

Co-authored-by: Vanio Begic <vanio.begic@capgemini.com>
2021-12-23 13:37:08 +01:00
Andre 2724ec2f70
#685 Do not strip leading whitespace from priorityClassName in helm template (#686) 2021-12-22 08:16:11 +01:00
Andre 7fb4add0b2
#689 ignore packaged helm charts (#690) 2021-12-21 09:20:00 +01:00
Szymon Fugas 64de9aad91
chore: fix Helm chart release workflow (#683)
Modified sed usage in Helm chart release workflow to account for dependencies section present in Chart.yaml 

Unify usage of sed across Helm chart release workflow
2021-12-15 14:40:03 +01:00
Sylwia Brant dd6e48c8d5 Release 0.6.0 Helm Chart 2021-12-08 14:22:11 +01:00
Sylwia Brant 2b158d5bda Update Operator image in Helm Chart 2021-12-08 14:03:52 +01:00
github-actions[bot] 445d48ab54
Auto-updated docs (#681)
Co-authored-by: SylwiaBrant <SylwiaBrant@users.noreply.github.com>
2021-12-08 13:35:21 +01:00
Sylwia Brant 8d953ae457 Update website - 0.7.0 release 2021-12-08 13:18:09 +01:00
Sylwia Brant 76078d5ff2 Bump version to v0.7.0 2021-12-08 10:26:46 +01:00