From 287dbf10ac9d74f3fc7a322e9b8cc557fd94f068 Mon Sep 17 00:00:00 2001 From: Vishnu Challa Date: Tue, 31 Oct 2023 16:08:09 -0400 Subject: [PATCH] Removing unused CI actions --- .github/workflows/grafana.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/grafana.yml diff --git a/.github/workflows/grafana.yml b/.github/workflows/grafana.yml deleted file mode 100644 index 0618d03..0000000 --- a/.github/workflows/grafana.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Grafana Importer -defaults: - run: - shell: bash - -on: - push: - branches: [ master ] - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - name: Compile dashboards - run: make build - - # The secret GRAFANA_URL must be set with the format http://username:password@url.org without a trailing / - - name: Import dashboards to grafana - run: > - for t in rendered/**/*.json; do - echo "Importing ${t}"; - dashboard=$(cat ${t}); - echo "{\"dashboard\": ${dashboard}, \"overwrite\": true}" | - curl -k -Ss -XPOST -H "Content-Type: application/json" -H "Accept: application/json" -d@- - "${{ secrets.GRAFANA_URL }}/api/dashboards/db" -o /dev/null; - done \ No newline at end of file