Skip to content

Commit

Permalink
Merge pull request #604 from viccuad/main
Browse files Browse the repository at this point in the history
ci: Publish Grafana dashboard as GH release asset
  • Loading branch information
viccuad authored Nov 29, 2023
2 parents 3b232fa + 7473b5a commit b664410
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ jobs:
}
core.setFailed(`Draft release not found`)
- name: Checkout code for kubewarden-dashboard.json
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Download SBOM artifact
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
Expand All @@ -92,7 +95,8 @@ jobs:
'policy-server-sbom-amd64.spdx.sig',
'policy-server-sbom-arm64.spdx',
'policy-server-sbom-arm64.spdx.cert',
'policy-server-sbom-arm64.spdx.sig']
'policy-server-sbom-arm64.spdx.sig',
'kubewarden-dashboard.json']
const {RELEASE_ID} = process.env
for (const file of files) {
Expand Down
9 changes: 3 additions & 6 deletions kubewarden-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
{
"type": "panel",
"id": "heatmap",
"name": "Heatmap",
"version": ""
"name": "Heatmap"
},
{
"type": "datasource",
Expand All @@ -32,14 +31,12 @@
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
"name": "Stat"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
"name": "Time series"
}
],
"annotations": {
Expand Down

0 comments on commit b664410

Please sign in to comment.