Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 10 additions & 24 deletions .tekton/notebooks-group-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/notebooks?rev={{revision}}
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/feast?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
Expand All @@ -19,14 +19,17 @@ metadata:
pipelines.appstudio.openshift.io/type: test
spec:
params:
- name: repo-url
value: '{{repo_url}}'
- name: revision
value: '{{revision}}'
- name: group-components
value: '{ "odh-pipeline-runtime-datascience-cpu-py312-ubi9-ci": "opendatahub/odh-pipeline-runtime-datascience-cpu-py312-ubi9", "odh-pipeline-runtime-minimal-cpu-py312-ubi9-ci": "opendatahub/odh-pipeline-runtime-minimal-cpu-py312-ubi9", "odh-pipeline-runtime-pytorch-cuda-py312-ubi9-ci": "opendatahub/odh-pipeline-runtime-pytorch-cuda-py312-ubi9", "odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ci": "opendatahub/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-ubi9", "odh-pipeline-runtime-pytorch-rocm-py312-ubi9-ci": "opendatahub/odh-pipeline-runtime-pytorch-rocm-py312-ubi9", "odh-pipeline-runtime-tensorflow-cuda-py312-ubi9-ci": "opendatahub/odh-pipeline-runtime-tensorflow-cuda-py312-ubi9", "odh-pipeline-runtime-tensorflow-rocm-py312-ubi9-ci": "opendatahub/odh-pipeline-runtime-tensorflow-rocm-py312-ubi9", "odh-workbench-codeserver-datascience-cpu-py312-ubi9-ci": "opendatahub/odh-workbench-codeserver-datascience-cpu-py312-ubi9", "odh-workbench-jupyter-datascience-cpu-py312-ubi9-ci": "opendatahub/odh-workbench-jupyter-datascience-cpu-py312-ubi9", "odh-workbench-jupyter-minimal-cpu-py312-ubi9-ci": "opendatahub/odh-workbench-jupyter-minimal-cpu-py312-ubi9", "odh-workbench-jupyter-minimal-cuda-py312-ubi9-ci": "opendatahub/odh-workbench-jupyter-minimal-cuda-py312-ubi9", "odh-workbench-jupyter-minimal-rocm-py312-ubi9-ci": "opendatahub/odh-workbench-jupyter-minimal-rocm-py312-ubi9", "odh-workbench-jupyter-pytorch-cuda-py312-ubi9-ci": "opendatahub/odh-workbench-jupyter-pytorch-cuda-py312-ubi9", "odh-workbench-jupyter-pytorch-llmcompressor-cuda-ci": "opendatahub/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-ubi9", "odh-workbench-jupyter-pytorch-rocm-py312-ubi9-ci": "opendatahub/odh-workbench-jupyter-pytorch-rocm-py312-ubi9", "odh-workbench-jupyter-tensorflow-cuda-py312-ubi9-ci": "opendatahub/odh-workbench-jupyter-tensorflow-cuda-py312-ubi9", "odh-workbench-jupyter-tensorflow-rocm-py312-ci": "opendatahub/odh-workbench-jupyter-tensorflow-rocm-py312-ubi9", "odh-workbench-jupyter-trustyai-cpu-py312-ubi9-ci": "opendatahub/odh-workbench-jupyter-trustyai-cpu-py312-ubi9" }'
pipelineRef:
name: notebooks-e2e-test
resolver: git
params:
- name: url
value: https://github.com/opendatahub-io/odh-konflux-central.git
- name: revision
value: main
- name: pathInRepo
value: integration-tests/notebooks/pr-group-testing-pipeline.yaml
taskRunTemplate:
podTemplate:
nodeSelector:
Expand All @@ -40,21 +43,4 @@ spec:
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
# volumeClaimTemplate (not emptyDir) because emptyDir is per-task, not shared
# across tasks. The snapshot JSON for 18 components exceeds the 4KB Tekton
# result limit, so generate-snapshot writes it to this shared volume instead.
# Workarounds for sharing data between Konflux integration test tasks:
# 1. Combine steps into a single task (steps share emptyDir at /workspace)
# 2. Use OCI artifacts (push/pull via registry)
# 3. Use Tekton results (under 4KB only)
# 4. Clone source code inside the task
# See: https://redhat-internal.slack.com/archives/C06Q4M84XDG/p1759327188553769
- name: shared-data
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
secretName: '{{ git_auth_secret }}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/notebooks?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: opendatahub-builds
appstudio.openshift.io/component: odh-pipeline-runtime-baseline-cpu-py312-c9s-ci
pipelines.appstudio.openshift.io/type: build
name: odh-pipeline-runtime-baseline-cpu-py312-c9s-on-pull-request
namespace: open-data-hub-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/opendatahub/odh-pipeline-runtime-baseline-cpu-py312-c9s:odh-pr
- name: dockerfile
value: runtimes/baseline/ubi9-python-3.12/Dockerfile.konflux.cpu
- name: path-context
value: .
#add these additional params
- name: additional-tags
value:
- 'odh-pr-{{revision}}'
- name: pipeline-type
value: pull-request
pipelineRef:
resolver: git
params:
- name: url
value: https://github.com/opendatahub-io/odh-konflux-central.git
- name: revision
value: main
- name: pathInRepo
value: pipeline/multi-arch-container-build.yaml
taskRunTemplate:
serviceAccountName: build-pipeline-odh-pipeline-runtime-baseline-cpu-py312-c9s-ci
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
Comment on lines +50 to +51
status: {}
47 changes: 47 additions & 0 deletions .tekton/odh-pipeline-runtime-baseline-cpu-py312-c9s-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
#
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/notebooks?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: opendatahub-builds
appstudio.openshift.io/component: odh-pipeline-runtime-baseline-cpu-py312-c9s-ci
pipelines.appstudio.openshift.io/type: build
name: odh-pipeline-runtime-baseline-cpu-py312-c9s-on-push
namespace: open-data-hub-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/opendatahub/odh-pipeline-runtime-baseline-cpu-py312-c9s:odh-stable
- name: dockerfile
value: runtimes/baseline/ubi9-python-3.12/Dockerfile.konflux.cpu
- name: path-context
value: .
pipelineRef:
resolver: git
params:
- name: url
value: https://github.com/opendatahub-io/odh-konflux-central.git
- name: revision
value: main
- name: pathInRepo
value: pipeline/multi-arch-container-build.yaml
taskRunTemplate:
serviceAccountName: build-pipeline-odh-pipeline-runtime-baseline-cpu-py312-c9s-ci
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
Comment on lines +45 to +46
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/notebooks?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: opendatahub-builds
appstudio.openshift.io/component: odh-workbench-jupyter-baseline-cpu-py312-c9s-ci
pipelines.appstudio.openshift.io/type: build
name: odh-workbench-jupyter-baseline-cpu-py312-c9s-on-pull-request
namespace: open-data-hub-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/opendatahub/odh-workbench-jupyter-baseline-cpu-py312-c9s:odh-pr
- name: dockerfile
value: jupyter/baseline/ubi9-python-3.12/Dockerfile.konflux.cpu
- name: path-context
value: .
#add these additional params
- name: additional-tags
value:
- 'odh-pr-{{revision}}'
- name: pipeline-type
value: pull-request
pipelineRef:
resolver: git
params:
- name: url
value: https://github.com/opendatahub-io/odh-konflux-central.git
- name: revision
value: main
- name: pathInRepo
value: pipeline/multi-arch-container-build.yaml
taskRunTemplate:
serviceAccountName: build-pipeline-odh-workbench-jupyter-baseline-cpu-py312-c9s-ci
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
Comment on lines +50 to +51
status: {}
47 changes: 47 additions & 0 deletions .tekton/odh-workbench-jupyter-baseline-cpu-py312-c9s-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
#
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/notebooks?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: opendatahub-builds
appstudio.openshift.io/component: odh-workbench-jupyter-baseline-cpu-py312-c9s-ci
pipelines.appstudio.openshift.io/type: build
name: odh-workbench-jupyter-baseline-cpu-py312-c9s-on-push
namespace: open-data-hub-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/opendatahub/odh-workbench-jupyter-baseline-cpu-py312-c9s:odh-stable
- name: dockerfile
value: jupyter/baseline/ubi9-python-3.12/Dockerfile.konflux.cpu
- name: path-context
value: .
pipelineRef:
resolver: git
params:
- name: url
value: https://github.com/opendatahub-io/odh-konflux-central.git
- name: revision
value: main
- name: pathInRepo
value: pipeline/multi-arch-container-build.yaml
taskRunTemplate:
serviceAccountName: build-pipeline-odh-workbench-jupyter-baseline-cpu-py312-c9s-ci
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
Comment on lines +45 to +46
status: {}
Loading