From 84db1247367cd4f78279cbf3ece8e76001f1b3bc Mon Sep 17 00:00:00 2001 From: "Austin S. Hemmelgarn" Date: Tue, 1 Aug 2023 18:18:15 -0400 Subject: Fix integrations regen workflow (#15693) * Fix trigger file list for workflow. * Fix dependency handling. --- .github/workflows/generate-integrations.yml | 9 +++++++-- 1 file 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 -- cgit v1.2.3