diff --git a/.tekton/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-pull-request.yaml b/.tekton/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-pull-request.yaml new file mode 100644 index 0000000000..a6e6d955d1 --- /dev/null +++ b/.tekton/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-pull-request.yaml @@ -0,0 +1,93 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +# retrigger Konflux builds to fix https://issues.redhat.com/browse/RHOAIENG-31914 +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/notebooks?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/cancel-in-progress: "true" + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-comment: "^/(build-konflux|kfbuild-llmcompressor-cuda)" + pipelinesascode.tekton.dev/on-event: "[pull_request]" + pipelinesascode.tekton.dev/on-cel-expression: | + event == "pull_request" && target_branch == "main" && + !("manifests/base/params-latest.env".pathChanged()) && + ( + ".tekton/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-pull-request.yaml".pathChanged() || + "jupyter/pytorch+llmcompressor/ubi9-python-3.12/**".pathChanged() || + "jupyter/pytorch+llmcompressor/ubi9-python-3.12/build-args/konflux.cuda.conf".pathChanged() || + "jupyter/utils/**".pathChanged() + ) && body.repository.full_name == "red-hat-data-services/notebooks" + labels: + appstudio.openshift.io/application: automation + appstudio.openshift.io/component: pull-request-pipelines-notebooks + pipelines.appstudio.openshift.io/type: build + name: odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-on-pull-request + namespace: rhoai-tenant +spec: + timeouts: + pipeline: 8h0m0s + tasks: "4h0m0s" + params: + - name: git-url + value: '{{source_url}}' + - name: enable-cache-proxy + value: "true" + - name: hermetic + value: "false" + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/rhoai/pull-request-pipelines:notebooks-{{revision}} + - name: additional-tags + value: + - '{{target_branch}}-{{revision}}' + - name: additional-labels + value: + - version=on-pr-{{revision}} + - io.openshift.tags=odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312 + - name: dockerfile + value: jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda + - name: build-args-file + value: jupyter/pytorch+llmcompressor/ubi9-python-3.12/build-args/konflux.cuda.conf + - name: path-context + value: . + - name: build-image-index + value: true + - name: build-platforms + value: + - linux-d160-m8xlarge/amd64 + - name: image-expires-after + value: 5d + - name: enable-slack-failure-notification + value: "false" + - name: rhel-subscription-activation-key + value: "rhel-subscription-activation-key-rhoai-devops-for-notebooks-rhel9-6" + - name: prefetch-input + value: + - path: jupyter/pytorch+llmcompressor/ubi9-python-3.12/prefetch-input/mongocli + type: gomod + - path: jupyter/pytorch+llmcompressor/ubi9-python-3.12/prefetch-input/rhds + type: rpm + - path: jupyter/pytorch+llmcompressor/ubi9-python-3.12 + type: pip + binary: + arch: "x86_64,aarch64" + requirements_files: ["requirements.cuda.txt"] + pipelineRef: + resolver: git + params: + - name: url + value: https://github.com/red-hat-data-services/konflux-central.git + - name: revision + value: '{{ target_branch }}' + - name: pathInRepo + value: pipelines/multi-arch-container-build.yaml + taskRunTemplate: + serviceAccountName: build-pipeline-pull-request-pipelines + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {}