Fix integrations regen workflow (#15693)
* Fix trigger file list for workflow. * Fix dependency handling.
Austin S. Hemmelgarn committed
Aug 1, 2023 at 18:18 UTC
84db1247367cd4f78279cbf3ece8e76001f1b3bc
1 file changed
+7
-2
.github/workflows/generate-integrations.yml
+7
-2
@@ -8,9 +8,12 @@ on:
8
- master
9
paths: # If any of these files change, we need to regenerate integrations.js.
10
- 'collectors/**/metadata.yaml'
11
- - 'collectors/**/multi_metadata.yaml'
11
+ - 'exporting/**/metadata.yaml'
12
+ - 'health/notifications/**/metadata.yaml'
13
- 'integrations/templates/**'
14
- 'integrations/categories.yaml'
15
+ - 'integrations/deploy.yaml'
16
+ - 'integrations/cloud-notifications/metadata.yaml'
17
- 'integrations/gen_integrations.py'
18
- 'packaging/go.d.version'
19
workflow_dispatch: null
@@ -41,7 +44,9 @@ jobs:
44
ref: ${{ env.go_ref }}
45
- name: Prepare Dependencies
46
id: prep-deps
44
- run: sudo apt-get install python3-jsonschema python3-referencing python3-jinja2 python3-ruamel.yaml
47
+ run: |
48
+ sudo apt-get install python3-jsonschema python3-pip python3-jinja2 python3-ruamel.yaml
49
+ sudo pip install referencing
50
- name: Generate Integrations
51
id: generate
52
run: integrations/gen_integrations.py