- 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
* 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
* 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>
* 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
* 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
* 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.
* 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
* Skip kube-api-access volume comparison
This hotfixes the incompatibility between the Operator and Kubernetes
1.21.
Kubernetes 1.21 started adding a new volume named
"kube-api-access-<random-suffix>" and that broke the comparison
function and resulted in an infinite loop.
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.
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
Made the targetPort in Jenkins pod a fixed value.
Previously users encountered issue with changing values.
Added test comparing expected and actual targetPort values.