tests pipeline run attempt
This commit is contained in:
46
.gitea/workflows-archived/obs-slo.yml
Normal file
46
.gitea/workflows-archived/obs-slo.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
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 .gitea/scripts/test/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 devops/telemetry/tests/ci-run.sh
|
||||
devops/telemetry/tests/ci-run.sh
|
||||
|
||||
- name: Upload SLO results
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: obs-slo
|
||||
path: out/obs-slo/**
|
||||
Reference in New Issue
Block a user