Skip to content

Commit a1adce7

Browse files
sync pipelineruns with konflux-central - c6315ed
1 parent 3503d54 commit a1adce7

File tree

3 files changed

+102
-7
lines changed

3 files changed

+102
-7
lines changed

.tekton/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ All Tekton file updates **must be made in the `konflux-central` repository**.
66

77
## ✅ How to Make Changes
88

9-
To modify the pipelines for `vllm` in the `main` branch:
9+
To modify the pipelines for `vllm` in the `rhoai-2.25` release:
1010

1111
- Clone the [`konflux-central`](https://github.com/red-hat-data-services/konflux-central) repository.
1212

@@ -15,10 +15,10 @@ git clone git@github.com:red-hat-data-services/konflux-central.git
1515
cd konflux-central
1616
```
1717

18-
- Check out the branch
18+
- Check out the release branch
1919

2020
```bash
21-
git checkout main
21+
git checkout rhoai-2.25
2222
```
2323

2424
- Navigate to the Tekton files for your component(s).
@@ -32,8 +32,8 @@ cd pipelineruns/vllm/.tekton
3232
- Commit and push your changes.
3333

3434
```bash
35-
git commit -am "Update pipelinerun for vllm (main)"
36-
git push origin main
35+
git commit -am "Update pipelinerun for vllm (rhoai-2.25)"
36+
git push origin rhoai-2.25
3737
```
3838

3939
- Once pushed, automation will automatically sync your updates to the corresponding component repository.

.tekton/vllm-cuda-pull-request.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ metadata:
1111
pipelinesascode.tekton.dev/on-label: "[build-all]"
1212
pipelinesascode.tekton.dev/on-event: "[pull_request]"
1313
pipelinesascode.tekton.dev/cancel-in-progress: "true"
14+
creationTimestamp: null
1415
labels:
1516
appstudio.openshift.io/application: automation
16-
appstudio.openshift.io/component: pull-request-pipelines-vllm-cuda
17+
appstudio.openshift.io/component: pull-request-pipelines
1718
pipelines.appstudio.openshift.io/type: build
1819
name: vllm-cuda-on-pull-request
1920
namespace: rhoai-tenant
@@ -29,7 +30,7 @@ spec:
2930
- name: revision
3031
value: '{{revision}}'
3132
- name: output-image
32-
value: quay.io/rhoai/pull-request-pipelines:vllm-cuda-{{revision}}
33+
value: quay.io/redhat-user-workloads/rhoai-tenant/pull-request-pipelines:vllm-cuda-{{revision}}
3334
- name: dockerfile
3435
value: Dockerfile.ubi
3536
- name: path-context

.tekton/vllm-cuda-v2-25-push.yaml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
# retrigger Konflux builds to fix https://issues.redhat.com/browse/RHOAIENG-31914
4+
metadata:
5+
annotations:
6+
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/vllm?rev={{revision}}
7+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
8+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
9+
pipelinesascode.tekton.dev/max-keep-runs: "3"
10+
build.appstudio.openshift.io/build-nudge-files: "config/base/params.env"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "push"
13+
&& target_branch == "rhoai-2.25"
14+
&& ( !".tekton/**".pathChanged() || ".tekton/vllm-cuda-v2-25-push.yaml".pathChanged() )
15+
creationTimestamp: null
16+
labels:
17+
appstudio.openshift.io/application: external-rhoai-v2-25
18+
appstudio.openshift.io/component: vllm-cuda-v2-25
19+
pipelines.appstudio.openshift.io/type: build
20+
name: 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/modh/vllm:{{target_branch}}-cuda
33+
- name: additional-tags
34+
value:
35+
- '{{target_branch}}-cuda-{{revision}}'
36+
- name: dockerfile
37+
value: Dockerfile.ubi
38+
- name: path-context
39+
value: .
40+
- name: hermetic
41+
value: false
42+
- name: build-source-image
43+
value: false
44+
- name: build-image-index
45+
value: true
46+
- name: rebuild
47+
value: true
48+
- name: skip-checks
49+
value: true
50+
- name: build-args
51+
value:
52+
- max_jobs=6
53+
- nvcc_threads=2
54+
- VLLM_VERSION=0.9.0.1
55+
- name: fetch-git-tags
56+
value: true
57+
- name: clone-depth
58+
value: "2147483647"
59+
- name: build-platforms
60+
value:
61+
- linux-extra-fast/amd64
62+
taskRunSpecs:
63+
- pipelineTaskName: ecosystem-cert-preflight-checks
64+
computeResources:
65+
requests:
66+
cpu: '8'
67+
memory: 16Gi
68+
limits:
69+
cpu: '16'
70+
memory: 32Gi
71+
- pipelineTaskName: clair-scan
72+
computeResources:
73+
requests:
74+
cpu: '8'
75+
memory: 16Gi
76+
limits:
77+
cpu: '16'
78+
memory: 32Gi
79+
pipelineRef:
80+
resolver: git
81+
params:
82+
- name: url
83+
value: https://github.com/red-hat-data-services/konflux-central.git
84+
- name: revision
85+
value: '{{ target_branch }}'
86+
- name: pathInRepo
87+
value: pipelines/multi-arch-container-build.yaml
88+
taskRunTemplate:
89+
serviceAccountName: build-pipeline-vllm-cuda-v2-25
90+
workspaces:
91+
- name: git-auth
92+
secret:
93+
secretName: '{{ git_auth_secret }}'
94+
status: {}

0 commit comments

Comments
 (0)