Skip to content

Commit e930ec2

Browse files
sync pipelineruns with konflux-central - 3f05f57
1 parent 1d67382 commit e930ec2

File tree

2 files changed

+180
-0
lines changed

2 files changed

+180
-0
lines changed
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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/vllm?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
build.appstudio.redhat.com/pull_request_number: "{{pull_request_number}}"
9+
pipelinesascode.tekton.dev/max-keep-runs: "3"
10+
pipelinesascode.tekton.dev/on-comment: "^/build-cuda"
11+
pipelinesascode.tekton.dev/on-label: "[build-all]"
12+
pipelinesascode.tekton.dev/on-event: "[pull_request]"
13+
pipelinesascode.tekton.dev/cancel-in-progress: "true"
14+
creationTimestamp: null
15+
labels:
16+
appstudio.openshift.io/application: automation
17+
appstudio.openshift.io/component: pull-request-pipelines
18+
pipelines.appstudio.openshift.io/type: build
19+
name: vllm-cuda-on-pull-request
20+
namespace: rhoai-tenant
21+
spec:
22+
timeouts:
23+
pipeline: 10h
24+
tasks: 8h
25+
params:
26+
- name: image-expires-after
27+
value: 5d
28+
- name: git-url
29+
value: '{{source_url}}'
30+
- name: revision
31+
value: '{{revision}}'
32+
- name: output-image
33+
value: quay.io/redhat-user-workloads/rhoai-tenant/pull-request-pipelines:vllm-cuda-{{revision}}
34+
- name: dockerfile
35+
value: Dockerfile.ubi
36+
- name: path-context
37+
value: .
38+
- name: hermetic
39+
value: false
40+
- name: build-source-image
41+
value: false
42+
- name: build-image-index
43+
value: true
44+
- name: rebuild
45+
value: true
46+
- name: skip-checks
47+
value: true
48+
- name: build-args-file
49+
value: argfile.conf
50+
- name: fetch-git-tags
51+
value: true
52+
- name: clone-depth
53+
value: "2147483647"
54+
- name: build-platforms
55+
value:
56+
- linux-extra-fast/amd64
57+
taskRunSpecs:
58+
- pipelineTaskName: ecosystem-cert-preflight-checks
59+
computeResources:
60+
requests:
61+
cpu: '8'
62+
memory: 16Gi
63+
limits:
64+
cpu: '16'
65+
memory: 32Gi
66+
- pipelineTaskName: clair-scan
67+
computeResources:
68+
requests:
69+
cpu: '8'
70+
memory: 16Gi
71+
limits:
72+
cpu: '16'
73+
memory: 32Gi
74+
pipelineRef:
75+
resolver: git
76+
params:
77+
- name: url
78+
value: https://github.com/red-hat-data-services/konflux-central.git
79+
- name: revision
80+
value: '{{ target_branch }}'
81+
- name: pathInRepo
82+
value: pipelines/multi-arch-container-build.yaml
83+
taskRunTemplate:
84+
serviceAccountName: build-pipeline-pull-request-pipelines
85+
workspaces:
86+
- name: git-auth
87+
secret:
88+
secretName: '{{ git_auth_secret }}'
89+
status: {}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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/vllm?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
pipelinesascode.tekton.dev/cancel-in-progress: "false"
9+
pipelinesascode.tekton.dev/max-keep-runs: "3"
10+
build.appstudio.openshift.io/build-nudge-files: "build/operator-nudging.yaml"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "push"
13+
&& target_branch == "rhoai-2.25"
14+
&& ( !".tekton/**".pathChanged() || ".tekton/odh-vllm-cuda-v2-25-push.yaml".pathChanged() )
15+
creationTimestamp: null
16+
labels:
17+
appstudio.openshift.io/application: rhoai-v2-25
18+
appstudio.openshift.io/component: odh-vllm-cuda-v2-25
19+
pipelines.appstudio.openshift.io/type: build
20+
name: odh-vllm-cuda-v2-25-on-push
21+
namespace: rhoai-tenant
22+
spec:
23+
timeouts:
24+
pipeline: 10h
25+
tasks: 8h
26+
params:
27+
- name: git-url
28+
value: '{{source_url}}'
29+
- name: revision
30+
value: '{{revision}}'
31+
- name: output-image
32+
value: quay.io/rhoai/odh-vllm-cuda-rhel9:{{target_branch}}
33+
- name: additional-tags
34+
value:
35+
- '{{target_branch}}-{{revision}}'
36+
- name: additional-labels
37+
value:
38+
- version=v2.25.0
39+
- io.openshift.tags=odh-vllm-cuda
40+
- name: dockerfile
41+
value: Dockerfile.konflux.cuda
42+
- name: path-context
43+
value: .
44+
- name: hermetic
45+
value: false
46+
- name: build-source-image
47+
value: true
48+
- name: build-image-index
49+
value: true
50+
- name: build-args-file
51+
value: argfile.conf
52+
- name: fetch-git-tags
53+
value: true
54+
- name: clone-depth
55+
value: "2147483647"
56+
- name: build-platforms
57+
value:
58+
- linux-extra-fast/amd64
59+
taskRunSpecs:
60+
- pipelineTaskName: ecosystem-cert-preflight-checks
61+
computeResources:
62+
requests:
63+
cpu: '8'
64+
memory: 16Gi
65+
limits:
66+
cpu: '16'
67+
memory: 32Gi
68+
- pipelineTaskName: clair-scan
69+
computeResources:
70+
requests:
71+
cpu: '8'
72+
memory: 16Gi
73+
limits:
74+
cpu: '16'
75+
memory: 32Gi
76+
pipelineRef:
77+
resolver: git
78+
params:
79+
- name: url
80+
value: https://github.com/red-hat-data-services/konflux-central.git
81+
- name: revision
82+
value: '{{ target_branch }}'
83+
- name: pathInRepo
84+
value: pipelines/multi-arch-container-build.yaml
85+
taskRunTemplate:
86+
serviceAccountName: build-pipeline-odh-vllm-cuda-v2-25
87+
workspaces:
88+
- name: git-auth
89+
secret:
90+
secretName: '{{ git_auth_secret }}'
91+
status: {}

0 commit comments

Comments
 (0)