Skip to content

Commit 92693c6

Browse files
ArthurSensroboquat
authored andcommitted
Add GH Action to sync dashboards
Signed-off-by: ArthurSens <[email protected]>
1 parent 96874fa commit 92693c6

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/sync.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
gitpod-io/monitoring-central:
2+
- source: operations/observability/mixins/cross-teams/dashboards/
3+
dest: charts/grafana/dashboards/general/
4+
- source: operations/observability/mixins/IDE/dashboards/
5+
dest: charts/grafana/dashboards/ide/
6+
- source: operations/observability/mixins/meta/dashboards/
7+
dest: charts/grafana/dashboards/webapp/
8+
- source: operations/observability/mixins/platform/dashboards/
9+
dest: charts/grafana/dashboards/platform/
10+
- source: operations/observability/mixins/self-hosted/dashboards/
11+
dest: charts/grafana/dashboards/deployment-operations-experience/
12+
- source: operations/observability/mixins/workspace/dashboards/
13+
dest: charts/grafana/dashboards/workspace/

.github/workflows/dashboard-sync.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Dashboard sync
2+
on:
3+
push:
4+
paths:
5+
- operations/observability/mixins/cross-teams/dashboards/*
6+
- operations/observability/mixins/IDE/dashboards/*
7+
- operations/observability/mixins/meta/dashboards/*
8+
- operations/observability/mixins/platform/dashboards/*
9+
- operations/observability/mixins/self-hosted/dashboards/*
10+
- operations/observability/mixins/workspace/dashboards/*
11+
branches:
12+
- main
13+
workflow_dispatch:
14+
jobs:
15+
sync:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout Repository
19+
uses: actions/checkout@master
20+
- name: Run GitHub File Sync
21+
uses: BetaHuhn/repo-file-sync-action@v1
22+
with:
23+
GH_PAT: ${{ secrets.ROBOQUAT_FSYNC_TOKEN }}

0 commit comments

Comments
 (0)