diff --git a/.tekton/notebooks-group-test.yaml b/.tekton/notebooks-group-test.yaml index 4678e2d974..c7840251c6 100644 --- a/.tekton/notebooks-group-test.yaml +++ b/.tekton/notebooks-group-test.yaml @@ -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}}' @@ -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: @@ -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 }}' \ No newline at end of file diff --git a/.tekton/odh-pipeline-runtime-baseline-cpu-py312-c9s-pull-request.yaml b/.tekton/odh-pipeline-runtime-baseline-cpu-py312-c9s-pull-request.yaml new file mode 100644 index 0000000000..fd8ec56635 --- /dev/null +++ b/.tekton/odh-pipeline-runtime-baseline-cpu-py312-c9s-pull-request.yaml @@ -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 }}' +status: {} diff --git a/.tekton/odh-pipeline-runtime-baseline-cpu-py312-c9s-push.yaml b/.tekton/odh-pipeline-runtime-baseline-cpu-py312-c9s-push.yaml new file mode 100644 index 0000000000..6db42335e9 --- /dev/null +++ b/.tekton/odh-pipeline-runtime-baseline-cpu-py312-c9s-push.yaml @@ -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 }}' +status: {} diff --git a/.tekton/odh-workbench-jupyter-baseline-cpu-py312-c9s-pull-request.yaml b/.tekton/odh-workbench-jupyter-baseline-cpu-py312-c9s-pull-request.yaml new file mode 100644 index 0000000000..4c9510ca86 --- /dev/null +++ b/.tekton/odh-workbench-jupyter-baseline-cpu-py312-c9s-pull-request.yaml @@ -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 }}' +status: {} diff --git a/.tekton/odh-workbench-jupyter-baseline-cpu-py312-c9s-push.yaml b/.tekton/odh-workbench-jupyter-baseline-cpu-py312-c9s-push.yaml new file mode 100644 index 0000000000..5559769a03 --- /dev/null +++ b/.tekton/odh-workbench-jupyter-baseline-cpu-py312-c9s-push.yaml @@ -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 }}' +status: {}