This commit is contained in:
2024-04-23 13:09:59 +02:00
parent 1e0a70dc70
commit e8687e3d86

View File

@@ -119,7 +119,7 @@ resource "kubectl_manifest" "ci-trigger-push" {
- apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: $(tt.params.project-name)-push-$(tt.params.branch-name)-
generateName: $(tt.params.project-name.replace('_','-').replace('/','-'))-push-$(tt.params.branch-name.replace('_','-').replace('/','-'))-
annotations:
"mayfly.cloud.namecheap.com/expire": "336h" # 2 weeks
spec:
@@ -213,7 +213,7 @@ resource "kubectl_manifest" "ci-trigger-tag" {
- apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: $(tt.params.project-name)-tag-$(tt.params.tag-name)-
generateName: $(tt.params.project-name.replace('_','-').replace('/','-'))-tag-$(tt.params.tag-name.replace('_','-').replace('/','-'))-
annotations:
"mayfly.cloud.namecheap.com/expire": "1440h" # 2 months
spec: