Skip to content

Commit 4c449f1

Browse files
sync pipelineruns with konflux-central - ee05a60, triggered_by: https://github.com/red-hat-data-services/konflux-central/actions/runs/26030572098
1 parent ff6e498 commit 4c449f1

4 files changed

Lines changed: 260 additions & 0 deletions

.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 `batch-gateway` in the `rhoai-3.5-ea.2` release:
10+
11+
- Clone the [`konflux-central`](https://github.com/red-hat-data-services/konflux-central) repository.
12+
13+
```bash
14+
git clone git@github.com: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.5-ea.2
22+
```
23+
24+
- Navigate to the Tekton files for your component(s).
25+
26+
```bash
27+
cd pipelineruns/batch-gateway/.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 batch-gateway (rhoai-3.5-ea.2)"
36+
git push origin rhoai-3.5-ea.2
37+
```
38+
39+
- Once pushed, automation will automatically sync your updates to the corresponding component repository.
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
#
4+
metadata:
5+
annotations:
6+
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/batch-gateway?rev={{revision}}
7+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
8+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
9+
pipelinesascode.tekton.dev/cancel-in-progress: "false"
10+
pipelinesascode.tekton.dev/max-keep-runs: "3"
11+
build.appstudio.openshift.io/build-nudge-files: "build/operator-nudging.yaml"
12+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
13+
== "rhoai-3.5-ea.2"
14+
&& ".tekton/odh-llm-d-batch-gateway-apiserver-v3-5-ea-2-push.yaml".pathChanged()
15+
|| "Dockerfile.apiserver.konflux".pathChanged()
16+
creationTimestamp: null
17+
labels:
18+
appstudio.openshift.io/application: rhoai-v3-5-ea-2
19+
appstudio.openshift.io/component: odh-llm-d-batch-gateway-apiserver-v3-5-ea-2
20+
pipelines.appstudio.openshift.io/type: build
21+
name: odh-llm-d-batch-gateway-apiserver-v3-5-ea-2-on-push
22+
namespace: rhoai-tenant
23+
spec:
24+
params:
25+
- name: git-url
26+
value: '{{source_url}}'
27+
- name: revision
28+
value: '{{revision}}'
29+
- name: additional-tags
30+
value:
31+
- '{{target_branch}}-{{revision}}'
32+
- name: output-image
33+
value: quay.io/rhoai/odh-llm-d-batch-gateway-apiserver-rhel9:{{target_branch}}
34+
- name: rhoai-version
35+
value: "3.5.0-ea.2"
36+
- name: dockerfile
37+
value: docker/Dockerfile.apiserver.konflux
38+
- name: path-context
39+
value: .
40+
- name: hermetic
41+
value: 'true'
42+
- name: prefetch-input
43+
value: |
44+
[
45+
{
46+
"type": "gomod"
47+
}
48+
]
49+
- name: build-source-image
50+
value: true
51+
- name: build-image-index
52+
value: true
53+
- name: build-platforms
54+
value:
55+
- linux/x86_64
56+
- linux-m2xlarge/arm64
57+
- linux/ppc64le
58+
- linux/s390x
59+
pipelineRef:
60+
resolver: git
61+
params:
62+
- name: url
63+
value: https://github.com/red-hat-data-services/konflux-central.git
64+
- name: revision
65+
value: '{{ target_branch }}'
66+
- name: pathInRepo
67+
value: pipelines/multi-arch-container-build.yaml
68+
taskRunTemplate:
69+
serviceAccountName: build-pipeline-odh-llm-d-batch-gateway-apiserver-v3-5-ea-2
70+
workspaces:
71+
- name: git-auth
72+
secret:
73+
secretName: '{{ git_auth_secret }}'
74+
status: {}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
#
4+
metadata:
5+
annotations:
6+
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/batch-gateway?rev={{revision}}
7+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
8+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
9+
pipelinesascode.tekton.dev/cancel-in-progress: "false"
10+
pipelinesascode.tekton.dev/max-keep-runs: "3"
11+
build.appstudio.openshift.io/build-nudge-files: "build/operator-nudging.yaml"
12+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
13+
== "rhoai-3.5-ea.2"
14+
&& ".tekton/odh-llm-d-batch-gateway-gc-v3-5-ea-2-push.yaml".pathChanged()
15+
|| "Dockerfile.gc.konflux".pathChanged()
16+
creationTimestamp: null
17+
labels:
18+
appstudio.openshift.io/application: rhoai-v3-5-ea-2
19+
appstudio.openshift.io/component: odh-llm-d-batch-gateway-gc-v3-5-ea-2
20+
pipelines.appstudio.openshift.io/type: build
21+
name: odh-llm-d-batch-gateway-gc-v3-5-ea-2-on-push
22+
namespace: rhoai-tenant
23+
spec:
24+
params:
25+
- name: git-url
26+
value: '{{source_url}}'
27+
- name: revision
28+
value: '{{revision}}'
29+
- name: additional-tags
30+
value:
31+
- '{{target_branch}}-{{revision}}'
32+
- name: output-image
33+
value: quay.io/rhoai/odh-llm-d-batch-gateway-gc-rhel9:{{target_branch}}
34+
- name: rhoai-version
35+
value: "3.5.0-ea.2"
36+
- name: dockerfile
37+
value: docker/Dockerfile.gc.konflux
38+
- name: path-context
39+
value: .
40+
- name: hermetic
41+
value: 'true'
42+
- name: prefetch-input
43+
value: |
44+
[
45+
{
46+
"type": "gomod"
47+
}
48+
]
49+
- name: build-source-image
50+
value: true
51+
- name: build-image-index
52+
value: true
53+
- name: build-platforms
54+
value:
55+
- linux/x86_64
56+
- linux-m2xlarge/arm64
57+
- linux/ppc64le
58+
- linux/s390x
59+
pipelineRef:
60+
resolver: git
61+
params:
62+
- name: url
63+
value: https://github.com/red-hat-data-services/konflux-central.git
64+
- name: revision
65+
value: '{{ target_branch }}'
66+
- name: pathInRepo
67+
value: pipelines/multi-arch-container-build.yaml
68+
taskRunTemplate:
69+
serviceAccountName: build-pipeline-odh-llm-d-batch-gateway-gc-v3-5-ea-2
70+
workspaces:
71+
- name: git-auth
72+
secret:
73+
secretName: '{{ git_auth_secret }}'
74+
status: {}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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/batch-gateway?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: event == "push" && target_branch
12+
== "rhoai-3.5-ea.2"
13+
&& ".tekton/odh-llm-d-batch-gateway-processor-v3-5-ea-2-push.yaml".pathChanged()
14+
|| "Dockerfile.processor.konflux".pathChanged()
15+
creationTimestamp: null
16+
labels:
17+
appstudio.openshift.io/application: rhoai-v3-5-ea-2
18+
appstudio.openshift.io/component: odh-llm-d-batch-gateway-processor-v3-5-ea-2
19+
pipelines.appstudio.openshift.io/type: build
20+
name: odh-llm-d-batch-gateway-processor-v3-5-ea-2-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: output-image
32+
value: quay.io/rhoai/odh-llm-d-batch-gateway-processor-rhel9:{{target_branch}}
33+
- name: rhoai-version
34+
value: "3.5.0-ea.2"
35+
- name: dockerfile
36+
value: docker/Dockerfile.processor.konflux
37+
- name: path-context
38+
value: .
39+
- name: hermetic
40+
value: 'true'
41+
- name: prefetch-input
42+
value: |
43+
[
44+
{
45+
"type": "gomod"
46+
}
47+
]
48+
- name: build-source-image
49+
value: true
50+
- name: build-image-index
51+
value: true
52+
- name: build-platforms
53+
value:
54+
- linux/x86_64
55+
- linux-m2xlarge/arm64
56+
- linux/ppc64le
57+
- linux/s390x
58+
pipelineRef:
59+
resolver: git
60+
params:
61+
- name: url
62+
value: https://github.com/red-hat-data-services/konflux-central.git
63+
- name: revision
64+
value: '{{ target_branch }}'
65+
- name: pathInRepo
66+
value: pipelines/multi-arch-container-build.yaml
67+
taskRunTemplate:
68+
serviceAccountName: build-pipeline-odh-llm-d-batch-gateway-processor-v3-5-ea-2
69+
workspaces:
70+
- name: git-auth
71+
secret:
72+
secretName: '{{ git_auth_secret }}'
73+
status: {}

0 commit comments

Comments
 (0)