diff options
author | Maxwell G <gotmax@e.email> | 2022-11-29 09:12:47 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 16:12:47 +0100 |
commit | ab76916b14784f92fbd7aee6e8d6fc5ee84b0e75 (patch) | |
tree | 0df5ac62245d1d5d1246abaf1881085e52b27535 /test/integration/targets/ansible-galaxy-collection-cli/files/make_collection_dir.py | |
parent | 5f3a6b78db093f8d1b062bbd70ac6bf375fdca04 (diff) | |
download | ansible-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.py | 4 |
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', |