2024-04-02 17:15:40 +00:00
|
|
|
apiVersion: tekton.dev/v1beta1
|
|
|
|
kind: Pipeline
|
|
|
|
metadata:
|
|
|
|
name: hetzner-cleanup
|
|
|
|
namespace: {{ .Values.pipelineNamespace }}
|
|
|
|
labels:
|
|
|
|
{{- include "tekton-pipelines.labels" . | nindent 4 }}
|
|
|
|
spec:
|
|
|
|
params:
|
|
|
|
- name: environment
|
|
|
|
type: string
|
|
|
|
- name: namespace
|
|
|
|
type: string
|
|
|
|
tasks:
|
|
|
|
- name: cleanup-hetzner-infra
|
|
|
|
retries: 3
|
|
|
|
taskRef:
|
|
|
|
resolver: cluster
|
|
|
|
params:
|
|
|
|
- name: kind
|
|
|
|
value: task
|
|
|
|
- name: name
|
|
|
|
value: cleanup-hetzner-infra
|
|
|
|
- name: namespace
|
|
|
|
value: tekton-pipelines
|
|
|
|
params:
|
|
|
|
- name: environment
|
|
|
|
value: $(params.environment)
|
|
|
|
- name: namespace
|
|
|
|
value: $(params.namespace)
|
2024-05-08 15:38:52 +00:00
|
|
|
|
2024-05-04 16:42:28 +00:00
|
|
|
- name: cleanup-dns-records
|
|
|
|
retries: 3
|
|
|
|
taskRef:
|
|
|
|
resolver: cluster
|
|
|
|
params:
|
|
|
|
- name: kind
|
|
|
|
value: task
|
|
|
|
- name: name
|
|
|
|
value: cleanup-dns-records
|
|
|
|
- name: namespace
|
|
|
|
value: tekton-pipelines
|
|
|
|
params:
|
|
|
|
- name: environment
|
|
|
|
value: $(params.environment)
|
|
|
|
- name: namespace
|
|
|
|
value: $(params.namespace)
|