33 lines
773 B
YAML
33 lines
773 B
YAML
|
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)
|