From fce922e68cdb6c53936714d4699e3ae54569636b Mon Sep 17 00:00:00 2001 From: Martin-Belton-gov Date: Wed, 6 Dec 2023 14:56:45 +0000 Subject: [PATCH] Removed unwanted workflows Added Read Me --- .github/workflows/al-test.yml | 17 ----------------- .github/workflows/test.yml | 10 ---------- README.md | 27 +++++++++++++++++++++++++++ 3 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/al-test.yml delete mode 100644 .github/workflows/test.yml create mode 100644 README.md diff --git a/.github/workflows/al-test.yml b/.github/workflows/al-test.yml deleted file mode 100644 index c45bdc9..0000000 --- a/.github/workflows/al-test.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: 'Test by Al' - -on: - workflow_dispatch: - -jobs: - al-test: - name: 'Test by Al' - runs-on: ubuntu-latest - - defaults: - run: - shell: bash - - steps: - - name: Say Hello - run: echo "Al says hello" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 728a2ce..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: Manual Test - -on: - workflow_dispatch: - -jobs: - do-something: - runs-on: ubuntu-latest - steps: - - run: echo "Hello I have been triggered Manually" \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..23251a3 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# Grafana.Plugin.CostManagement +This is a Grafana datasource plugin to display Azure cost data + +## Requirements + +npm, mage, go, and any supported IDE for DEV running (suggested would be VS Code). + +## Local Running + +This requires a linux environment with npm, mage and go installed + +###Build Steps + +Clone the repos then cd dfe-azurecostbackend-datasource +npm install +npm run dev +mage -v build:linux + +###Sign the Plugin + +export GRAFANA_ACCESS_POLICY_TOKEN=your token created in the grafana cloud site +npx @grafana/sign-plugin@latest --rootUrls http://localhost:3000/ + +###Run Steps + +Call: docker-compose up +Select the Azure Cost Datasource, confugure it then add it to a pannel \ No newline at end of file