Skip to content

Commit 05239ec

Browse files
sync pipelineruns with konflux-central - 554a555
1 parent fa9bf13 commit 05239ec

File tree

1 file changed

+20
-30
lines changed

1 file changed

+20
-30
lines changed

.tekton/README.md

Lines changed: 20 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,39 @@
11
# ⚠️ Do Not Modify Files in the `.tekton/` Directory Directly
22

3-
> 🔴 **Do not edit `.tekton/` files directly in the component repositories.**
3+
The `.tekton/` directory in each component repository is **automatically synchronized** from [`konflux-central`](https://github.com/red-hat-data-services/konflux-central) using automation. Any edits made directly to Tekton files in the component repositories will be **overwritten** by the next sync.
44

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.
85
All Tekton file updates **must be made in the `konflux-central` repository**.
96

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.
7+
## ✅ How to Make Changes
228

23-
---
9+
To modify the pipelines for `notebooks` in the `rhoai-2.21` release:
2410

25-
## 💡 Example
26-
27-
To modify the pipeline for `odh-dashboard` in the `rhoai-2.21` release:
11+
- Clone the [`konflux-central`](https://github.com/red-hat-data-services/konflux-central) repository.
2812

2913
```bash
30-
# Clone the konflux-central repository
3114
git clone [email protected]:red-hat-data-services/konflux-central.git
32-
33-
# Move into the repository directory
3415
cd konflux-central
16+
```
17+
18+
- Check out the release branch
3519

36-
# Checkout the release branch you want to update (e.g., rhoai-2.21)
20+
```bash
3721
git checkout rhoai-2.21
22+
```
3823

39-
# Navigate to the Tekton files for the specific component
40-
cd pipelineruns/odh-dashboard/.tekton
24+
- Navigate to the Tekton files for your component(s).
4125

42-
# Make your changes to the .yml/.yaml files here
26+
```bash
27+
cd pipelineruns/notebooks/.tekton
28+
```
4329

44-
# Stage and commit your changes with a meaningful commit message
45-
git commit -am "Update pipelinerun for odh-dashboard (rhoai-2.21)"
30+
- Make the required changes to the Tekton YAML files.
4631

47-
# Push the changes to the remote branch
32+
- Commit and push your changes.
33+
34+
```bash
35+
git commit -am "Update pipelinerun for notebooks (rhoai-2.21)"
4836
git push origin rhoai-2.21
4937
```
38+
39+
- Once pushed, automation will automatically sync your updates to the corresponding component repository.

0 commit comments

Comments
 (0)