Skip to content

Automatic alert mapping from application (instance) to team #476

Automatic alert mapping from application (instance) to team

Automatic alert mapping from application (instance) to team #476

Workflow file for this run

name: Pull Request
on:
pull_request:
branches:
- master
env:
COMPONENT_NAME: openshift4-monitoring
jobs:
linting:
runs-on: ubuntu-latest
strategy:
matrix:
command:
- lint_jsonnet
- lint_yaml
- lint_adoc
steps:
- uses: actions/checkout@v4
- name: Run ${{ matrix.command }}
run: make ${{ matrix.command }}
editorconfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: snow-actions/[email protected]
with:
args: 'check'
test:
runs-on: ubuntu-latest
strategy:
matrix:
instance:
- capacity-alerts
- release-4.11
- remote-write
- user-workload-monitoring
- capacity-alerts-with-node-labels
- vsphere
- custom-rules
- release-4.12
- release-4.13
- team-routing
defaults:
run:
working-directory: ${{ env.COMPONENT_NAME }}
steps:
- uses: actions/checkout@v4
with:
path: ${{ env.COMPONENT_NAME }}
- name: Compile component
run: make test -e instance=${{ matrix.instance }}
golden:
runs-on: ubuntu-latest
strategy:
matrix:
instance:
- capacity-alerts
- release-4.11
- remote-write
- user-workload-monitoring
- capacity-alerts-with-node-labels
- vsphere
- custom-rules
- release-4.12
- release-4.13
- team-routing
defaults:
run:
working-directory: ${{ env.COMPONENT_NAME }}
steps:
- uses: actions/checkout@v4
with:
path: ${{ env.COMPONENT_NAME }}
- name: Golden diff
run: make golden-diff -e instance=${{ matrix.instance }}