Skip to content

Konflux build pipeline service account migration #587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: ide-poc
Choose a base branch
from
Open
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
32 changes: 15 additions & 17 deletions .tekton/runtime-rocm-pytorch-poc-push.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
#test5
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/notebooks?rev={{revision}}
Expand All @@ -9,10 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "ide-poc"
&& (
".tekton/runtime-rocm-pytorch-poc-push.yaml".pathChanged() ||
"runtimes/rocm-pytorch/ubi9-python-3.11/Dockerfile.rocm".pathChanged() )
== "ide-poc" && ( ".tekton/runtime-rocm-pytorch-poc-push.yaml".pathChanged()
|| "runtimes/rocm-pytorch/ubi9-python-3.11/Dockerfile.rocm".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: notebooks
Expand All @@ -21,8 +18,6 @@ metadata:
name: runtime-rocm-pytorch-poc-on-push
namespace: rhoai-tenant
spec:
timeouts:
pipeline: 8h
params:
- name: git-url
value: '{{source_url}}'
Expand All @@ -34,15 +29,6 @@ spec:
value: runtimes/rocm-pytorch/ubi9-python-3.11/Dockerfile.rocm
- name: path-context
value: .
taskRunSpecs:
- pipelineTaskName: clair-scan
computeResources:
requests:
cpu: '8'
memory: 16Gi
limits:
cpu: '16'
memory: 32Gi
pipelineSpec:
description: |
This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down Expand Up @@ -602,7 +588,19 @@ spec:
optional: true
- name: netrc
optional: true
taskRunTemplate: {}
taskRunSpecs:
- computeResources:
limits:
cpu: "16"
memory: 32Gi
requests:
cpu: "8"
memory: 16Gi
pipelineTaskName: clair-scan
taskRunTemplate:
serviceAccountName: build-pipeline-runtime-rocm-pytorch-poc
timeouts:
pipeline: 8h0m0s
workspaces:
- name: git-auth
secret:
Expand Down