Skip to content

Commit efe44c6

Browse files
sync pipelineruns with konflux-central - 2e9f9d3
1 parent de832b3 commit efe44c6

File tree

2 files changed

+118
-0
lines changed

2 files changed

+118
-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 `main` branch:
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 branch
19+
20+
```bash
21+
git checkout main
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 (main)"
36+
git push origin main
37+
```
38+
39+
- Once pushed, automation will automatically sync your updates to the corresponding component repository.
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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+
build.appstudio.redhat.com/pull_request_number: "{{pull_request_number}}"
9+
pipelinesascode.tekton.dev/max-keep-runs: "3"
10+
pipelinesascode.tekton.dev/on-comment: "^/build-konflux"
11+
pipelinesascode.tekton.dev/on-label: "[build-konflux]"
12+
pipelinesascode.tekton.dev/on-event: "[pull_request]"
13+
pipelinesascode.tekton.dev/cancel-in-progress: "true"
14+
labels:
15+
appstudio.openshift.io/application: automation
16+
appstudio.openshift.io/component: pull-request-pipelines-vllm-gaudi
17+
pipelines.appstudio.openshift.io/type: build
18+
name: vllm-gaudi-on-pull-request
19+
namespace: rhoai-tenant
20+
spec:
21+
params:
22+
- name: git-url
23+
value: '{{source_url}}'
24+
- name: revision
25+
value: '{{revision}}'
26+
- name: output-image
27+
value: quay.io/rhoai/pull-request-pipelines:vllm-gaudi-{{revision}}
28+
- name: dockerfile
29+
value: Dockerfile.konflux.gaudi
30+
- name: path-context
31+
value: .
32+
- name: hermetic
33+
value: false
34+
- name: build-source-image
35+
value: false
36+
- name: build-image-index
37+
value: true
38+
- name: fetch-git-tags
39+
value: true
40+
- name: clone-depth
41+
value: '2147483647'
42+
- name: build-platforms
43+
value:
44+
- linux/x86_64
45+
- name: enable-slack-failure-notification
46+
value: "false"
47+
taskRunSpecs:
48+
- pipelineTaskName: ecosystem-cert-preflight-checks
49+
computeResources:
50+
requests:
51+
cpu: '8'
52+
memory: 16Gi
53+
limits:
54+
cpu: '16'
55+
memory: 32Gi
56+
- pipelineTaskName: clair-scan
57+
computeResources:
58+
requests:
59+
cpu: '8'
60+
memory: 16Gi
61+
limits:
62+
cpu: '16'
63+
memory: 32Gi
64+
pipelineRef:
65+
resolver: git
66+
params:
67+
- name: url
68+
value: https://github.com/red-hat-data-services/konflux-central.git
69+
- name: revision
70+
value: '{{ target_branch }}'
71+
- name: pathInRepo
72+
value: pipelines/multi-arch-container-build.yaml
73+
taskRunTemplate:
74+
serviceAccountName: build-pipeline-pull-request-pipelines
75+
workspaces:
76+
- name: git-auth
77+
secret:
78+
secretName: '{{ git_auth_secret }}'
79+
status: {}

0 commit comments

Comments
 (0)