Skip to content

Commit f5ff088

Browse files
sync pipelineruns with konflux-central - eae102c
1 parent 3720755 commit f5ff088

17 files changed

+1106
-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 `notebooks` in the `rhoai-2.23` 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-2.23
22+
```
23+
24+
- Navigate to the Tekton files for your component(s).
25+
26+
```bash
27+
cd pipelineruns/notebooks/.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 notebooks (rhoai-2.23)"
36+
git push origin rhoai-2.23
37+
```
38+
39+
- Once pushed, automation will automatically sync your updates to the corresponding component repository.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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/notebooks?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: "manifests/base/params-latest.env"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "push"
13+
&& target_branch == "rhoai-2.23"
14+
&& !("manifests/base/params-latest.env".pathChanged())
15+
&& ( "runtimes/datascience/ubi9-python-3.11/**".pathChanged() ||
16+
".tekton/odh-pipeline-runtime-datascience-cpu-py311-ubi9-n-v2-23-push.yaml".pathChanged() )
17+
18+
creationTimestamp: null
19+
labels:
20+
appstudio.openshift.io/application: external-rhoai-v2-23
21+
appstudio.openshift.io/component: odh-pipeline-runtime-datascience-cpu-py311-ubi9-n-v2-23
22+
pipelines.appstudio.openshift.io/type: build
23+
name: odh-pipeline-runtime-datascience-cpu-py311-ubi9-n-v2-23-on-push
24+
namespace: rhoai-tenant
25+
spec:
26+
params:
27+
- name: git-url
28+
value: '{{source_url}}'
29+
- name: revision
30+
value: '{{revision}}'
31+
- name: output-image
32+
value: quay.io/modh/odh-pipeline-runtime-datascience-cpu-py311-ubi9:{{target_branch}}
33+
- name: additional-tags
34+
value:
35+
- '{{target_branch}}-{{revision}}'
36+
- name: dockerfile
37+
value: runtimes/datascience/ubi9-python-3.11/Dockerfile.cpu
38+
- name: path-context
39+
value: .
40+
- name: hermetic
41+
value: false
42+
- name: build-source-image
43+
value: false
44+
- name: build-image-index
45+
value: false
46+
- name: rebuild
47+
value: true
48+
- name: skip-checks
49+
value: true
50+
pipelineRef:
51+
resolver: git
52+
params:
53+
- name: url
54+
value: https://github.com/red-hat-data-services/konflux-central.git
55+
- name: revision
56+
value: '{{ target_branch }}'
57+
- name: pathInRepo
58+
value: pipelines/container-build.yaml
59+
taskRunTemplate:
60+
serviceAccountName: build-pipeline-odh-pipeline-runtime-datascience-cpu-py311-ubi9-n-v2-23
61+
workspaces:
62+
- name: git-auth
63+
secret:
64+
secretName: '{{ git_auth_secret }}'
65+
status: {}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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/notebooks?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: "manifests/base/params-latest.env"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "push"
13+
&& target_branch == "rhoai-2.23"
14+
&& !("manifests/base/params-latest.env".pathChanged())
15+
&& ( "runtimes/minimal/ubi9-python-3.11/**".pathChanged() ||
16+
".tekton/odh-pipeline-runtime-minimal-cpu-py311-ubi9-n-v2-23-push.yaml".pathChanged() )
17+
creationTimestamp: null
18+
labels:
19+
appstudio.openshift.io/application: external-rhoai-v2-23
20+
appstudio.openshift.io/component: odh-pipeline-runtime-minimal-cpu-py311-ubi9-n-v2-23
21+
pipelines.appstudio.openshift.io/type: build
22+
name: odh-pipeline-runtime-minimal-cpu-py311-ubi9-n-v2-23-on-push
23+
namespace: rhoai-tenant
24+
spec:
25+
params:
26+
- name: git-url
27+
value: '{{source_url}}'
28+
- name: revision
29+
value: '{{revision}}'
30+
- name: output-image
31+
value: quay.io/modh/odh-pipeline-runtime-minimal-cpu-py311-ubi9:{{target_branch}}
32+
- name: additional-tags
33+
value:
34+
- '{{target_branch}}-{{revision}}'
35+
- name: dockerfile
36+
value: runtimes/minimal/ubi9-python-3.11/Dockerfile.cpu
37+
- name: path-context
38+
value: .
39+
- name: hermetic
40+
value: false
41+
- name: build-source-image
42+
value: false
43+
- name: build-image-index
44+
value: false
45+
- name: rebuild
46+
value: true
47+
- name: skip-checks
48+
value: true
49+
pipelineRef:
50+
resolver: git
51+
params:
52+
- name: url
53+
value: https://github.com/red-hat-data-services/konflux-central.git
54+
- name: revision
55+
value: '{{ target_branch }}'
56+
- name: pathInRepo
57+
value: pipelines/container-build.yaml
58+
taskRunTemplate:
59+
serviceAccountName: build-pipeline-odh-pipeline-runtime-minimal-cpu-py311-ubi9-n-v2-23
60+
workspaces:
61+
- name: git-auth
62+
secret:
63+
secretName: '{{ git_auth_secret }}'
64+
status: {}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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/notebooks?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: "manifests/base/params-latest.env"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "push"
13+
&& target_branch == "rhoai-2.23"
14+
&& !("manifests/base/params-latest.env".pathChanged())
15+
&& ( ".tekton/odh-pipeline-runtime-pytorch-cuda-py311-ubi9-n-v2-23-push.yaml".pathChanged() ||
16+
"runtimes/pytorch/ubi9-python-3.11/**".pathChanged() ||
17+
"cuda/**".pathChanged() )
18+
creationTimestamp: null
19+
labels:
20+
appstudio.openshift.io/application: external-rhoai-v2-23
21+
appstudio.openshift.io/component: odh-pipeline-runtime-pytorch-cuda-py311-ubi9-n-v2-23
22+
pipelines.appstudio.openshift.io/type: build
23+
name: odh-pipeline-runtime-pytorch-cuda-py311-ubi9-n-v2-23-on-push
24+
namespace: rhoai-tenant
25+
spec:
26+
params:
27+
- name: git-url
28+
value: '{{source_url}}'
29+
- name: revision
30+
value: '{{revision}}'
31+
- name: output-image
32+
value: quay.io/modh/odh-pipeline-runtime-pytorch-cuda-py311-ubi9:{{target_branch}}
33+
- name: additional-tags
34+
value:
35+
- '{{target_branch}}-{{revision}}'
36+
- name: dockerfile
37+
value: runtimes/pytorch/ubi9-python-3.11/Dockerfile.cuda
38+
- name: path-context
39+
value: .
40+
- name: hermetic
41+
value: false
42+
- name: build-source-image
43+
value: false
44+
- name: build-image-index
45+
value: false
46+
- name: rebuild
47+
value: true
48+
- name: skip-checks
49+
value: true
50+
pipelineRef:
51+
resolver: git
52+
params:
53+
- name: url
54+
value: https://github.com/red-hat-data-services/konflux-central.git
55+
- name: revision
56+
value: '{{ target_branch }}'
57+
- name: pathInRepo
58+
value: pipelines/container-build.yaml
59+
taskRunTemplate:
60+
serviceAccountName: build-pipeline-odh-pipeline-runtime-pytorch-cuda-py311-ubi9-n-v2-23
61+
workspaces:
62+
- name: git-auth
63+
secret:
64+
secretName: '{{ git_auth_secret }}'
65+
status: {}
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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/notebooks?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: "manifests/base/params-latest.env"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "push"
13+
&& target_branch == "rhoai-2.23"
14+
&& !("manifests/base/params-latest.env".pathChanged())
15+
&& (".tekton/odh-pipeline-runtime-pytorch-rocm-py311-ubi9-n-v2-23-push.yaml".pathChanged() ||
16+
"runtimes/rocm-pytorch/ubi9-python-3.11/**".pathChanged() )
17+
creationTimestamp: null
18+
labels:
19+
appstudio.openshift.io/application: external-rhoai-v2-23
20+
appstudio.openshift.io/component: odh-pipeline-runtime-pytorch-rocm-py311-ubi9-n-v2-23
21+
pipelines.appstudio.openshift.io/type: build
22+
name: odh-pipeline-runtime-pytorch-rocm-py311-ubi9-n-v2-23-on-push
23+
namespace: rhoai-tenant
24+
spec:
25+
timeouts:
26+
pipeline: 8h
27+
params:
28+
- name: git-url
29+
value: '{{source_url}}'
30+
- name: revision
31+
value: '{{revision}}'
32+
- name: output-image
33+
value: quay.io/modh/odh-pipeline-runtime-pytorch-rocm-py311-ubi9:{{target_branch}}
34+
- name: additional-tags
35+
value:
36+
- '{{target_branch}}-{{revision}}'
37+
- name: dockerfile
38+
value: runtimes/rocm-pytorch/ubi9-python-3.11/Dockerfile.rocm
39+
- name: path-context
40+
value: .
41+
- name: hermetic
42+
value: false
43+
- name: build-source-image
44+
value: false
45+
- name: build-image-index
46+
value: false
47+
- name: rebuild
48+
value: true
49+
- name: skip-checks
50+
value: true
51+
pipelineRef:
52+
resolver: git
53+
params:
54+
- name: url
55+
value: https://github.com/red-hat-data-services/konflux-central.git
56+
- name: revision
57+
value: '{{ target_branch }}'
58+
- name: pathInRepo
59+
value: pipelines/container-build.yaml
60+
taskRunSpecs:
61+
- pipelineTaskName: clair-scan
62+
computeResources:
63+
requests:
64+
cpu: '8'
65+
memory: 16Gi
66+
limits:
67+
cpu: '16'
68+
memory: 32Gi
69+
taskRunTemplate:
70+
serviceAccountName: build-pipeline-odh-pipeline-runtime-pytorch-rocm-py311-ubi9-n-v2-23
71+
workspaces:
72+
- name: git-auth
73+
secret:
74+
secretName: '{{ git_auth_secret }}'
75+
status: {}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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/notebooks?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: "manifests/base/params-latest.env"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "push"
13+
&& target_branch == "rhoai-2.23"
14+
&& !("manifests/base/params-latest.env".pathChanged())
15+
&& (".tekton/odh-pipeline-runtime-tensorflow-cuda-py311-ubi9-n-v2-23-push.yaml".pathChanged() ||
16+
"runtimes/tensorflow/ubi9-python-3.11/**".pathChanged() ||
17+
"cuda/**".pathChanged() )
18+
creationTimestamp: null
19+
labels:
20+
appstudio.openshift.io/application: external-rhoai-v2-23
21+
appstudio.openshift.io/component: odh-pipeline-runtime-tensorflow-cuda-py311-ubi9-n-v2-23
22+
pipelines.appstudio.openshift.io/type: build
23+
name: odh-pipeline-runtime-tensorflow-cuda-py311-ubi9-n-v2-23-on-push
24+
namespace: rhoai-tenant
25+
spec:
26+
timeouts:
27+
pipeline: 8h
28+
params:
29+
- name: git-url
30+
value: '{{source_url}}'
31+
- name: revision
32+
value: '{{revision}}'
33+
- name: output-image
34+
value: quay.io/modh/odh-pipeline-runtime-tensorflow-cuda-py311-ubi9:{{target_branch}}
35+
- name: additional-tags
36+
value:
37+
- '{{target_branch}}-{{revision}}'
38+
- name: dockerfile
39+
value: runtimes/tensorflow/ubi9-python-3.11/Dockerfile.cuda
40+
- name: path-context
41+
value: .
42+
- name: hermetic
43+
value: false
44+
- name: build-source-image
45+
value: false
46+
- name: build-image-index
47+
value: false
48+
- name: rebuild
49+
value: true
50+
- name: skip-checks
51+
value: true
52+
pipelineRef:
53+
resolver: git
54+
params:
55+
- name: url
56+
value: https://github.com/red-hat-data-services/konflux-central.git
57+
- name: revision
58+
value: '{{ target_branch }}'
59+
- name: pathInRepo
60+
value: pipelines/container-build.yaml
61+
taskRunTemplate:
62+
serviceAccountName: build-pipeline-odh-pipeline-runtime-tensorflow-cuda-py311-ubi9-n-v2-23
63+
workspaces:
64+
- name: git-auth
65+
secret:
66+
secretName: '{{ git_auth_secret }}'
67+
status: {}

0 commit comments

Comments
 (0)