Skip to content

Commit c3c0cb3

Browse files
github-actions[bot]sutaakar
authored andcommitted
CI: update Tekton pipelines
- Pull pipelines use odh-pr tag - Push pipelines use odh-stable tag - Target branch: main
1 parent 8bcd89d commit c3c0cb3

4 files changed

Lines changed: 224 additions & 0 deletions
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/distributed-workloads?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
9+
pipelinesascode.tekton.dev/on-comment: "^/build-konflux"
10+
pipelinesascode.tekton.dev/cancel-in-progress: "true"
11+
pipelinesascode.tekton.dev/max-keep-runs: "3"
12+
pipelinesascode.tekton.dev/on-cel-expression: |
13+
event == "pull_request"
14+
&& target_branch == "main"
15+
&& ( "images/universal/training/th06-cpu-torch210-py312/**".pathChanged() || ".tekton/odh-th06-cpu-torch210-py312-ci-on-pull-request.yaml".pathChanged() )
16+
creationTimestamp: null
17+
labels:
18+
appstudio.openshift.io/application: opendatahub-builds
19+
appstudio.openshift.io/component: odh-th06-cpu-torch210-py312-ci
20+
pipelines.appstudio.openshift.io/type: build
21+
name: odh-th06-cpu-torch210-py312-ci-on-pull-request
22+
namespace: open-data-hub-tenant
23+
spec:
24+
params:
25+
- name: git-url
26+
value: '{{source_url}}'
27+
- name: revision
28+
value: '{{revision}}'
29+
- name: output-image
30+
value: quay.io/opendatahub/odh-th06-cpu-torch210-py312:odh-pr
31+
- name: dockerfile
32+
value: Dockerfile
33+
- name: path-context
34+
value: images/universal/training/th06-cpu-torch210-py312
35+
- name: pipeline-type
36+
value: pull-request
37+
- name: additional-tags
38+
value:
39+
- 'odh-pr-{{revision}}'
40+
- name: build-platforms
41+
value:
42+
- linux-extra-fast/amd64
43+
pipelineRef:
44+
resolver: git
45+
params:
46+
- name: url
47+
value: https://github.com/opendatahub-io/odh-konflux-central.git
48+
- name: revision
49+
value: main
50+
- name: pathInRepo
51+
value: pipeline/multi-arch-container-build.yaml
52+
taskRunTemplate:
53+
serviceAccountName: build-pipeline-odh-th06-cpu-torch210-py312-ci
54+
workspaces:
55+
- name: git-auth
56+
secret:
57+
secretName: '{{ git_auth_secret }}'
58+
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/distributed-workloads?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+
pipelinesascode.tekton.dev/on-cel-expression: |
11+
event == "push"
12+
&& target_branch == "main"
13+
&& ( "images/universal/training/th06-cpu-torch210-py312/**".pathChanged() || ".tekton/odh-th06-cpu-torch210-py312-ci-on-push.yaml".pathChanged() )
14+
creationTimestamp: null
15+
labels:
16+
appstudio.openshift.io/application: opendatahub-builds
17+
appstudio.openshift.io/component: odh-th06-cpu-torch210-py312-ci
18+
pipelines.appstudio.openshift.io/type: build
19+
name: odh-th06-cpu-torch210-py312-ci-on-push
20+
namespace: open-data-hub-tenant
21+
spec:
22+
timeouts:
23+
pipeline: 10h
24+
tasks: 8h
25+
params:
26+
- name: git-url
27+
value: '{{source_url}}'
28+
- name: revision
29+
value: '{{revision}}'
30+
- name: output-image
31+
value: quay.io/opendatahub/odh-th06-cpu-torch210-py312:odh-stable
32+
- name: dockerfile
33+
value: Dockerfile
34+
- name: path-context
35+
value: images/universal/training/th06-cpu-torch210-py312
36+
- name: build-platforms
37+
value:
38+
- linux-extra-fast/amd64
39+
pipelineRef:
40+
resolver: git
41+
params:
42+
- name: url
43+
value: https://github.com/opendatahub-io/odh-konflux-central.git
44+
- name: revision
45+
value: main
46+
- name: pathInRepo
47+
value: pipeline/multi-arch-container-build.yaml
48+
taskRunTemplate:
49+
serviceAccountName: build-pipeline-odh-th06-cpu-torch210-py312-ci
50+
workspaces:
51+
- name: git-auth
52+
secret:
53+
secretName: '{{ git_auth_secret }}'
54+
status: {}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/distributed-workloads?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
9+
pipelinesascode.tekton.dev/on-comment: "^/build-konflux"
10+
pipelinesascode.tekton.dev/cancel-in-progress: "true"
11+
pipelinesascode.tekton.dev/max-keep-runs: "3"
12+
pipelinesascode.tekton.dev/on-cel-expression: |
13+
event == "pull_request"
14+
&& target_branch == "main"
15+
&& ( "images/universal/training/th06-cuda130-torch210-py312/**".pathChanged() || ".tekton/odh-th06-cuda130-torch210-py312-ci-on-pull-request.yaml".pathChanged() )
16+
creationTimestamp: null
17+
labels:
18+
appstudio.openshift.io/application: opendatahub-builds
19+
appstudio.openshift.io/component: odh-th06-cuda130-torch210-py312-ci
20+
pipelines.appstudio.openshift.io/type: build
21+
name: odh-th06-cuda130-torch210-py312-ci-on-pull-request
22+
namespace: open-data-hub-tenant
23+
spec:
24+
params:
25+
- name: git-url
26+
value: '{{source_url}}'
27+
- name: revision
28+
value: '{{revision}}'
29+
- name: output-image
30+
value: quay.io/opendatahub/odh-th06-cuda130-torch210-py312:odh-pr
31+
- name: dockerfile
32+
value: Dockerfile
33+
- name: path-context
34+
value: images/universal/training/th06-cuda130-torch210-py312
35+
- name: pipeline-type
36+
value: pull-request
37+
- name: additional-tags
38+
value:
39+
- 'odh-pr-{{revision}}'
40+
- name: build-platforms
41+
value:
42+
- linux-extra-fast/amd64
43+
pipelineRef:
44+
resolver: git
45+
params:
46+
- name: url
47+
value: https://github.com/opendatahub-io/odh-konflux-central.git
48+
- name: revision
49+
value: main
50+
- name: pathInRepo
51+
value: pipeline/multi-arch-container-build.yaml
52+
taskRunTemplate:
53+
serviceAccountName: build-pipeline-odh-th06-cuda130-torch210-py312-ci
54+
workspaces:
55+
- name: git-auth
56+
secret:
57+
secretName: '{{ git_auth_secret }}'
58+
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/distributed-workloads?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+
pipelinesascode.tekton.dev/on-cel-expression: |
11+
event == "push"
12+
&& target_branch == "main"
13+
&& ( "images/universal/training/th06-cuda130-torch210-py312/**".pathChanged() || ".tekton/odh-th06-cuda130-torch210-py312-ci-on-push.yaml".pathChanged() )
14+
creationTimestamp: null
15+
labels:
16+
appstudio.openshift.io/application: opendatahub-builds
17+
appstudio.openshift.io/component: odh-th06-cuda130-torch210-py312-ci
18+
pipelines.appstudio.openshift.io/type: build
19+
name: odh-th06-cuda130-torch210-py312-ci-on-push
20+
namespace: open-data-hub-tenant
21+
spec:
22+
timeouts:
23+
pipeline: 10h
24+
tasks: 8h
25+
params:
26+
- name: git-url
27+
value: '{{source_url}}'
28+
- name: revision
29+
value: '{{revision}}'
30+
- name: output-image
31+
value: quay.io/opendatahub/odh-th06-cuda130-torch210-py312:odh-stable
32+
- name: dockerfile
33+
value: Dockerfile
34+
- name: path-context
35+
value: images/universal/training/th06-cuda130-torch210-py312
36+
- name: build-platforms
37+
value:
38+
- linux-extra-fast/amd64
39+
pipelineRef:
40+
resolver: git
41+
params:
42+
- name: url
43+
value: https://github.com/opendatahub-io/odh-konflux-central.git
44+
- name: revision
45+
value: main
46+
- name: pathInRepo
47+
value: pipeline/multi-arch-container-build.yaml
48+
taskRunTemplate:
49+
serviceAccountName: build-pipeline-odh-th06-cuda130-torch210-py312-ci
50+
workspaces:
51+
- name: git-auth
52+
secret:
53+
secretName: '{{ git_auth_secret }}'
54+
status: {}

0 commit comments

Comments
 (0)