forked from AICoE/aicoe-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-pipeline.yaml
59 lines (59 loc) · 1.26 KB
/
build-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
47
48
49
50
51
52
53
54
55
56
57
58
59
---
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: build-aicoe-argocd-customization
spec:
workspaces:
- name: shared-workspace
tasks:
- name: fetch-repository
taskRef:
name: git-clone
workspaces:
- name: output
workspace: shared-workspace
params:
- name: url
value: https://github.com/kelseyhightower/nocode
- name: subdirectory
value: ""
- name: deleteExisting
value: "true"
- name: buildah
taskRef:
name: buildah
runAfter:
- fetch-repository
workspaces:
- name: source
workspace: shared-workspace
params:
- name: IMAGE
value: localhost:5000/nocode
- name: TLSVERIFY
value: "false"
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: build-aicoe-argocd-customization-
spec:
pipelineRef:
name: build-aicoe-argocd-customization
workspaces:
- name: shared-workspace
persistentvolumeclaim:
claimName: buildah-source-pvc
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: buildah-source-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
volumeMode: Filesystem