- Created StellaOps.Notify.Storage.Mongo project with initial configuration. - Added expected output files for acceptance tests (at1.txt to at10.txt). - Added fixture input files for acceptance tests (at1 to at10). - Created input and signature files for test cases fc1 to fc5.
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
name: obs-slo
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
prom_url:
|
|
description: "Prometheus base URL"
|
|
required: true
|
|
default: "http://localhost:9090"
|
|
|
|
jobs:
|
|
slo-eval:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Task Pack offline bundle fixtures
|
|
run: python3 scripts/packs/run-fixtures-check.sh
|
|
|
|
- name: Setup Python (telemetry schema checks)
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- name: Install telemetry schema deps
|
|
run: python -m pip install --upgrade pip jsonschema
|
|
|
|
- name: Run SLO evaluator
|
|
env:
|
|
PROM_URL: ${{ github.event.inputs.prom_url }}
|
|
run: |
|
|
chmod +x scripts/observability/slo-evaluator.sh
|
|
scripts/observability/slo-evaluator.sh
|
|
|
|
- name: Telemetry schema/bundle checks
|
|
env:
|
|
TELEMETRY_BUNDLE_SCHEMA: docs/modules/telemetry/schemas/telemetry-bundle.schema.json
|
|
run: |
|
|
chmod +x ops/devops/telemetry/tests/ci-run.sh
|
|
ops/devops/telemetry/tests/ci-run.sh
|
|
|
|
- name: Upload SLO results
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: obs-slo
|
|
path: out/obs-slo/**
|