FEAT(tekton): add automatic cleanup for old PipelineRuns
- Add CronJob to delete completed PipelineRuns older than 1 hour - Add 30m timeout to TriggerTemplates - Prevent resource accumulation in tekton-pipelines namespace
This commit is contained in:
@@ -26,6 +26,8 @@ spec:
|
||||
app: $(tt.params.repo-name)
|
||||
branch: $(tt.params.git-branch)
|
||||
spec:
|
||||
timeouts:
|
||||
pipeline: 30m
|
||||
pipelineRef:
|
||||
name: nextjs-build-deploy
|
||||
params:
|
||||
@@ -79,6 +81,8 @@ spec:
|
||||
app: $(tt.params.repo-name)
|
||||
branch: $(tt.params.git-branch)
|
||||
spec:
|
||||
timeouts:
|
||||
pipeline: 30m
|
||||
pipelineRef:
|
||||
name: fastapi-build-deploy
|
||||
params:
|
||||
|
||||
Reference in New Issue
Block a user