gitops-build-lib
gitops-build-lib copied to clipboard
Jenkins pipeline shared library for automating deployments via GitOps
In https://github.com/cloudogu/gitops-build-lib/commit/ef676df34eb798971073d6b6378a70a97d9e9a99 the validators kubeval and helmkubeval were disabled. The README suggests that all these validators are enabled by default: https://github.com/cloudogu/gitops-build-lib/tree/main#validators
When running the same job on the same Jenkins agent multiple times this line might lead to this error This might lead to https://github.com/cloudogu/gitops-build-lib/blob/bf0eb9d94b2bd8bc58e247bf3bc0e831d18cc7c9/src/com/cloudogu/gitopsbuildlib/deployment/helm/repotype/HelmRepo.groovy#L39 `Error: failed to untar: a file...
Simple fix: Just create it transiently when it does not exist?
As discussed in #28, it would to replace the usage of the kubectl image with a native implementation. We only use it for `createConfigMap()` so it shouldn't be too much...
#26 disables kubeval, because [it's no longer maintained](https://github.com/instrumenta/kubeval/tree/fe0a7c22b93b92adfdc57d07b92d5231fd0b3e0e#readme). Replace by [kubeconform](https://github.com/yannh/kubeconform) as mentioned in the kubeval repo?
Flux v1 is no longer supported by the project, so we could get rid of a lot of code.
When deleting a resource in the `k8s` folder of application repo (source), it remains in the gitops repo (destination) until manually deleted there. This is confusing. Maybe gitops-build-lib could force...
Which one is not too intrusive? We don't want failing builds galore. E.g. * [KICS](https://github.com/Checkmarx/kics) * Trivy * [checkov](https://github.com/bridgecrewio/checkov) * [kubesec](https://github.com/controlplaneio/kubesec) * [kubeaudit](https://github.com/Shopify/kubeaudit)
While using the following option `updateValues : [[fieldPath: "image.name", newValue: imageName]]` The Jenkins logs yield a generic nullpointer error: "cannot set value of null object" It would be more clear,...
### Scenario: The build job on jenkins runs using the `deployViaGitops()` the `gitops-build-lib` is exposing. After successful builds, tests, image creation and also branch creation it failed when creating a...