Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-956

[RFE] Ability to define git depth while performing SCM(Git) project sync

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 2.4
    • controller
    • False
    • Hide

      None

      Show
      None
    • 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.

              bcoursen@redhat.com Brian Coursen
              rhn-support-ahuchcha Amar Huchchanavar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: