Files
bakery-ia/infrastructure/cicd/tekton-helm/templates/task-pipeline-summary.yaml

42 lines
1.1 KiB
YAML
Raw Normal View History

2026-01-19 14:22:07 +01:00
# Tekton Task for Pipeline Summary
# This task generates a summary of the pipeline execution
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: pipeline-summary
2026-01-20 22:05:10 +01:00
namespace: {{ .Release.Namespace }}
2026-01-19 14:22:07 +01:00
labels:
app.kubernetes.io/name: {{ .Values.labels.app.name }}
app.kubernetes.io/component: summary
spec:
params:
- name: changed-services
type: string
description: Services that were changed
- name: git-revision
type: string
description: Git revision being processed
steps:
- name: generate-summary
2026-01-22 17:29:56 +01:00
image: alpine:3.19
securityContext:
runAsNonRoot: true
runAsUser: 65532
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault
2026-01-19 14:22:07 +01:00
script: |
2026-01-22 17:53:02 +01:00
#!/bin/sh
2026-01-19 14:22:07 +01:00
set -e
echo "=== Bakery-IA CI Pipeline Summary ==="
echo "Git Revision: $(params.git-revision)"
echo "Changed Services: $(params.changed-services)"
echo "Pipeline completed successfully"
# Log summary to stdout for visibility
echo "Summary generated"