summaryrefslogtreecommitdiff
path: root/test/integration/targets/ansible-galaxy-collection-cli/files/make_collection_dir.py
diff options
context:
space:
mode:
authorMaxwell G <gotmax@e.email>2022-11-29 09:12:47 -0600
committerGitHub <noreply@github.com>2022-11-29 16:12:47 +0100
commitab76916b14784f92fbd7aee6e8d6fc5ee84b0e75 (patch)
tree0df5ac62245d1d5d1246abaf1881085e52b27535 /test/integration/targets/ansible-galaxy-collection-cli/files/make_collection_dir.py
parent5f3a6b78db093f8d1b062bbd70ac6bf375fdca04 (diff)
downloadansible-ab76916b14784f92fbd7aee6e8d6fc5ee84b0e75.tar.gz
galaxy: Add license_file to manifest directives (#79420)
* galaxy: Add license_file to manifest directives * ag collection build: Test license handling This adds tests to ensure that - REUSE licensing files: .reuse/dep5, LICENSES/*, anyfile.license - galaxy.yml license_file are always included in the manifest.
Diffstat (limited to 'test/integration/targets/ansible-galaxy-collection-cli/files/make_collection_dir.py')
-rw-r--r--test/integration/targets/ansible-galaxy-collection-cli/files/make_collection_dir.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/targets/ansible-galaxy-collection-cli/files/make_collection_dir.py b/test/integration/targets/ansible-galaxy-collection-cli/files/make_collection_dir.py
index 913a6f79e8..60c43cc70f 100644
--- a/test/integration/targets/ansible-galaxy-collection-cli/files/make_collection_dir.py
+++ b/test/integration/targets/ansible-galaxy-collection-cli/files/make_collection_dir.py
@@ -5,8 +5,12 @@ paths = [
'ns-col-1.0.0.tar.gz',
'foo.txt',
'README.rst',
+ 'GPL',
+ 'LICENSES/MIT.txt',
+ '.reuse/dep5',
'artifacts/.gitkeep',
'plugins/vars/bar.yml',
+ 'plugins/vars/bar.yml.license',
'plugins/vars/baz.yaml',
'plugins/vars/test.py',
'plugins/vars/docs.md',