Skip to content

Commit b68a5cf

Browse files
sync pipelineruns with konflux-central - fed20b7, triggered_by: https://github.com/red-hat-data-services/konflux-central/actions/runs/24767538806
1 parent 2fae340 commit b68a5cf

4 files changed

Lines changed: 257 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.1` 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.1
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.1)"
36+
git push origin rhoai-3.5-ea.1
37+
```
38+
39+
- Once pushed, automation will automatically sync your updates to the corresponding component repository.
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+
#
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+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
12+
== "rhoai-3.5-ea.1"
13+
&& ".tekton/odh-llm-d-batch-gateway-apiserver-v3-5-ea-1-push.yaml".pathChanged()
14+
|| "Dockerfile.apiserver.konflux".pathChanged()
15+
creationTimestamp: null
16+
labels:
17+
appstudio.openshift.io/application: rhoai-v3-5-ea-1
18+
appstudio.openshift.io/component: odh-llm-d-batch-gateway-apiserver-v3-5-ea-1
19+
pipelines.appstudio.openshift.io/type: build
20+
name: odh-llm-d-batch-gateway-apiserver-v3-5-ea-1-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-apiserver-rhel9:{{target_branch}}
33+
- name: rhoai-version
34+
value: "3.5.0-ea.1"
35+
- name: dockerfile
36+
value: docker/Dockerfile.apiserver.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-apiserver-v3-5-ea-1
69+
workspaces:
70+
- name: git-auth
71+
secret:
72+
secretName: '{{ git_auth_secret }}'
73+
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+
#
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+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
12+
== "rhoai-3.5-ea.1"
13+
&& ".tekton/odh-llm-d-batch-gateway-gc-v3-5-ea-1-push.yaml".pathChanged()
14+
|| "Dockerfile.gc.konflux".pathChanged()
15+
creationTimestamp: null
16+
labels:
17+
appstudio.openshift.io/application: rhoai-v3-5-ea-1
18+
appstudio.openshift.io/component: odh-llm-d-batch-gateway-gc-v3-5-ea-1
19+
pipelines.appstudio.openshift.io/type: build
20+
name: odh-llm-d-batch-gateway-gc-v3-5-ea-1-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-gc-rhel9:{{target_branch}}
33+
- name: rhoai-version
34+
value: "3.5.0-ea.1"
35+
- name: dockerfile
36+
value: docker/Dockerfile.gc.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-gc-v3-5-ea-1
69+
workspaces:
70+
- name: git-auth
71+
secret:
72+
secretName: '{{ git_auth_secret }}'
73+
status: {}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
11+
== "rhoai-3.5-ea.1"
12+
&& ".tekton/odh-llm-d-batch-gateway-processor-v3-5-ea-1-push.yaml".pathChanged()
13+
|| "Dockerfile.processor.konflux".pathChanged()
14+
creationTimestamp: null
15+
labels:
16+
appstudio.openshift.io/application: rhoai-v3-5-ea-1
17+
appstudio.openshift.io/component: odh-llm-d-batch-gateway-processor-v3-5-ea-1
18+
pipelines.appstudio.openshift.io/type: build
19+
name: odh-llm-d-batch-gateway-processor-v3-5-ea-1-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: additional-tags
28+
value:
29+
- '{{target_branch}}-{{revision}}'
30+
- name: output-image
31+
value: quay.io/rhoai/odh-llm-d-batch-gateway-processor-rhel9:{{target_branch}}
32+
- name: rhoai-version
33+
value: "3.5.0-ea.1"
34+
- name: dockerfile
35+
value: docker/Dockerfile.processor.konflux
36+
- name: path-context
37+
value: .
38+
- name: hermetic
39+
value: 'true'
40+
- name: prefetch-input
41+
value: |
42+
[
43+
{
44+
"type": "gomod"
45+
}
46+
]
47+
- name: build-source-image
48+
value: true
49+
- name: build-image-index
50+
value: true
51+
- name: build-platforms
52+
value:
53+
- linux/x86_64
54+
- linux-m2xlarge/arm64
55+
- linux/ppc64le
56+
- linux/s390x
57+
pipelineRef:
58+
resolver: git
59+
params:
60+
- name: url
61+
value: https://github.com/red-hat-data-services/konflux-central.git
62+
- name: revision
63+
value: '{{ target_branch }}'
64+
- name: pathInRepo
65+
value: pipelines/multi-arch-container-build.yaml
66+
taskRunTemplate:
67+
serviceAccountName: build-pipeline-odh-llm-d-batch-gateway-processor-v3-5-ea-1
68+
workspaces:
69+
- name: git-auth
70+
secret:
71+
secretName: '{{ git_auth_secret }}'
72+
status: {}

0 commit comments

Comments
 (0)