Skip to content

Commit fe925fc

Browse files
committed
Add postsubmit trigger CI to maas-billing
Signed-off-by: Chaitanya Kulkarni <[email protected]>
1 parent a7cf11c commit fe925fc

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

ci-operator/config/opendatahub-io/maas-billing/opendatahub-io-maas-billing-main.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ tests:
3838
env:
3939
IMAGE_REPO: maas-api
4040
workflow: opendatahub-io-ci-image-mirror
41+
- always_run: false
42+
as: merge-image-mirror-maas-api
43+
postsubmit: true
44+
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/
45+
steps:
46+
dependencies:
47+
SOURCE_IMAGE_REF: maas-api
48+
env:
49+
IMAGE_REPO: maas-api
50+
RELEASE_VERSION: latest
51+
workflow: opendatahub-io-ci-image-mirror
4152
zz_generated_metadata:
4253
branch: main
4354
org: opendatahub-io

ci-operator/jobs/opendatahub-io/maas-billing/opendatahub-io-maas-billing-main-postsubmits.yaml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,64 @@
11
postsubmits:
22
opendatahub-io/maas-billing:
3+
- agent: kubernetes
4+
always_run: false
5+
branches:
6+
- ^main$
7+
cluster: build05
8+
decorate: true
9+
decoration_config:
10+
skip_cloning: true
11+
labels:
12+
ci.openshift.io/generator: prowgen
13+
max_concurrency: 1
14+
name: branch-ci-opendatahub-io-maas-billing-main-fast-image-mirror-maas-api
15+
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/
16+
spec:
17+
containers:
18+
- args:
19+
- --gcs-upload-secret=/secrets/gcs/service-account.json
20+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
21+
- --report-credentials-file=/etc/report/credentials
22+
- --secret-dir=/secrets/ci-pull-credentials
23+
- --target=fast-image-mirror-maas-api
24+
command:
25+
- ci-operator
26+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
27+
imagePullPolicy: Always
28+
name: ""
29+
resources:
30+
requests:
31+
cpu: 10m
32+
volumeMounts:
33+
- mountPath: /secrets/ci-pull-credentials
34+
name: ci-pull-credentials
35+
readOnly: true
36+
- mountPath: /secrets/gcs
37+
name: gcs-credentials
38+
readOnly: true
39+
- mountPath: /secrets/manifest-tool
40+
name: manifest-tool-local-pusher
41+
readOnly: true
42+
- mountPath: /etc/pull-secret
43+
name: pull-secret
44+
readOnly: true
45+
- mountPath: /etc/report
46+
name: result-aggregator
47+
readOnly: true
48+
serviceAccountName: ci-operator
49+
volumes:
50+
- name: ci-pull-credentials
51+
secret:
52+
secretName: ci-pull-credentials
53+
- name: manifest-tool-local-pusher
54+
secret:
55+
secretName: manifest-tool-local-pusher
56+
- name: pull-secret
57+
secret:
58+
secretName: registry-pull-credentials
59+
- name: result-aggregator
60+
secret:
61+
secretName: result-aggregator
362
- agent: kubernetes
463
always_run: true
564
branches:

0 commit comments

Comments
 (0)