Skip to content

Commit ae8382b

Browse files
sync pipelineruns with konflux-central - cc8c929
1 parent a5a720b commit ae8382b

File tree

2 files changed

+124
-0
lines changed

2 files changed

+124
-0
lines changed

.tekton/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# ⚠️ Do Not Modify Files in the `.tekton/` Directory Directly
2+
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.
4+
5+
All Tekton file updates **must be made in the `konflux-central` repository**.
6+
7+
## ✅ How to Make Changes
8+
9+
To modify the pipelines for `vllm-gaudi` in the `rhoai-3.2` release:
10+
11+
- Clone the [`konflux-central`](https://github.com/red-hat-data-services/konflux-central) repository.
12+
13+
```bash
14+
git clone [email protected]:red-hat-data-services/konflux-central.git
15+
cd konflux-central
16+
```
17+
18+
- Check out the release branch
19+
20+
```bash
21+
git checkout rhoai-3.2
22+
```
23+
24+
- Navigate to the Tekton files for your component(s).
25+
26+
```bash
27+
cd pipelineruns/vllm-gaudi/.tekton
28+
```
29+
30+
- Make the required changes to the Tekton YAML files.
31+
32+
- Commit and push your changes.
33+
34+
```bash
35+
git commit -am "Update pipelinerun for vllm-gaudi (rhoai-3.2)"
36+
git push origin rhoai-3.2
37+
```
38+
39+
- Once pushed, automation will automatically sync your updates to the corresponding component repository.
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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-gaudi?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-3.2"
14+
&& ( !".tekton/**".pathChanged() || ".tekton/odh-vllm-gaudi-v3-2-push.yaml".pathChanged() )
15+
labels:
16+
appstudio.openshift.io/application: rhoai-v3-2
17+
appstudio.openshift.io/component: odh-vllm-gaudi-v3-2
18+
pipelines.appstudio.openshift.io/type: build
19+
name: odh-vllm-gaudi-v3-2-on-push
20+
namespace: rhoai-tenant
21+
spec:
22+
params:
23+
- name: git-url
24+
value: '{{source_url}}'
25+
- name: revision
26+
value: '{{revision}}'
27+
- name: output-image
28+
value: quay.io/rhoai/odh-vllm-gaudi-rhel9:{{target_branch}}
29+
- name: additional-tags
30+
value:
31+
- '{{target_branch}}-{{revision}}'
32+
- name: additional-labels
33+
value:
34+
- version=v3.2.0
35+
- io.openshift.tags=odh-vllm-gaudi
36+
- name: dockerfile
37+
value: Dockerfile.konflux.gaudi
38+
- name: path-context
39+
value: .
40+
- name: hermetic
41+
value: false
42+
- name: build-source-image
43+
value: true
44+
- name: build-image-index
45+
value: true
46+
- name: fetch-git-tags
47+
value: true
48+
- name: clone-depth
49+
value: "2147483647"
50+
- name: build-platforms
51+
value:
52+
- linux/x86_64
53+
taskRunSpecs:
54+
- pipelineTaskName: ecosystem-cert-preflight-checks
55+
computeResources:
56+
requests:
57+
cpu: '8'
58+
memory: 16Gi
59+
limits:
60+
cpu: '16'
61+
memory: 32Gi
62+
- pipelineTaskName: clair-scan
63+
computeResources:
64+
requests:
65+
cpu: '8'
66+
memory: 16Gi
67+
limits:
68+
cpu: '16'
69+
memory: 32Gi
70+
pipelineRef:
71+
resolver: git
72+
params:
73+
- name: url
74+
value: https://github.com/red-hat-data-services/konflux-central.git
75+
- name: revision
76+
value: '{{ target_branch }}'
77+
- name: pathInRepo
78+
value: pipelines/multi-arch-container-build.yaml
79+
taskRunTemplate:
80+
serviceAccountName: build-pipeline-odh-vllm-gaudi-v3-2
81+
workspaces:
82+
- name: git-auth
83+
secret:
84+
secretName: '{{ git_auth_secret }}'
85+
status: {}

0 commit comments

Comments
 (0)