integrations/README.md
To generate a copy of integrations.js locally, you will need:
jsonschemareferencingjinja2ruamel.yamlgo.d.plugin
in the root directory of the Agent repo, though a symlink with that
name pointing at the actual location of the repo will work as well.The first two parts can be easily covered in a Linux environment, such as a VM or Docker container:
apt-get install python3-jsonschema python3-referencing python3-jinja2 python3-ruamel.yamlapk add py3-jsonschema py3-referencing py3-jinja2 py3-ruamel.yamldnf install python3-jsonschema python3-referencing python3-jinja2 python3-ruamel-yamlOnce the environment is set up, run the documentation generators from the Agent repo root:
integrations/gen_integrations.pyintegrations/gen_docs_integrations.pyintegrations/gen_doc_collector_page.pyintegrations/gen_doc_secrets_page.pyThese scripts must be run from this specific location, as they use their own path to figure out where all the files they need are.