Skip to content

Commit 1da5793

Browse files
sync pipelineruns with konflux-central - 2187b82
1 parent f9fee70 commit 1da5793

File tree

6 files changed

+170
-1968
lines changed

6 files changed

+170
-1968
lines changed

.tekton/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# ⚠️ Do Not Modify Files in the `.tekton/` Directory Directly
2+
3+
> 🔴 **Do not edit `.tekton/` files directly in the component repositories.**
4+
5+
The `.tekton/` directory in each component repository is **automatically synchronized** from [`konflux-central`](https://github.com/red-hat-data-services/konflux-central) using automation.
6+
7+
Any edits made directly to Tekton files in the component repositories will be **overwritten** by the next sync.
8+
All Tekton file updates **must be made in the `konflux-central` repository**.
9+
10+
---
11+
12+
## ✅ How to Make Changes
13+
14+
To update Tekton pipeline definitions:
15+
16+
1. Clone the [`konflux-central`](https://github.com/red-hat-data-services/konflux-central) repository.
17+
2. Check out the respective release branch (e.g., `rhoai-2.21`) where you want to make updates.
18+
3. Navigate to `pipelineruns/<repository_name>/.tekton`.
19+
4. Make the required changes to the Tekton YAML files.
20+
5. Commit and push your changes.
21+
6. Once pushed, automation will automatically sync your updates to the corresponding component repository.
22+
23+
---
24+
25+
## 💡 Example
26+
27+
To modify the pipeline for `odh-dashboard` in the `rhoai-2.21` release:
28+
29+
```bash
30+
# Clone the konflux-central repository
31+
git clone [email protected]:red-hat-data-services/konflux-central.git
32+
33+
# Move into the repository directory
34+
cd konflux-central
35+
36+
# Checkout the release branch you want to update (e.g., rhoai-2.21)
37+
git checkout rhoai-2.21
38+
39+
# Navigate to the Tekton files for the specific component
40+
cd pipelineruns/odh-dashboard/.tekton
41+
42+
# Make your changes to the .yml/.yaml files here
43+
44+
# Stage and commit your changes with a meaningful commit message
45+
git commit -am "Update pipelinerun for odh-dashboard (rhoai-2.21)"
46+
47+
# Push the changes to the remote branch
48+
git push origin rhoai-2.21
49+
```

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ metadata:
1313
false
1414
creationTimestamp: null
1515
labels:
16-
appstudio.openshift.io/application: external-rhoai-v2-19
17-
appstudio.openshift.io/component: vllm-cpu-v2-19
16+
appstudio.openshift.io/application: automation
17+
appstudio.openshift.io/component: pull-request-pipelines
1818
pipelines.appstudio.openshift.io/type: build
1919
name: vllm-ppc64le-on-pull-request
2020
namespace: rhoai-tenant
@@ -30,7 +30,7 @@ spec:
3030
- name: revision
3131
value: '{{revision}}'
3232
- name: output-image
33-
value: quay.io/modh/vllm:on-pr-cpu-{{revision}}
33+
value: quay.io/redhat-user-workloads/rhoai-tenant/pull-request-pipelines:vllm-on-pr-cpu-{{revision}}
3434
- name: dockerfile
3535
value: Dockerfile.ppc64le.ubi
3636
- name: path-context
@@ -100,8 +100,8 @@ metadata:
100100
false
101101
creationTimestamp: null
102102
labels:
103-
appstudio.openshift.io/application: external-rhoai-v2-19
104-
appstudio.openshift.io/component: vllm-cpu-v2-19
103+
appstudio.openshift.io/application: automation
104+
appstudio.openshift.io/component: pull-request-pipelines
105105
pipelines.appstudio.openshift.io/type: build
106106
name: vllm-s390x-on-pull-request
107107
namespace: rhoai-tenant
@@ -117,7 +117,7 @@ spec:
117117
- name: revision
118118
value: '{{revision}}'
119119
- name: output-image
120-
value: quay.io/modh/vllm:on-pr-cpu-{{revision}}
120+
value: quay.io/redhat-user-workloads/rhoai-tenant/pull-request-pipelines:vllm-on-pr-cpu-{{revision}}
121121
- name: dockerfile
122122
value: Dockerfile.s390x.ubi
123123
- name: path-context

0 commit comments

Comments
 (0)