Skip to content

Commit

Permalink
Push workflow run results to Loki
Browse files Browse the repository at this point in the history
Use michi-covalent/push-to-loki to push workflow run results to Loki
to make it easier to monitor the overall health of the CI. My ultimate
goal is to get rid of Slack notifications.

Ref: https://github.com/michi-covalent/push-to-loki

Signed-off-by: Michi Mutsuzaki <[email protected]>
  • Loading branch information
michi-covalent committed Aug 23, 2022
1 parent a2e3bf0 commit c825110
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions cli/.github/workflows/loki.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Push to Loki

on:
workflow_run:
workflows:
- AKS (Azure IPAM)
- AKS (BYOCNI)
- EKS (tunnel)
- EKS (ENI)
- External Workloads
- GKE
- Go
- Image CI Build
- Kind
- Multicluster
- Create Release
types:
- completed

permissions:
actions: read

jobs:
push-to-loki:
runs-on: ubuntu-latest
steps:
- name: Push to Loki
uses: michi-covalent/[email protected]
with:
endpoint: https://logs-prod3.grafana.net/loki/api/v1/push
username: ${{ secrets.LOKI_USERNAME }}
password: ${{ secrets.LOKI_PASSWORD }}

0 comments on commit c825110

Please sign in to comment.