Skip to content

Commit efaeb98

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 4b85f74 + e82ed33 commit efaeb98

5 files changed

+214
-1
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# yamllint disable-file
2+
# This pipeline is autogenerated by scripts/generate_pull_request_pipelineruns.py
3+
---
4+
apiVersion: tekton.dev/v1
5+
kind: PipelineRun
6+
metadata:
7+
annotations:
8+
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/notebooks?rev={{revision}}
9+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
10+
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
11+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
12+
pipelinesascode.tekton.dev/cancel-in-progress: 'true'
13+
pipelinesascode.tekton.dev/max-keep-runs: '3'
14+
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-pipeline\-runtime\-pytorch\-llmcompressor\-cuda\-py312\-ubi9|runtimes/pytorch\+llmcompressor/ubi9\-python\-3\.12)
15+
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() )
17+
&& body.repository.full_name == "opendatahub-io/notebooks"
18+
labels:
19+
appstudio.openshift.io/application: opendatahub-release
20+
appstudio.openshift.io/component: odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9
21+
pipelines.appstudio.openshift.io/type: build
22+
name: odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9-on-pull-request
23+
namespace: open-data-hub-tenant
24+
spec:
25+
timeouts:
26+
pipeline: 3h
27+
params:
28+
- name: git-url
29+
value: '{{source_url}}'
30+
- name: revision
31+
value: '{{revision}}'
32+
- name: output-image
33+
value: quay.io/opendatahub/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9:on-pr-{{revision}}
34+
- name: image-expires-after
35+
value: 5d
36+
- name: build-platforms
37+
value:
38+
- linux/x86_64
39+
- name: dockerfile
40+
value: runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda
41+
- name: path-context
42+
value: .
43+
pipelineRef:
44+
name: multiarch-pull-request-pipeline
45+
taskRunTemplate:
46+
serviceAccountName: build-pipeline-odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9
47+
workspaces:
48+
- name: git-auth
49+
secret:
50+
secretName: '{{ git_auth_secret }}'
51+
status: {}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
#test
4+
metadata:
5+
annotations:
6+
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/notebooks?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: "manifests/base/params-latest.env"
12+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( ".tekton/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9-push.yaml".pathChanged() || "runtimes/pytorch+llmcompressor/ubi9-python-3.12/**".pathChanged() || "cuda/**".pathChanged() )
13+
creationTimestamp:
14+
labels:
15+
appstudio.openshift.io/application: opendatahub-release
16+
appstudio.openshift.io/component: odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9
17+
pipelines.appstudio.openshift.io/type: build
18+
name: odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9-on-push
19+
namespace: open-data-hub-tenant
20+
spec:
21+
timeouts:
22+
pipeline: 8h
23+
params:
24+
- name: git-url
25+
value: '{{source_url}}'
26+
- name: revision
27+
value: '{{revision}}'
28+
- name: output-image
29+
value: quay.io/opendatahub/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9:{{revision}}
30+
- name: dockerfile
31+
value: runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda
32+
- name: path-context
33+
value: .
34+
- name: additional-tags
35+
value:
36+
- '{{target_branch}}-{{revision}}'
37+
- 2025a-v1.35
38+
taskRunSpecs:
39+
- pipelineTaskName: build-container
40+
stepSpecs:
41+
- name: build
42+
computeResources:
43+
requests:
44+
cpu: '8'
45+
memory: 16Gi
46+
limits:
47+
cpu: '16'
48+
memory: 32Gi
49+
pipelineRef:
50+
name: singlearch-push-pipeline
51+
taskRunTemplate:
52+
serviceAccountName: build-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9
53+
workspaces:
54+
- name: git-auth
55+
secret:
56+
secretName: '{{ git_auth_secret }}'
57+
status: {}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# yamllint disable-file
2+
# This pipeline is autogenerated by scripts/generate_pull_request_pipelineruns.py
3+
---
4+
apiVersion: tekton.dev/v1
5+
kind: PipelineRun
6+
metadata:
7+
annotations:
8+
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/notebooks?rev={{revision}}
9+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
10+
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
11+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
12+
pipelinesascode.tekton.dev/cancel-in-progress: 'true'
13+
pipelinesascode.tekton.dev/max-keep-runs: '3'
14+
pipelinesascode.tekton.dev/on-comment: ^/kfbuild\s+(all|odh\-workbench\-jupyter\-pytorch\-llmcompressor\-cuda\-py312\-ubi9|jupyter/pytorch\+llmcompressor/ubi9\-python\-3\.12)
15+
pipelinesascode.tekton.dev/on-cel-expression: |
16+
event == "pull_request" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( ".tekton/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9-pull-request.yaml".pathChanged() || "jupyter/pytorch+llmcompressor/ubi9-python-3.12/**".pathChanged() || "cuda/**".pathChanged() || "jupyter/utils/**".pathChanged() || "jupyter/minimal/ubi9-python-3.12/start-notebook.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.12/mongodb-org-6.0.repo-x86_64/**".pathChanged() || "jupyter/datascience/ubi9-python-3.12/mssql-2022.repo-x86_64/**".pathChanged() || "jupyter/datascience/ubi9-python-3.12/setup-elyra.sh".pathChanged() )
17+
&& body.repository.full_name == "opendatahub-io/notebooks"
18+
labels:
19+
appstudio.openshift.io/application: opendatahub-release
20+
appstudio.openshift.io/component: odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9
21+
pipelines.appstudio.openshift.io/type: build
22+
name: odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9-on-pull-request
23+
namespace: open-data-hub-tenant
24+
spec:
25+
timeouts:
26+
pipeline: 3h
27+
params:
28+
- name: git-url
29+
value: '{{source_url}}'
30+
- name: revision
31+
value: '{{revision}}'
32+
- name: output-image
33+
value: quay.io/opendatahub/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9:on-pr-{{revision}}
34+
- name: image-expires-after
35+
value: 5d
36+
- name: build-platforms
37+
value:
38+
- linux/x86_64
39+
- name: dockerfile
40+
value: jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda
41+
- name: path-context
42+
value: .
43+
pipelineRef:
44+
name: multiarch-pull-request-pipeline
45+
taskRunTemplate:
46+
serviceAccountName: build-pipeline-odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9
47+
workspaces:
48+
- name: git-auth
49+
secret:
50+
secretName: '{{ git_auth_secret }}'
51+
status: {}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/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: event == "push" && target_branch == "main" && !("manifests/base/params-latest.env".pathChanged()) && ( ".tekton/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9-push.yaml".pathChanged() || "jupyter/pytorch+llmcompressor/ubi9-python-3.12/**".pathChanged() || "cuda/**".pathChanged() || "jupyter/utils/**".pathChanged() || "jupyter/minimal/ubi9-python-3.12/start-notebook.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.12/mongodb-org-6.0.repo-x86_64/**".pathChanged() || "jupyter/datascience/ubi9-python-3.12/mssql-2022.repo-x86_64/**".pathChanged() || "jupyter/datascience/ubi9-python-3.12/setup-elyra.sh".pathChanged() )
12+
creationTimestamp:
13+
labels:
14+
appstudio.openshift.io/application: opendatahub-release
15+
appstudio.openshift.io/component: odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9
16+
pipelines.appstudio.openshift.io/type: build
17+
name: odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9-on-push
18+
namespace: open-data-hub-tenant
19+
spec:
20+
params:
21+
- name: git-url
22+
value: '{{source_url}}'
23+
- name: revision
24+
value: '{{revision}}'
25+
- name: output-image
26+
value: quay.io/opendatahub/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9:{{revision}}
27+
- name: dockerfile
28+
value: jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda
29+
- name: path-context
30+
value: .
31+
- name: additional-tags
32+
value:
33+
- '{{target_branch}}-{{revision}}'
34+
- 2025a-v1.35
35+
taskRunSpecs:
36+
- pipelineTaskName: build-container
37+
stepSpecs:
38+
- name: build
39+
computeResources:
40+
requests:
41+
cpu: '8'
42+
memory: 16Gi
43+
limits:
44+
cpu: '16'
45+
memory: 32Gi
46+
pipelineRef:
47+
name: singlearch-push-pipeline
48+
taskRunTemplate:
49+
serviceAccountName: build-pipeline-odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9
50+
workspaces:
51+
- name: git-auth
52+
secret:
53+
secretName: '{{ git_auth_secret }}'
54+
status: {}

scripts/update-commit-latest-env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async def main():
111111
output.append((re.sub(r'-n$', "-commit-n", variable), commit_hash[:7]))
112112

113113
with open(PROJECT_ROOT / "manifests/base/commit-latest.env", "wt") as file:
114-
for line in output:
114+
for line in sorted(output):
115115
print(*line, file=file, sep="=", end="\n")
116116

117117

0 commit comments

Comments
 (0)