From 377d1d295860e796ca8301578df60f1e5cde6627 Mon Sep 17 00:00:00 2001 From: Fotis Voutsas Date: Mon, 5 Feb 2024 13:44:24 +0200 Subject: [PATCH] Exporting moved, so changes needed for integrations, + CODEOWNERS change (#16932) --- .github/CODEOWNERS | 2 +- .github/workflows/generate-integrations.yml | 2 +- integrations/gen_docs_integrations.py | 2 +- integrations/gen_integrations.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 35f5df673c6ed4..53e5785a392b97 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -16,7 +16,7 @@ collectors/freebsd.plugin/ @thiagoftsm collectors/macos.plugin/ @thiagoftsm collectors/python.d.plugin/ @ilyam8 collectors/cups.plugin/ @thiagoftsm -exporting/ @thiagoftsm +src/exporting/ @thiagoftsm daemon/ @thiagoftsm @vkalintiris database/ @thiagoftsm @vkalintiris docs/ @tkatsoulas @Ancairon diff --git a/.github/workflows/generate-integrations.yml b/.github/workflows/generate-integrations.yml index 4128e992561bd2..ae7808482654ce 100644 --- a/.github/workflows/generate-integrations.yml +++ b/.github/workflows/generate-integrations.yml @@ -7,7 +7,7 @@ on: - master paths: # If any of these files change, we need to regenerate integrations.js. - 'collectors/**/metadata.yaml' - - 'exporting/**/metadata.yaml' + - 'src/exporting/**/metadata.yaml' - 'health/notifications/**/metadata.yaml' - 'integrations/templates/**' - 'integrations/categories.yaml' diff --git a/integrations/gen_docs_integrations.py b/integrations/gen_docs_integrations.py index 2b27db859fd382..6d8a76374f03e1 100644 --- a/integrations/gen_docs_integrations.py +++ b/integrations/gen_docs_integrations.py @@ -21,7 +21,7 @@ def cleanup(): if "integrations" in str(element): shutil.rmtree(element) - for element in Path("exporting").glob('**/*/'): + for element in Path("src/exporting").glob('**/*/'): if "integrations" in str(element): shutil.rmtree(element) for element in Path("integrations/cloud-notifications").glob('**/*/'): diff --git a/integrations/gen_integrations.py b/integrations/gen_integrations.py index 043c22a7774f70..5b2b1d3404a1a2 100755 --- a/integrations/gen_integrations.py +++ b/integrations/gen_integrations.py @@ -39,7 +39,7 @@ ] EXPORTER_SOURCES = [ - (AGENT_REPO, REPO_PATH / 'exporting', True), + (AGENT_REPO, REPO_PATH / 'src' / 'exporting', True), ] NOTIFICATION_SOURCES = [