Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: rhel-8-release-golang-1.17-openshift-4.10
images:
- context_dir: .
dockerfile_path: ./packages/model-registry/Dockerfile.workspace
to: odh-mod-arch-model-registry-image
promotion:
to:
- namespace: opendatahub-io
tag: main
releases:
latest:
release:
architecture: amd64
channel: fast
version: "4.10"
resources:
'*':
requests:
cpu: 200m
memory: 400Mi
tests:
- as: odh-mod-arch-model-registry-pr-image-mirror
steps:
dependencies:
SOURCE_IMAGE_REF: odh-mod-arch-model-registry-image
env:
IMAGE_REPO: odh-mod-arch-modular-architecture
workflow: opendatahub-io-ci-image-mirror
zz_generated_metadata:
branch: main
org: opendatahub-io
repo: odh-dashboard
variant: mod-arch-model-registry
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ postsubmits:
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
- --promote
- --report-credentials-file=/etc/report/credentials
- --target=[images]
- --target=odh-dashboard-image
command:
- ci-operator
image: ci-operator:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ presubmits:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
- --target=odh-dashboard-image
command:
- ci-operator
image: ci-operator:latest
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
postsubmits:
opendatahub-io/odh-dashboard:
- agent: kubernetes
always_run: true
branches:
- ^main$
cluster: build07
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-odh-dashboard-main__mod-arch-model-registry-odh-mod-arch-model-registry-image
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=odh-mod-arch-model-registry-image
- --variant=mod-arch-model-registry
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: gcs-credentials
secret:
secretName: gcs-upload
- 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,63 @@
presubmits:
opendatahub-io/odh-dashboard:
- agent: kubernetes
always_run: false
run_if_changed: ^packages/model-registry/.*
branches:
- ^main$
- ^main-
cluster: build09
context: ci/prow/odh-mod-arch-model-registry-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-odh-dashboard-main__mod-arch-model-registry-odh-mod-arch-model-registry-pr-image-mirror
rerun_command: /test odh-mod-arch-model-registry-pr-image-mirror
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=odh-mod-arch-model-registry-pr-image-mirror
- --variant=mod-arch-model-registry
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: gcs-credentials
secret:
secretName: gcs-upload
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )odh-mod-arch-model-registry-pr-image-mirror,?($|\s.*)