Building kolla-ansible Image Takes a Long Time when github is Slow

Bug #1488744 reported by Zhou Zheng Sheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Zhou Zheng Sheng

Bug Description

When building kolla images, I noticed it spent much time on kolla-ansible, specifically on cloning ansible repository.
My Internet access is not very fast, and sometimes interfered by ISP firewall. I think there is no need to clone the whole ansible repository. It would be nice if we add '--depth 1' option to 'git clone' command, since we just need the code, not the commit history.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/216948
Committed: https://git.openstack.org/cgit/stackforge/kolla/commit/?id=32d48e6fb78910a39472e46ca1ff729dfe0e8530
Submitter: Jenkins
Branch: master

commit 32d48e6fb78910a39472e46ca1ff729dfe0e8530
Author: Zhou Zheng Sheng <email address hidden>
Date: Mon Aug 24 13:11:11 2015 +0800

    Speedup Git Cloning Ansible Repository

    When building kolla-ansible image, it clones ansible source code from
    github. Since we just need the source code but not the commit history,
    there is no need to download all the commit log objects. This patch adds
    "--depth 1" option to git clone command. This will speedup kolla-ansible
    image building a lot, especially in countries with slow Internet access.

    Change-Id: I834f83a127350415a5861a2f5b2982df3d3e3f5a
    Closes-Bug: #1488744

Changed in kolla:
status: New → Fix Committed
Changed in kolla:
importance: Undecided → Medium
milestone: none → liberty-3
assignee: nobody → Zhou Zheng Sheng (edwardbadboy)
Sam Yaple (s8m)
Changed in kolla:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.