dappnode / DAppNodeSDK

dappnodesdk is a tool to mantain dappnode packages. It helps to initialize and publish an Aragon Package Manager Repository
GNU General Public License v3.0
61 stars 26 forks source link

Include variant files into build directory for generic packages #436

Open dappnodedev opened 5 months ago

dappnodedev commented 5 months ago

For generic packages, like https://github.com/dappnode/DAppNodePackage-lodestar-generic, we need to add the grafana dashboard and the prometheus targets to each of the variants directories, as their content will differ depending on the variant. The solution to this would be copying all the files included inside the variant directory into the build directory. Example:

/package_variants/mainnet/prometheus-targets.json should be included into build_lodestar.dnp.dappnode.eth_0.1.15/

Grafana dashboard could be common to all the variants, so it might be kept in the root of the repository