Skip to content

Commit 2fae340

Browse files
authored
Merge pull request #36 from opendatahub-io/ci-batch-gateway-1776425928
CI: Tekton pipeline sync
2 parents 366bbe3 + 4096821 commit 2fae340

2 files changed

Lines changed: 99 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)