Skip to content

Commit 8704f80

Browse files
committed
use pipelineref
1 parent d4fb9ac commit 8704f80

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

.tekton/test-pipeline.yaml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/RHOAI-Build-Config?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
pipelinesascode.tekton.dev/max-keep-runs: "3"
9+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
10+
== "main"
11+
creationTimestamp: null
12+
labels:
13+
appstudio.openshift.io/application: rhoai-v2-19
14+
appstudio.openshift.io/component: rhoai-fbc-fragment-v2-19
15+
pipelines.appstudio.openshift.io/type: build
16+
name: rhoai-fbc-fragment-test
17+
namespace: rhoai-tenant
18+
spec:
19+
params:
20+
- name: git-url
21+
value: '{{source_url}}'
22+
- name: revision
23+
value: '{{revision}}'
24+
- name: output-image
25+
value: quay.io/rhoai/rhoai-fbc-fragment:{{target_branch}}
26+
- name: build-platforms
27+
value:
28+
- linux/x86_64
29+
- linux/ppc64le
30+
- linux/s390x
31+
- name: build-image-index
32+
value: 'true'
33+
- name: append-platform-name
34+
value: 'true'
35+
- name: dockerfile
36+
value: Dockerfile
37+
- name: path-context
38+
value: catalog/rhoai-2.19/v4.19
39+
- name: build-args-file
40+
value: catalog/rhoai-2.19/catalog_build_args.map
41+
- name: skip-checks
42+
value: 'true'
43+
- name: rhoai-version
44+
value: 'v2.19.0'
45+
- name: component-name
46+
value: 'rhoai-fbc-fragment'
47+
- name: build-type
48+
value: 'stage'
49+
- name: additional-tags
50+
value:
51+
- 'ocp-4.20-rhoai-2.20'
52+
- '{{target_branch}}-{{revision}}'
53+
pipelineRef:
54+
resolver: git
55+
params:
56+
- name: url
57+
value: https://github.com/red-hat-data-services/RHOAI-Build-Config.git
58+
- name: revision
59+
value: pipeline
60+
- name: pathInRepo
61+
value: pipeline/fbc-fragment-build-pipeline.yaml
62+
taskRunTemplate: {}
63+
workspaces:
64+
- name: git-auth
65+
secret:
66+
secretName: '{{ git_auth_secret }}'
67+
status: {}

0 commit comments

Comments
 (0)