-
Notifications
You must be signed in to change notification settings - Fork 77
/
node-web-app-pipeline.yaml
43 lines (43 loc) · 1.04 KB
/
node-web-app-pipeline.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: tekton.dev/v1alpha1
kind: Pipeline
metadata:
name: node-web-app-pipeline
namespace: node-web-project
spec:
resources:
- name: node-web-app-source
type: git
- name: node-web-app-image
type: image
tasks:
- name: build-and-publish-image
params:
- name: BUILDER_IMAGE
value: 'quay.io/buildah/stable:v1.11.0'
- name: DOCKERFILE
value: ./Dockerfile
- name: TLSVERIFY
value: 'false'
resources:
inputs:
- name: source
resource: node-web-app-source
outputs:
- name: image
resource: node-web-app-image
taskRef:
kind: ClusterTask
name: buildah
- name: argocd-sync-deployment
params:
- name: application-name
value: node-web-app
- name: flags
value: '--insecure'
- name: argocd-version
value: v1.4.2
runAfter:
- build-and-publish-image
taskRef:
kind: Task
name: argocd-task-sync-and-wait