848ba723e4
CI Main / Config load (push) Successful in 3m12s
CI Git-Pages Main / Config load (push) Successful in 3m4s
CI Main / Latest versio (push) Successful in 30s
CI Git-Pages Main / Latest version (push) Successful in 27s
ci-helm-build-push Helm push 0.1.9
unit-tests Bats test report
CI Main / Bats tests (push) Successful in 1m56s
CI Git-Pages Main / Build & Push Helm chart (push) Successful in 1m19s
acc-tests Cucumber test report
CI Main / Cucumber tests (push) Successful in 3m47s
ci-docker-build-push Docker push 0.2.34
CI Main / Build & Push Docker (push) Successful in 1m14s
gitops/gitea-ci-library/git-pages GitOps: git-pages 0.1.9
CI Git-Pages Main / GitOps (push) Successful in 3m37s
gitops/gitea-ci-library GitOps: 0.2.34
CI Main / GitOps (push) Successful in 40s
CI Main / Report Summary (push) Successful in 4s
CI Main / Move provider version tag (push) Successful in 12s
CI Git-Pages Main / Report Summary (push) Successful in 4s
Co-authored-by: moilanik <niko.moilanen@tietoevry.com> Reviewed-on: #46
18 lines
552 B
YAML
18 lines
552 B
YAML
{{- if and .Values.persistence.enabled .Values.retention.enabled }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: git-pages-retention
|
|
labels:
|
|
{{- include "git-pages.componentLabels" . | nindent 4 }}
|
|
data:
|
|
retention.json: |
|
|
{{- .Values.retention.rules | toJson | nindent 4 }}
|
|
retention-lib.sh: |
|
|
{{- .Files.Get "files/retention-lib.sh" | nindent 4 }}
|
|
retention-cleanup.sh: |
|
|
{{- .Files.Get "files/retention-cleanup.sh" | nindent 4 }}
|
|
retention-run.sh: |
|
|
{{- .Files.Get "files/retention-run.sh" | nindent 4 }}
|
|
{{- end }}
|