Browse Source

Move dependency handling for integrations to script. (#19185)

This will simplify handling across repositories.
Austin S. Hemmelgarn 3 months ago
parent
commit
8fa34d8c25
2 changed files with 4 additions and 1 deletions
  1. 1 1
      .github/workflows/generate-integrations.yml
  2. 3 0
      integrations/pip.sh

+ 1 - 1
.github/workflows/generate-integrations.yml

@@ -38,7 +38,7 @@ jobs:
           sudo apt-get install python3-venv
           python3 -m venv ./virtualenv
           source ./virtualenv/bin/activate
-          pip install jsonschema referencing jinja2 ruamel.yaml
+          ./integrations/pip.sh
       - name: Generate Integrations
         id: generate
         run: |

+ 3 - 0
integrations/pip.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec pip install jsonschema referencing jinja2 ruamel.yaml