softplayer-helmfile/charts/tekton-pipelines/templates/pipelines/install-app.yaml

33 lines
773 B
YAML
Raw Normal View History

2024-05-04 16:42:28 +00:00
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: install-app
namespace: {{ .Values.pipelineNamespace }}
labels:
{{- include "tekton-pipelines.labels" . | nindent 4 }}
spec:
params:
- name: environment
type: string
- name: namespace
type: string
tasks:
- name: install-app
retries: 3
taskRef:
resolver: cluster
params:
- name: kind
value: task
- name: name
value: install-app
- name: namespace
value: tekton-pipelines
params:
- name: environment
value: $(params.environment)
- name: namespace
value: $(params.namespace)
- name: application
value: $(params.application)