Skip to content

Commit

Permalink
Add GH Action to sync dashboards
Browse files Browse the repository at this point in the history
Signed-off-by: ArthurSens <[email protected]>
  • Loading branch information
ArthurSens authored and roboquat committed Nov 18, 2022
1 parent 96874fa commit 92693c6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
gitpod-io/monitoring-central:
- source: operations/observability/mixins/cross-teams/dashboards/
dest: charts/grafana/dashboards/general/
- source: operations/observability/mixins/IDE/dashboards/
dest: charts/grafana/dashboards/ide/
- source: operations/observability/mixins/meta/dashboards/
dest: charts/grafana/dashboards/webapp/
- source: operations/observability/mixins/platform/dashboards/
dest: charts/grafana/dashboards/platform/
- source: operations/observability/mixins/self-hosted/dashboards/
dest: charts/grafana/dashboards/deployment-operations-experience/
- source: operations/observability/mixins/workspace/dashboards/
dest: charts/grafana/dashboards/workspace/
23 changes: 23 additions & 0 deletions .github/workflows/dashboard-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Dashboard sync
on:
push:
paths:
- operations/observability/mixins/cross-teams/dashboards/*
- operations/observability/mixins/IDE/dashboards/*
- operations/observability/mixins/meta/dashboards/*
- operations/observability/mixins/platform/dashboards/*
- operations/observability/mixins/self-hosted/dashboards/*
- operations/observability/mixins/workspace/dashboards/*
branches:
- main
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@master
- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.ROBOQUAT_FSYNC_TOKEN }}

0 comments on commit 92693c6

Please sign in to comment.