Skip to content

Commit c802130

Browse files
sync pipelineruns with konflux-central - 027c125
1 parent cd19d50 commit c802130

File tree

1 file changed

+21
-31
lines changed

1 file changed

+21
-31
lines changed

.tekton/README.md

Lines changed: 21 additions & 31 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-
127
## ✅ How to Make Changes
138

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-
---
9+
To modify the pipelines for `` in the `` 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+
```
3517

36-
# Checkout the release branch you want to update (e.g., rhoai-2.21)
37-
git checkout rhoai-2.21
18+
- Check out the release branch
3819

39-
# Navigate to the Tekton files for the specific component
40-
cd pipelineruns/odh-dashboard/.tekton
20+
```bash
21+
git checkout
22+
```
23+
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//.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
48-
git push origin rhoai-2.21
32+
- Commit and push your changes.
33+
34+
```bash
35+
git commit -am "Update pipelinerun for ()"
36+
git push origin
4937
```
38+
39+
- Once pushed, automation will automatically sync your updates to the corresponding component repository.

0 commit comments

Comments
 (0)