Skip to content

Commit

Permalink
Merge branch 'dev' into OM-175
Browse files Browse the repository at this point in the history
  • Loading branch information
mphanias committed Jun 19, 2024
2 parents 7a94d0b + 3aa0a53 commit 43bbc04
Show file tree
Hide file tree
Showing 9 changed files with 20,880 additions and 2,648 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build_artefacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Create tar.gz artifacts of dashboards

on:
push:
tags:
- v*

permissions:
id-token: write
actions: write
contents: write

jobs:
tar_zipping_job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag

- name: Create tar files
env:
GH_TOKEN: ${{ github.token }}
TAG_NAME: "${{ steps.get-latest-tag.outputs.tag }}"
run: |
cd config/grafana
echo "Tar-zipping files"
VERSION=${GITHUB_REF_NAME#v}
tar czf aerospike-grafana-dashboards-$VERSION.tar.gz dashboards/*
echo
echo "Uploading release asset"
gh release upload "$TAG_NAME" "aerospike-grafana-dashboards-$VERSION.tar.gz"
Loading

0 comments on commit 43bbc04

Please sign in to comment.