platform: expose metis on sentinel and move gitea to rpi5

This commit is contained in:
Brad Stein 2026-03-31 16:44:41 -03:00
parent c27ad64e50
commit 5a577630df
8 changed files with 30 additions and 14 deletions

View File

@ -1303,7 +1303,7 @@ def build_overview():
) )
test_success["description"] = ( test_success["description"] = (
"Atlas Overview mirrors the Atlas Jobs internal dashboard for automation test health. " "Atlas Overview mirrors the Atlas Jobs internal dashboard for automation test health. "
"Add new test series there first so they roll up here." "This panel rolls up the shared Ariadne and Metis CI metrics from that internal dashboard."
) )
panels.append(test_success) panels.append(test_success)
test_failures = bargauge_panel( test_failures = bargauge_panel(
@ -2669,7 +2669,7 @@ def build_jobs_dashboard():
panels.append(coverage_panel) panels.append(coverage_panel)
tests_panel = table_panel( tests_panel = table_panel(
18, 18,
"Platform CI Tests (latest)", "Platform CI Tests (Ariadne + Metis)",
TEST_CI_TESTS, TEST_CI_TESTS,
{"h": 6, "w": 12, "x": 12, "y": 11}, {"h": 6, "w": 12, "x": 12, "y": 11},
unit="none", unit="none",
@ -2677,7 +2677,7 @@ def build_jobs_dashboard():
instant=True, instant=True,
) )
tests_panel["description"] = ( tests_panel["description"] = (
"Atlas Overview test panels depend on these internal repo-tagged CI series." "Atlas Overview test panels depend on these internal repo-tagged CI series from Ariadne and Metis."
) )
panels.append(tests_panel) panels.append(tests_panel)

View File

@ -122,14 +122,20 @@ spec:
- matchExpressions: - matchExpressions:
- key: hardware - key: hardware
operator: In operator: In
values: ["rpi4","rpi5"] values: ["rpi5"]
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
- weight: 50 - weight: 100
preference: preference:
matchExpressions: matchExpressions:
- key: hardware - key: hardware
operator: In operator: In
values: ["rpi4"] values: ["rpi5"]
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/hostname
operator: In
values: ["titan-20","titan-21"]
containers: containers:
- name: gitea - name: gitea
image: gitea/gitea:1.23 image: gitea/gitea:1.23

View File

@ -11,7 +11,7 @@ data:
METIS_DEFAULT_FLASH_HOST: titan-22 METIS_DEFAULT_FLASH_HOST: titan-22
METIS_FLASH_HOSTS: titan-22 METIS_FLASH_HOSTS: titan-22
METIS_LOCAL_HOST: titan-22 METIS_LOCAL_HOST: titan-22
METIS_ALLOWED_GROUPS: admin,maintainer METIS_ALLOWED_GROUPS: admin,maintenance,maintainer
METIS_MAX_DEVICE_BYTES: "300000000000" METIS_MAX_DEVICE_BYTES: "300000000000"
METIS_SENTINEL_PUSH_URL: http://metis.maintenance.svc.cluster.local/internal/sentinel/snapshot METIS_SENTINEL_PUSH_URL: http://metis.maintenance.svc.cluster.local/internal/sentinel/snapshot
METIS_SENTINEL_INTERVAL_SEC: "1800" METIS_SENTINEL_INTERVAL_SEC: "1800"

View File

@ -13,7 +13,7 @@ metadata:
spec: spec:
ingressClassName: traefik ingressClassName: traefik
tls: tls:
- hosts: ["metis.bstein.dev"] - hosts: ["metis.bstein.dev", "sentinel.bstein.dev"]
secretName: metis-tls secretName: metis-tls
rules: rules:
- host: metis.bstein.dev - host: metis.bstein.dev
@ -26,3 +26,13 @@ spec:
name: metis name: metis
port: port:
number: 80 number: 80
- host: sentinel.bstein.dev
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: metis
port:
number: 80

View File

@ -1189,7 +1189,7 @@
{ {
"id": 18, "id": 18,
"type": "table", "type": "table",
"title": "Platform CI Tests (latest)", "title": "Platform CI Tests (Ariadne + Metis)",
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "atlas-vm" "uid": "atlas-vm"
@ -1235,7 +1235,7 @@
} }
} }
], ],
"description": "Atlas Overview test panels depend on these internal repo-tagged CI series." "description": "Atlas Overview test panels depend on these internal repo-tagged CI series from Ariadne and Metis."
} }
], ],
"time": { "time": {

View File

@ -1710,7 +1710,7 @@
"mode": "multi" "mode": "multi"
} }
}, },
"description": "Atlas Overview mirrors the Atlas Jobs internal dashboard for automation test health. Add new test series there first so they roll up here." "description": "Atlas Overview mirrors the Atlas Jobs internal dashboard for automation test health. This panel rolls up the shared Ariadne and Metis CI metrics from that internal dashboard."
}, },
{ {
"id": 43, "id": 43,

View File

@ -1198,7 +1198,7 @@ data:
{ {
"id": 18, "id": 18,
"type": "table", "type": "table",
"title": "Platform CI Tests (latest)", "title": "Platform CI Tests (Ariadne + Metis)",
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "atlas-vm" "uid": "atlas-vm"
@ -1244,7 +1244,7 @@ data:
} }
} }
], ],
"description": "Atlas Overview test panels depend on these internal repo-tagged CI series." "description": "Atlas Overview test panels depend on these internal repo-tagged CI series from Ariadne and Metis."
} }
], ],
"time": { "time": {

View File

@ -1719,7 +1719,7 @@ data:
"mode": "multi" "mode": "multi"
} }
}, },
"description": "Atlas Overview mirrors the Atlas Jobs internal dashboard for automation test health. Add new test series there first so they roll up here." "description": "Atlas Overview mirrors the Atlas Jobs internal dashboard for automation test health. This panel rolls up the shared Ariadne and Metis CI metrics from that internal dashboard."
}, },
{ {
"id": 43, "id": 43,