-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline.yaml
46 lines (46 loc) · 1.01 KB
/
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
44
45
46
apiVersion: tekton.dev/v1alpha1
kind: Pipeline
metadata:
name: application-pipeline
spec:
resources:
- name: git
type: git
# - name: output-image
# type: image
tasks:
- name: list-source-code
taskRef:
name: list-source-code
resources:
inputs:
- name: git
resource: git
# - name: kaniko-build-and-push-image
# taskRef:
# name: kaniko
# runAfter:
# - list-source-code
# resources:
# inputs:
# - name: source
# resource: git
# outputs:
# - name: image
# resource: output-image
# params:
# - name: CONTEXT
# value: "."
# - name: EXTRA_ARGS
# value: "--skip-tls-verify"
# - name: deploy-application-using-image
# taskRef:
# name: openshift-client
# runAfter:
# - kaniko-build-and-push-image
# params:
# - name: ARGS
# value:
# - "new-app"
# - "--image-stream=nodejsapp"
# - "--name=nodejs-app"