Skip to content

Commit 8645073

Browse files
authored
Merge pull request trustyai-explainability#38 from red-hat-data-services/onboard-3.0-push-pipeline
add 3.0 push pipeline
2 parents a38e534 + f8529a2 commit 8645073

File tree

2 files changed

+63
-1
lines changed

2 files changed

+63
-1
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/llama-stack-provider-ragas?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+
build.appstudio.openshift.io/build-nudge-files: "build/operator-nudging.yaml"
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
12+
== "rhoai-3.0"
13+
&& ( !".tekton/**".pathChanged() || ".tekton/odh-trustyai-ragas-lls-provider-dsp-v2-25-push.yaml".pathChanged() )
14+
labels:
15+
appstudio.openshift.io/application: "rhoai-v3-0"
16+
appstudio.openshift.io/component: odh-trustyai-ragas-lls-provider-dsp-v3-0
17+
pipelines.appstudio.openshift.io/type: build
18+
name: odh-trustyai-ragas-lls-provider-dsp-v3-0-on-push
19+
namespace: rhoai-tenant
20+
spec:
21+
params:
22+
- name: git-url
23+
value: '{{source_url}}'
24+
- name: revision
25+
value: '{{revision}}'
26+
- name: additional-tags
27+
value:
28+
- '{{target_branch}}-{{revision}}'
29+
- name: additional-labels
30+
value:
31+
- version=v3.0
32+
- io.openshift.tags=odh-trustyai-ragas-lls-provider-dsp
33+
- name: output-image
34+
value: quay.io/repository/rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9:{{target_branch}}
35+
- name: dockerfile
36+
value: Dockerfile.konflux
37+
- name: path-context
38+
value: .
39+
- name: build-image-index
40+
value: true
41+
- name: build-platforms
42+
value:
43+
- linux/x86_64
44+
- linux-m2xlarge/arm64
45+
- linux/ppc64le
46+
- linux/s390x
47+
pipelineRef:
48+
resolver: git
49+
params:
50+
- name: url
51+
value: https://github.com/red-hat-data-services/konflux-central.git
52+
- name: revision
53+
value: '{{ target_branch }}'
54+
- name: pathInRepo
55+
value: pipelines/multi-arch-container-build.yaml
56+
taskRunTemplate:
57+
serviceAccountName: build-pipeline-llama-stack-provider-v3-0
58+
workspaces:
59+
- name: git-auth
60+
secret:
61+
secretName: '{{ git_auth_secret }}'
62+
status: {}

Dockerfile.konflux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WORKDIR /usr/local/src/kfp/components
44

55
COPY . .
66

7-
RUN pip install --no-cache-dir -e .
7+
RUN pip install --no-cache-dir -e ".[remote]"
88

99
LABEL com.redhat.component="odh-trustyai-ragas-lls-provider-dsp-rhel9" \
1010
name="rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9" \

0 commit comments

Comments
 (0)