Skip to content

Commit 561b8f4

Browse files
authored
eval-test-periodic job for assisted-service-mcp app (#71052)
1 parent 460367d commit 561b8f4

File tree

3 files changed

+94
-0
lines changed

3 files changed

+94
-0
lines changed

ci-operator/config/openshift-assisted/assisted-service-mcp/openshift-assisted-assisted-service-mcp-master.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,22 @@ tests:
5656
ASSISTED_CHAT_TEST: rh-ecosystem-edge-assisted-chat-test
5757
ASSISTED_MCP_IMG: assisted-service-mcp
5858
workflow: rh-ecosystem-edge-assisted-chat
59+
- as: eval-test-periodic
60+
cluster_claim:
61+
architecture: amd64
62+
cloud: aws
63+
owner: rh-ecosystem-edge
64+
product: ocp
65+
timeout: 1h0m0s
66+
version: "4.17"
67+
cron: 0 1 * * *
68+
steps:
69+
allow_best_effort_post_steps: true
70+
dependencies:
71+
ASSISTED_CHAT_IMG: rh-ecosystem-edge-assisted-chat-install
72+
ASSISTED_CHAT_TEST: rh-ecosystem-edge-assisted-chat-test
73+
ASSISTED_MCP_IMG: assisted-service-mcp
74+
workflow: rh-ecosystem-edge-assisted-chat
5975
zz_generated_metadata:
6076
branch: master
6177
org: openshift-assisted
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
periodics:
2+
- agent: kubernetes
3+
cluster: build05
4+
cron: 0 1 * * *
5+
decorate: true
6+
decoration_config:
7+
skip_cloning: true
8+
extra_refs:
9+
- base_ref: master
10+
org: openshift-assisted
11+
repo: assisted-service-mcp
12+
labels:
13+
ci.openshift.io/generator: prowgen
14+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
15+
name: periodic-ci-openshift-assisted-assisted-service-mcp-master-eval-test-periodic
16+
spec:
17+
containers:
18+
- args:
19+
- --gcs-upload-secret=/secrets/gcs/service-account.json
20+
- --hive-kubeconfig=/secrets/hive-hive-credentials/kubeconfig
21+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
22+
- --report-credentials-file=/etc/report/credentials
23+
- --secret-dir=/secrets/ci-pull-credentials
24+
- --target=eval-test-periodic
25+
command:
26+
- ci-operator
27+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
28+
imagePullPolicy: Always
29+
name: ""
30+
resources:
31+
requests:
32+
cpu: 10m
33+
volumeMounts:
34+
- mountPath: /secrets/ci-pull-credentials
35+
name: ci-pull-credentials
36+
readOnly: true
37+
- mountPath: /secrets/gcs
38+
name: gcs-credentials
39+
readOnly: true
40+
- mountPath: /secrets/hive-hive-credentials
41+
name: hive-hive-credentials
42+
readOnly: true
43+
- mountPath: /secrets/manifest-tool
44+
name: manifest-tool-local-pusher
45+
readOnly: true
46+
- mountPath: /etc/pull-secret
47+
name: pull-secret
48+
readOnly: true
49+
- mountPath: /etc/report
50+
name: result-aggregator
51+
readOnly: true
52+
serviceAccountName: ci-operator
53+
volumes:
54+
- name: ci-pull-credentials
55+
secret:
56+
secretName: ci-pull-credentials
57+
- name: hive-hive-credentials
58+
secret:
59+
secretName: hive-hive-credentials
60+
- name: manifest-tool-local-pusher
61+
secret:
62+
secretName: manifest-tool-local-pusher
63+
- name: pull-secret
64+
secret:
65+
secretName: registry-pull-credentials
66+
- name: result-aggregator
67+
secret:
68+
secretName: result-aggregator

core-services/prow/02_config/openshift-assisted/assisted-service-mcp/_prowconfig.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ branch-protection:
77
master:
88
protect: true
99
protect: false
10+
slack_reporter_configs:
11+
openshift-assisted/assisted-service-mcp:
12+
channel: '#assisted-chat-ops'
13+
job_states_to_report:
14+
- failure
15+
- error
16+
job_types_to_report:
17+
- periodic
18+
report_template: ':warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*.
19+
<{{.Status.URL}}|View logs>'
1020
tide:
1121
queries:
1222
- labels:

0 commit comments

Comments
 (0)