Skip to content

Commit d31d423

Browse files
committed
Update the generate_pull_request_pipelineruns.py to track the build-args-file option and run it to update them all
1 parent f71bc18 commit d31d423

21 files changed

+88
-145
lines changed

.tekton/odh-pipeline-runtime-datascience-cpu-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/max-keep-runs: '3'
1414
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-pipeline\-runtime\-datascience\-cpu\-py312\-ubi9|runtimes/datascience/ubi9\-python\-3\.12)
1515
pipelinesascode.tekton.dev/on-cel-expression: |
16-
event == "pull_request" && target_branch
17-
== "main"
18-
&& !("manifests/base/params-latest.env".pathChanged())
19-
&& ( "runtimes/datascience/ubi9-python-3.12/**".pathChanged() ||
20-
".tekton/odh-pipeline-runtime-datascience-cpu-py312-ubi9-pull-request.yaml".pathChanged() )
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( "runtimes/datascience/ubi9-python-3.12/**".pathChanged() || "runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf".pathChanged() || ".tekton/odh-pipeline-runtime-datascience-cpu-py312-ubi9-pull-request.yaml".pathChanged() )
2117
&& body.repository.full_name == "opendatahub-io/notebooks"
2218
labels:
2319
appstudio.openshift.io/application: opendatahub-release
@@ -44,6 +40,8 @@ spec:
4440
value: runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu
4541
- name: path-context
4642
value: .
43+
- name: build-args-file
44+
value: runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf
4745
pipelineRef:
4846
name: multiarch-pull-request-pipeline
4947
taskRunTemplate:

.tekton/odh-pipeline-runtime-minimal-cpu-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/max-keep-runs: '3'
1414
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-pipeline\-runtime\-minimal\-cpu\-py312\-ubi9|runtimes/minimal/ubi9\-python\-3\.12)
1515
pipelinesascode.tekton.dev/on-cel-expression: |
16-
event == "pull_request" && target_branch
17-
== "main"
18-
&& !("manifests/base/params-latest.env".pathChanged())
19-
&& ( "runtimes/minimal/ubi9-python-3.12/**".pathChanged() ||
20-
".tekton/odh-pipeline-runtime-minimal-cpu-py312-ubi9-pull-request.yaml".pathChanged() )
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( "runtimes/minimal/ubi9-python-3.12/**".pathChanged() || "runtimes/minimal/build-args/cpu.conf".pathChanged() || ".tekton/odh-pipeline-runtime-minimal-cpu-py312-ubi9-pull-request.yaml".pathChanged() )
2117
&& body.repository.full_name == "opendatahub-io/notebooks"
2218
labels:
2319
appstudio.openshift.io/application: opendatahub-release
@@ -46,6 +42,8 @@ spec:
4642
value: runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu
4743
- name: path-context
4844
value: .
45+
- name: build-args-file
46+
value: runtimes/minimal/build-args/cpu.conf
4947
pipelineRef:
5048
name: multiarch-pull-request-pipeline
5149
taskRunTemplate:

.tekton/odh-pipeline-runtime-pytorch-cuda-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/max-keep-runs: '3'
1414
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-pipeline\-runtime\-pytorch\-cuda\-py312\-ubi9|runtimes/pytorch/ubi9\-python\-3\.12)
1515
pipelinesascode.tekton.dev/on-cel-expression: |
16-
event == "pull_request" && target_branch
17-
== "main"
18-
&& !("manifests/base/params-latest.env".pathChanged())
19-
&& ( ".tekton/odh-pipeline-runtime-pytorch-cuda-py312-ubi9-pull-request.yaml".pathChanged() ||
20-
"runtimes/pytorch/ubi9-python-3.12/**".pathChanged() ||
21-
"cuda/**".pathChanged() )
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( ".tekton/odh-pipeline-runtime-pytorch-cuda-py312-ubi9-pull-request.yaml".pathChanged() || "runtimes/pytorch/ubi9-python-3.12/**".pathChanged() || "runtimes/pytorch/ubi9-python-3.12/build-args/cuda.conf".pathChanged() )
2217
&& body.repository.full_name == "opendatahub-io/notebooks"
2318
labels:
2419
appstudio.openshift.io/application: opendatahub-release
@@ -45,6 +40,8 @@ spec:
4540
value: runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda
4641
- name: path-context
4742
value: .
43+
- name: build-args-file
44+
value: runtimes/pytorch/ubi9-python-3.12/build-args/cuda.conf
4845
pipelineRef:
4946
name: multiarch-pull-request-pipeline
5047
taskRunTemplate:

.tekton/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/max-keep-runs: '3'
1414
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-pipeline\-runtime\-pytorch\-llmcompressor\-cuda\-py312\-ubi9|runtimes/pytorch\+llmcompressor/ubi9\-python\-3\.12)
1515
pipelinesascode.tekton.dev/on-cel-expression: |
16-
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( ".tekton/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9-pull-request.yaml".pathChanged() || "runtimes/pytorch+llmcompressor/ubi9-python-3.12/**".pathChanged() || "cuda/**".pathChanged() )
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( ".tekton/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9-pull-request.yaml".pathChanged() || "runtimes/pytorch+llmcompressor/ubi9-python-3.12/**".pathChanged() || "runtimes/pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf".pathChanged() )
1717
&& body.repository.full_name == "opendatahub-io/notebooks"
1818
labels:
1919
appstudio.openshift.io/application: opendatahub-release
@@ -40,6 +40,8 @@ spec:
4040
value: runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda
4141
- name: path-context
4242
value: .
43+
- name: build-args-file
44+
value: runtimes/pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf
4345
pipelineRef:
4446
name: multiarch-pull-request-pipeline
4547
taskRunTemplate:

.tekton/odh-pipeline-runtime-pytorch-rocm-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/max-keep-runs: '3'
1414
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-pipeline\-runtime\-pytorch\-rocm\-py312\-ubi9|runtimes/rocm\-pytorch/ubi9\-python\-3\.12)
1515
pipelinesascode.tekton.dev/on-cel-expression: |
16-
event == "pull_request" && target_branch
17-
== "main"
18-
&& !("manifests/base/params-latest.env".pathChanged())
19-
&& (".tekton/odh-pipeline-runtime-pytorch-rocm-py312-ubi9-pull-request.yaml".pathChanged() ||
20-
"runtimes/rocm-pytorch/ubi9-python-3.12/**".pathChanged() )
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && (".tekton/odh-pipeline-runtime-pytorch-rocm-py312-ubi9-pull-request.yaml".pathChanged() || "runtimes/rocm-pytorch/ubi9-python-3.12/**".pathChanged() || "runtimes/rocm-pytorch/ubi9-python-3.12/build-args/rocm.conf".pathChanged() )
2117
&& body.repository.full_name == "opendatahub-io/notebooks"
2218
labels:
2319
appstudio.openshift.io/application: opendatahub-release
@@ -44,6 +40,8 @@ spec:
4440
value: runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm
4541
- name: path-context
4642
value: .
43+
- name: build-args-file
44+
value: runtimes/rocm-pytorch/ubi9-python-3.12/build-args/rocm.conf
4745
pipelineRef:
4846
name: multiarch-pull-request-pipeline
4947
taskRunTemplate:

.tekton/odh-pipeline-runtime-tensorflow-cuda-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/max-keep-runs: '3'
1414
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-pipeline\-runtime\-tensorflow\-cuda\-py312\-ubi9|runtimes/tensorflow/ubi9\-python\-3\.12)
1515
pipelinesascode.tekton.dev/on-cel-expression: |
16-
event == "pull_request" && target_branch
17-
== "main"
18-
&& !("manifests/base/params-latest.env".pathChanged())
19-
&& (".tekton/odh-pipeline-runtime-tensorflow-cuda-py312-ubi9-pull-request.yaml".pathChanged() ||
20-
"runtimes/tensorflow/ubi9-python-3.12/**".pathChanged() ||
21-
"cuda/**".pathChanged() )
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && (".tekton/odh-pipeline-runtime-tensorflow-cuda-py312-ubi9-pull-request.yaml".pathChanged() || "runtimes/tensorflow/ubi9-python-3.12/**".pathChanged() || "runtimes/tensorflow/ubi9-python-3.12/build-args/cuda.conf".pathChanged() )
2217
&& body.repository.full_name == "opendatahub-io/notebooks"
2318
labels:
2419
appstudio.openshift.io/application: opendatahub-release
@@ -45,6 +40,8 @@ spec:
4540
value: runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda
4641
- name: path-context
4742
value: .
43+
- name: build-args-file
44+
value: runtimes/tensorflow/ubi9-python-3.12/build-args/cuda.conf
4845
pipelineRef:
4946
name: multiarch-pull-request-pipeline
5047
taskRunTemplate:

.tekton/odh-pipeline-runtime-tensorflow-rocm-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/max-keep-runs: '3'
1414
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-pipeline\-runtime\-tensorflow\-rocm\-py312\-ubi9|runtimes/rocm\-tensorflow/ubi9\-python\-3\.12)
1515
pipelinesascode.tekton.dev/on-cel-expression: |
16-
event == "pull_request" && target_branch
17-
== "main"
18-
&& !("manifests/base/params-latest.env".pathChanged())
19-
&& ( ".tekton/odh-pipeline-runtime-tensorflow-rocm-py312-ubi9-pull-request.yaml".pathChanged() ||
20-
"runtimes/rocm-tensorflow/ubi9-python-3.12/**".pathChanged() )
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( ".tekton/odh-pipeline-runtime-tensorflow-rocm-py312-ubi9-pull-request.yaml".pathChanged() || "runtimes/rocm-tensorflow/ubi9-python-3.12/**".pathChanged() || "runtimes/rocm-tensorflow/ubi9-python-3.12/build-args/rocm.conf".pathChanged() )
2117
&& body.repository.full_name == "opendatahub-io/notebooks"
2218
labels:
2319
appstudio.openshift.io/application: opendatahub-release
@@ -44,6 +40,8 @@ spec:
4440
value: runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm
4541
- name: path-context
4642
value: .
43+
- name: build-args-file
44+
value: runtimes/rocm-tensorflow/ubi9-python-3.12/build-args/rocm.conf
4745
pipelineRef:
4846
name: multiarch-pull-request-pipeline
4947
taskRunTemplate:

.tekton/odh-workbench-codeserver-datascience-cpu-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/max-keep-runs: '3'
1414
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-workbench\-codeserver\-datascience\-cpu\-py312\-ubi9|codeserver/ubi9\-python\-3\.12)
1515
pipelinesascode.tekton.dev/on-cel-expression: |
16-
event == "pull_request" && target_branch
17-
== "main"
18-
&& !("manifests/base/params-latest.env".pathChanged())
19-
&& ( ".tekton/odh-workbench-codeserver-datascience-cpu-py312-ubi9-pull-request.yaml".pathChanged() ||
20-
"codeserver/ubi9-python-3.12/**".pathChanged() )
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( ".tekton/odh-workbench-codeserver-datascience-cpu-py312-ubi9-pull-request.yaml".pathChanged() || "codeserver/ubi9-python-3.12/**".pathChanged() || "codeserver/ubi9-python-3.12/build-args/cpu.conf".pathChanged() )
2117
&& body.repository.full_name == "opendatahub-io/notebooks"
2218
labels:
2319
appstudio.openshift.io/application: opendatahub-release
@@ -44,6 +40,8 @@ spec:
4440
value: codeserver/ubi9-python-3.12/Dockerfile.cpu
4541
- name: path-context
4642
value: .
43+
- name: build-args-file
44+
value: codeserver/ubi9-python-3.12/build-args/cpu.conf
4745
pipelineRef:
4846
name: multiarch-pull-request-pipeline
4947
taskRunTemplate:

.tekton/odh-workbench-jupyter-datascience-cpu-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/max-keep-runs: '3'
1414
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-workbench\-jupyter\-datascience\-cpu\-py312\-ubi9|jupyter/datascience/ubi9\-python\-3\.12)
1515
pipelinesascode.tekton.dev/on-cel-expression: |
16-
event == "pull_request" && target_branch
17-
== "main"
18-
&& !("manifests/base/params-latest.env".pathChanged())
19-
&& ( ".tekton/odh-workbench-jupyter-datascience-cpu-py312-ubi9-pull-request.yaml".pathChanged() ||
20-
"jupyter/utils/**".pathChanged() ||
21-
"jupyter/minimal/ubi9-python-3.12/**".pathChanged() ||
22-
"jupyter/minimal/ubi9-python-3.12/start-notebook.sh".pathChanged() )
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( ".tekton/odh-workbench-jupyter-datascience-cpu-py312-ubi9-pull-request.yaml".pathChanged() || "jupyter/utils/**".pathChanged() || "jupyter/minimal/ubi9-python-3.12/**".pathChanged() || "jupyter/minimal/ubi9-python-3.12/start-notebook.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf".pathChanged() )
2317
&& body.repository.full_name == "opendatahub-io/notebooks"
2418
labels:
2519
appstudio.openshift.io/application: opendatahub-release
@@ -46,6 +40,8 @@ spec:
4640
value: jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu
4741
- name: path-context
4842
value: .
43+
- name: build-args-file
44+
value: jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf
4945
pipelineRef:
5046
name: multiarch-pull-request-pipeline
5147
taskRunTemplate:

.tekton/odh-workbench-jupyter-minimal-cpu-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/max-keep-runs: '3'
1414
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-workbench\-jupyter\-minimal\-cpu\-py312\-ubi9|jupyter/minimal/ubi9\-python\-3\.12)
1515
pipelinesascode.tekton.dev/on-cel-expression: |
16-
event == "pull_request" && target_branch
17-
== "main"
18-
&& !("manifests/base/params-latest.env".pathChanged())
19-
&& ( ".tekton/odh-workbench-jupyter-minimal-cpu-py312-ubi9-pull-request.yaml".pathChanged() ||
20-
"jupyter/utils/**".pathChanged() ||
21-
"jupyter/minimal/ubi9-python-3.12/**".pathChanged() )
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( ".tekton/odh-workbench-jupyter-minimal-cpu-py312-ubi9-pull-request.yaml".pathChanged() || "jupyter/utils/**".pathChanged() || "jupyter/minimal/ubi9-python-3.12/**".pathChanged() || "jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf".pathChanged() )
2217
&& body.repository.full_name == "opendatahub-io/notebooks"
2318
labels:
2419
appstudio.openshift.io/application: opendatahub-release
@@ -45,6 +40,8 @@ spec:
4540
value: jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu
4641
- name: path-context
4742
value: .
43+
- name: build-args-file
44+
value: jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf
4845
pipelineRef:
4946
name: multiarch-pull-request-pipeline
5047
taskRunTemplate:

0 commit comments

Comments
 (0)