lordoftheflies / ansible-collection-sdlc

Ansible Collection for Software Development LifeCycle instrastructure.
https://galaxy.ansible.com/lordoftheflies/ansible_collection_sdlc
2 stars 0 forks source link

Published Galaxy Artifact contains Python site-packages #1

Open sivel opened 4 years ago

sivel commented 4 years ago

Hi! I just wanted to reach out to let you know that the published collection artifact at https://galaxy.ansible.com/lordoftheflies/ansible_collection_sdlc contains a full python site-packages directory, including a full Ansible installation.

An example file path:

.env/lib/python3.7/site-packages/ansible/release.py

You may need to take advantage of the build_ignore keyword inside of galaxy.yml to ensure that your .env directory is not included in the build artifact: https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/dev_guide/developing_collections.rst#ignoring-files-and-folders

However, that build_ignore is only utilized in the upcoming Ansible 2.10 release.

If you are using Ansible 2.9 to build the collection, you may have to modify the build artifact, or use a different approach for where you install your dependencies.

lordoftheflies commented 4 years ago

Thank you, I will take care of it

Matt Martz notifications@github.com ezt írta (időpont: 2020. ápr. 28., Ke 20:48):

Hi! I just wanted to reach out to let you know that the published collection artifact at https://galaxy.ansible.com/lordoftheflies/ansible_collection_sdlc contains a full python site-packages directory, including a full Ansible installation.

An example file path:

.env/lib/python3.7/site-packages/ansible/release.py

You may need to take advantage of the build_ignore keyword inside of galaxy.yml to ensure that your .env directory is not included in the build artifact: https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/dev_guide/developing_collections.rst#ignoring-files-and-folders

However, that build_ignore is only utilized in the upcoming Ansible 2.10 release.

If you are using Ansible 2.9 to build the collection, you may have to modify the build artifact, or use a different approach for where you install your dependencies.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lordoftheflies/ansible-collection-sdlc/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7DYKHBI3G74X4KNRO6DIDRO4QIDANCNFSM4MTCPR3A .