feat: latest CI/CD tools

This commit is contained in:
Stefan Reimer 2024-06-13 15:26:14 +00:00
parent 5b2d845a7a
commit 5422d19711
4 changed files with 519 additions and 563 deletions

View File

@ -1,6 +1,6 @@
# kubezero-ci # kubezero-ci
![Version: 0.8.11](https://img.shields.io/badge/Version-0.8.11-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.8.12](https://img.shields.io/badge/Version-0.8.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
KubeZero umbrella chart for all things CI KubeZero umbrella chart for all things CI
@ -20,9 +20,9 @@ Kubernetes: `>= 1.25.0`
|------------|------|---------| |------------|------|---------|
| https://aquasecurity.github.io/helm-charts/ | trivy | 0.7.0 | | https://aquasecurity.github.io/helm-charts/ | trivy | 0.7.0 |
| https://cdn.zero-downtime.net/charts/ | kubezero-lib | >= 0.1.6 | | https://cdn.zero-downtime.net/charts/ | kubezero-lib | >= 0.1.6 |
| https://charts.jenkins.io | jenkins | 5.1.18 | | https://charts.jenkins.io | jenkins | 5.2.1 |
| https://dl.gitea.io/charts/ | gitea | 10.1.4 | | https://dl.gitea.io/charts/ | gitea | 10.2.0 |
| https://docs.renovatebot.com/helm-charts | renovate | 37.368.2 | | https://docs.renovatebot.com/helm-charts | renovate | 37.406.2 |
# Jenkins # Jenkins
- default build retention 10 builds, 32days - default build retention 10 builds, 32days
@ -67,7 +67,6 @@ Kubernetes: `>= 1.25.0`
| gitea.gitea.metrics.enabled | bool | `false` | | | gitea.gitea.metrics.enabled | bool | `false` | |
| gitea.gitea.metrics.serviceMonitor.enabled | bool | `true` | | | gitea.gitea.metrics.serviceMonitor.enabled | bool | `true` | |
| gitea.image.rootless | bool | `true` | | | gitea.image.rootless | bool | `true` | |
| gitea.image.tag | string | `"1.21.11"` | |
| gitea.istio.enabled | bool | `false` | | | gitea.istio.enabled | bool | `false` | |
| gitea.istio.gateway | string | `"istio-ingress/private-ingressgateway"` | | | gitea.istio.gateway | string | `"istio-ingress/private-ingressgateway"` | |
| gitea.istio.url | string | `"git.example.com"` | | | gitea.istio.url | string | `"git.example.com"` | |
@ -91,6 +90,7 @@ Kubernetes: `>= 1.25.0`
| jenkins.agent.idleMinutes | int | `30` | | | jenkins.agent.idleMinutes | int | `30` | |
| jenkins.agent.image.repository | string | `"public.ecr.aws/zero-downtime/jenkins-podman"` | | | jenkins.agent.image.repository | string | `"public.ecr.aws/zero-downtime/jenkins-podman"` | |
| jenkins.agent.image.tag | string | `"v0.5.0"` | | | jenkins.agent.image.tag | string | `"v0.5.0"` | |
| jenkins.agent.inheritYamlMergeStrategy | bool | `true` | |
| jenkins.agent.podName | string | `"podman-aws"` | | | jenkins.agent.podName | string | `"podman-aws"` | |
| jenkins.agent.podRetention | string | `"Default"` | | | jenkins.agent.podRetention | string | `"Default"` | |
| jenkins.agent.resources.limits.cpu | string | `""` | | | jenkins.agent.resources.limits.cpu | string | `""` | |

File diff suppressed because it is too large Load Diff

View File

@ -10,4 +10,7 @@ update_helm
../kubezero-metrics/sync_grafana_dashboards.py dashboard-jenkins.yaml templates/jenkins/grafana-dashboard.yaml ../kubezero-metrics/sync_grafana_dashboards.py dashboard-jenkins.yaml templates/jenkins/grafana-dashboard.yaml
../kubezero-metrics/sync_grafana_dashboards.py dashboard-gitea.yaml templates/gitea/grafana-dashboard.yaml ../kubezero-metrics/sync_grafana_dashboards.py dashboard-gitea.yaml templates/gitea/grafana-dashboard.yaml
#Gitea dark theme
# https://codeberg.org/pat-s/gitea-github-theme
#
update_docs update_docs

View File

@ -2,7 +2,7 @@ gitea:
enabled: false enabled: false
image: image:
tag: 1.21.11 # tag: 1.21.11
rootless: true rootless: true
repliaCount: 1 repliaCount: 1
@ -67,8 +67,8 @@ gitea:
queue: queue:
TYPE: level TYPE: level
ui: ui:
THEMES: "gitea,github-dark" THEMES: "gitea-light,gitea-dark,github-dark"
DEFAULT_THEME: "github-dark" DEFAULT_THEME: "gitea-dark"
log: log:
LEVEL: warn LEVEL: warn
@ -210,6 +210,7 @@ jenkins:
# - name: AWS_ROLE_ARN # - name: AWS_ROLE_ARN
# value: "<IAM ROLE ARN>" # value: "<IAM ROLE ARN>"
yamlMergeStrategy: "merge" yamlMergeStrategy: "merge"
inheritYamlMergeStrategy: true
yamlTemplate: |- yamlTemplate: |-
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod