summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2023-08-01 18:18:15 -0400
committerGitHub <noreply@github.com>2023-08-01 18:18:15 -0400
commit84db1247367cd4f78279cbf3ece8e76001f1b3bc (patch)
tree2d76851ace0db98a468c0ea8c6febdabfe0a9651 /.github
parent183bb1db1903d2742e16618af2cd63a7c6eddb28 (diff)
Fix integrations regen workflow (#15693)
* Fix trigger file list for workflow. * Fix dependency handling.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/generate-integrations.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/generate-integrations.yml b/.github/workflows/generate-integrations.yml
index 1a18044f20..219acf0a8e 100644
--- a/.github/workflows/generate-integrations.yml
+++ b/.github/workflows/generate-integrations.yml
@@ -8,9 +8,12 @@ on:
- master
paths: # If any of these files change, we need to regenerate integrations.js.
- 'collectors/**/metadata.yaml'
- - 'collectors/**/multi_metadata.yaml'
+ - 'exporting/**/metadata.yaml'
+ - 'health/notifications/**/metadata.yaml'
- 'integrations/templates/**'
- 'integrations/categories.yaml'
+ - 'integrations/deploy.yaml'
+ - 'integrations/cloud-notifications/metadata.yaml'
- 'integrations/gen_integrations.py'
- 'packaging/go.d.version'
workflow_dispatch: null
@@ -41,7 +44,9 @@ jobs:
ref: ${{ env.go_ref }}
- name: Prepare Dependencies
id: prep-deps
- run: sudo apt-get install python3-jsonschema python3-referencing python3-jinja2 python3-ruamel.yaml
+ run: |
+ sudo apt-get install python3-jsonschema python3-pip python3-jinja2 python3-ruamel.yaml
+ sudo pip install referencing
- name: Generate Integrations
id: generate
run: integrations/gen_integrations.py