-
Feature Request
-
Resolution: Unresolved
-
Undefined
-
None
-
2.4
-
False
-
-
False
Description:
Project creation with `Source Control Type: Git` should provide an option to define '--depth'
Parameter.
Customer Words:
Under AAP, the synchronisation process with a git reposit is made with a playbook named project_update.yml. This playbook use the ansible.builtin.git module.
Per documentation (
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/git_module.html
), this module accepts a 'depth' option which limits the number of last commits to clone. Having the possibility to set this limit in the project form would allow to reduce the amount of place taken on disk by the repository, in case you have to deal wih repositories of problematic size, because of too lengthy history or because users put unwanted files in the repository.
Define the value or impact to you or the business
Helps to prevent jobs failing because of disk space shortage.
- is related to
-
AAPRFE-914 When moving project to execution node, can we skip .git?
- Backlog
- relates to
-
AAPRFE-503 On project copy for job run allow .git/ directory to be copied over
- Backlog