Skip to content

Commit 167a117

Browse files
sync pipelineruns with konflux-central - 7b923ab
1 parent 699e8f2 commit 167a117

File tree

2 files changed

+88
-5
lines changed

2 files changed

+88
-5
lines changed

.tekton/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ All Tekton file updates **must be made in the `konflux-central` repository**.
66

77
## ✅ How to Make Changes
88

9-
To modify the pipelines for `lm-evaluation-harness` in the `main` branch:
9+
To modify the pipelines for `lm-evaluation-harness` in the `rhoai-3.3` release:
1010

1111
- Clone the [`konflux-central`](https://github.com/red-hat-data-services/konflux-central) repository.
1212

@@ -15,10 +15,10 @@ git clone [email protected]:red-hat-data-services/konflux-central.git
1515
cd konflux-central
1616
```
1717

18-
- Check out the branch
18+
- Check out the release branch
1919

2020
```bash
21-
git checkout main
21+
git checkout rhoai-3.3
2222
```
2323

2424
- Navigate to the Tekton files for your component(s).
@@ -32,8 +32,8 @@ cd pipelineruns/lm-evaluation-harness/.tekton
3232
- Commit and push your changes.
3333

3434
```bash
35-
git commit -am "Update pipelinerun for lm-evaluation-harness (main)"
36-
git push origin main
35+
git commit -am "Update pipelinerun for lm-evaluation-harness (rhoai-3.3)"
36+
git push origin rhoai-3.3
3737
```
3838

3939
- Once pushed, automation will automatically sync your updates to the corresponding component repository.
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
# retrigger Konflux builds to fix https://issues.redhat.com/browse/RHOAIENG-31914
4+
metadata:
5+
annotations:
6+
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/lm-evaluation-harness?rev={{revision}}
7+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
8+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
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.3"
14+
&& ( !".tekton/**".pathChanged() || ".tekton/odh-ta-lmes-job-v3-3-push.yaml".pathChanged() )
15+
creationTimestamp: null
16+
labels:
17+
appstudio.openshift.io/application: rhoai-v3-3
18+
appstudio.openshift.io/component: odh-ta-lmes-job-v3-3
19+
pipelines.appstudio.openshift.io/type: build
20+
name: odh-ta-lmes-job-v3-3-on-push
21+
namespace: rhoai-tenant
22+
spec:
23+
params:
24+
- name: git-url
25+
value: '{{source_url}}'
26+
- name: revision
27+
value: '{{revision}}'
28+
- name: additional-tags
29+
value:
30+
- '{{target_branch}}-{{revision}}'
31+
- name: additional-labels
32+
value:
33+
- version=v3.3.0
34+
- io.openshift.tags=odh-ta-lmes-job
35+
- name: output-image
36+
value: quay.io/rhoai/odh-ta-lmes-job-rhel9:{{target_branch}}
37+
- name: dockerfile
38+
value: Dockerfile.konflux.lmes-job
39+
- name: path-context
40+
value: .
41+
- name: hermetic
42+
value: false
43+
- name: build-image-index
44+
value: true
45+
- name: build-platforms
46+
value:
47+
- linux/x86_64
48+
- linux-m2xlarge/arm64
49+
- linux/ppc64le
50+
- linux/s390x
51+
taskRunSpecs:
52+
- pipelineTaskName: ecosystem-cert-preflight-checks
53+
computeResources:
54+
requests:
55+
cpu: '2'
56+
memory: 10Gi
57+
limits:
58+
cpu: '4'
59+
memory: 20Gi
60+
- pipelineTaskName: clair-scan
61+
computeResources:
62+
requests:
63+
cpu: '2'
64+
memory: 10Gi
65+
limits:
66+
cpu: '4'
67+
memory: 20Gi
68+
pipelineRef:
69+
resolver: git
70+
params:
71+
- name: url
72+
value: https://github.com/red-hat-data-services/konflux-central.git
73+
- name: revision
74+
value: '{{ target_branch }}'
75+
- name: pathInRepo
76+
value: pipelines/multi-arch-container-build.yaml
77+
taskRunTemplate:
78+
serviceAccountName: build-pipeline-odh-ta-lmes-job-v3-3
79+
workspaces:
80+
- name: git-auth
81+
secret:
82+
secretName: '{{ git_auth_secret }}'
83+
status: {}

0 commit comments

Comments
 (0)