We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2777117 commit f41ad20Copy full SHA for f41ad20
1 file changed
.github/workflows/prometheus.yaml
@@ -0,0 +1,32 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - "kubernetes/namespaces/monitoring/alerts/**"
9
+ - ".github/workflows/prometheus.yaml"
10
11
+concurrency:
12
+ group: ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress: true
14
15
+jobs:
16
+ deploy-alerts:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Checkout code
20
+ uses: actions/checkout@v6
21
22
+ - uses: azure/setup-kubectl@v4.0.1
23
24
+ - name: Authenticate with Kubernetes
25
+ uses: azure/k8s-set-context@v4
26
+ with:
27
+ method: kubeconfig
28
+ kubeconfig: ${{ secrets.kube-config }}
29
30
+ - name: Deploy alerts
31
+ run: |
32
+ cd kubernetes/namespaces/monitoring/alerts && make
0 commit comments