forked from rh-ecosystem-edge/recert
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecert-4-20-pull-request.yaml
More file actions
70 lines (70 loc) · 2.38 KB
/
recert-4-20-pull-request.yaml
File metadata and controls
70 lines (70 loc) · 2.38 KB
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
60
61
62
63
64
65
66
67
68
69
70
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/rh-ecosystem-edge/recert?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" &&
target_branch == "main" &&
(
'.tekton/build-pipeline.yaml'.pathChanged() ||
'etcddump/***'.pathChanged() ||
'hack/***'.pathChanged() ||
'ouger/***'.pathChanged() ||
'src/***'.pathChanged() ||
'vendor/***'.pathChanged() ||
'build.rs'.pathChanged() ||
'Cargo.lock'.pathChanged() ||
'Cargo.toml'.pathChanged() ||
'ownership.sh'.pathChanged() ||
'reproto'.pathChanged() ||
'run_seed'.pathChanged() ||
'vendor.sh'.pathChanged() ||
'.tekton/recert-4-20-pull-request.yaml'.pathChanged() ||
'.konflux/Dockerfile'.pathChanged() ||
'.konflux/lock-build/***'.pathChanged() ||
'.konflux/lock-runtime/***'.pathChanged()
)
creationTimestamp: null
labels:
appstudio.openshift.io/application: lifecycle-agent-4-20
appstudio.openshift.io/component: recert-4-20
pipelines.appstudio.openshift.io/type: build
name: recert-4-20-on-pull-request
namespace: telco-5g-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/telco-5g-tenant/recert-4-20:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: build-platforms
value:
- linux/x86_64
- name: dockerfile
value: .konflux/Dockerfile
- name: hermetic
value: "true"
- name: prefetch-input
value: '[{"type": "rpm", "path": ".konflux/lock-build"}, {"type": "rpm", "path": ".konflux/lock-runtime"}]'
- name: dev-package-managers
value: true
- name: build-source-image
value: "true"
pipelineRef:
name: build-pipeline
taskRunTemplate: {}
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}