Open
Description
Summary
When working with a package I'd like to automate recurring operations like attaching an integration to the running agent or setting up resources needed for my testing on the running services (example in elastic/integrations#4033). These operations could be done in scripts that would be included in the package's _dev
folder to avoid bundling them in the artifact.
Adding a _dev/scripts
directory is however not supported by the linter:
[2022-08-24T16:20:47.598Z] Error: checking package failed: linting package failed: found 1 validation error:
[2022-08-24T16:20:47.598Z] 1. item [scripts] is not allowed in folder [/var/lib/jenkins/workspace/est-manager_integrations_PR-4033/src/github.com/elastic/integrations/packages/elasticsearch/_dev]
Should we allow a dedicated place in _dev
for such scripts ?