Skip to content
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

Add CAIKIT-TGIS to openshift-ci #40837

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
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
17 changes: 17 additions & 0 deletions ci-operator/config/opendatahub-io/caikit-tgis-serving/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/opendatahub-io/modelmesh-serving root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- anishasthana
- danielezonca
- jooho
- xaenalt
options: {}
reviewers:
- anishasthana
- danielezonca
- jooho
- xaenalt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
base_images:
base:
name: text-generation-inference
namespace: opendatahub-io
tag: latest
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.13
images:
- context_dir: .
dockerfile_path: Dockerfile
from: base
to: caikit-tgis-serving
promotion:
namespace: opendatahub-io
tag: latest
releases:
latest:
release:
architecture: amd64
channel: fast
version: "4.12"
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: pr-image-mirror
run_if_changed: ^(caikit-tgis.template.yml|Dockerfile|start-serving.sh|convert.py|README.md)
steps:
dependencies:
SOURCE_IMAGE_REF: caikit-tgis-serving
env:
IMAGE_REPO: caikit-tgis-serving
workflow: opendatahub-io-ci-image-mirror
- as: fast-image-mirror
postsubmit: true
run_if_changed: ^(caikit-tgis.template.yml|Dockerfile|start-serving.sh|convert.py|README.md)
steps:
dependencies:
SOURCE_IMAGE_REF: caikit-tgis-serving
env:
IMAGE_REPO: caikit-tgis-serving
RELEASE_VERSION: fast
workflow: opendatahub-io-ci-image-mirror
zz_generated_metadata:
branch: main
org: opendatahub-io
repo: caikit-tgis-serving
17 changes: 17 additions & 0 deletions ci-operator/jobs/opendatahub-io/caikit-tgis-serving/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/opendatahub-io/modelmesh-serving root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- anishasthana
- danielezonca
- jooho
- xaenalt
options: {}
reviewers:
- anishasthana
- danielezonca
- jooho
- xaenalt
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
postsubmits:
opendatahub-io/caikit-tgis-serving:
- agent: kubernetes
always_run: false
branches:
- ^main$
cluster: build01
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-opendatahub-io-caikit-tgis-serving-main-fast-image-mirror
run_if_changed: ^(caikit-tgis.template.yml|Dockerfile|start-serving.sh|convert.py|README.md)
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=fast-image-mirror
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
always_run: true
branches:
- ^main$
cluster: build01
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-opendatahub-io-caikit-tgis-serving-main-images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
- --promote
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/push-secret
name: push-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: push-secret
secret:
secretName: registry-push-credentials-ci-central
- name: result-aggregator
secret:
secretName: result-aggregator
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
presubmits:
opendatahub-io/caikit-tgis-serving:
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build01
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-opendatahub-io-caikit-tgis-serving-main-images
rerun_command: /test images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^main$
- ^main-
cluster: build01
context: ci/prow/pr-image-mirror
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-opendatahub-io-caikit-tgis-serving-main-pr-image-mirror
rerun_command: /test pr-image-mirror
run_if_changed: ^(caikit-tgis.template.yml|Dockerfile|start-serving.sh|convert.py|README.md)
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=pr-image-mirror
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )pr-image-mirror,?($|\s.*)
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/opendatahub-io/modelmesh-serving root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- anishasthana
- danielezonca
- jooho
- xaenalt
options: {}
reviewers:
- anishasthana
- danielezonca
- jooho
- xaenalt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
approve:
- commandHelpLink: ""
repos:
- opendatahub-io/caikit-tgis-serving
require_self_approval: false
external_plugins:
opendatahub-io/caikit-tgis-serving:
- endpoint: http://refresh
events:
- issue_comment
name: refresh
- endpoint: http://cherrypick
events:
- issue_comment
- pull_request
name: cherrypick
- endpoint: http://needs-rebase
events:
- issue_comment
- pull_request
name: needs-rebase
- endpoint: http://backport-verifier
events:
- issue_comment
- pull_request
name: backport-verifier
- endpoint: http://payload-testing-prow-plugin
events:
- issue_comment
name: payload-testing-prow-plugin
- endpoint: http://jira-lifecycle-plugin
events:
- issue_comment
- pull_request
name: jira-lifecycle-plugin
lgtm:
- repos:
- opendatahub-io/caikit-tgis-serving
review_acts_as_lgtm: true
plugins:
opendatahub-io/caikit-tgis-serving:
plugins:
- assign
- blunderbuss
- cat
- dog
- heart
- golint
- goose
- help
- hold
- jira
- label
- lgtm
- lifecycle
- override
- pony
- retitle
- shrug
- sigmention
- skip
- trigger
- verify-owners
- owners-label
- wip
- yuks
- approve
Loading