From 933bc9f8ed082a13bdd8df81278b0668216c963a Mon Sep 17 00:00:00 2001 From: David Moreau Simard Date: Tue, 5 Oct 2021 17:19:16 -0400 Subject: [PATCH] galaxy.yml: exclude non-collection files from collection build Files that belong to the git repository such as git, github and azure pipeline configuration should not be included in the published collection tarball. Excluding tests saves on what makes the bulk of the size of the collection, both in size and number of files. In aggregate, excluding these files results in a meaningful improvement which will speed up the installation of the collection and reduce the size on disk. --- galaxy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/galaxy.yml b/galaxy.yml index 74133266..88d4480f 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -14,3 +14,11 @@ repository: https://github.com/ansible-collections/community.network documentation: https://docs.ansible.com/ansible/latest/collections/community/network/ homepage: https://github.com/ansible-collections/community.network issues: https://github.com/ansible-collections/community.network/issues +build_ignore: + - .azure-pipelines + - .github + - .gitignore + - changelogs + - CONTRIBUTING.md + - shippable.yml + - tests