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:
2026-01-11 01:41:21 +09:00
parent 4a1a718060
commit 90f204a0f5
3 changed files with 42 additions and 0 deletions

View File

@@ -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: