Only clone tempest with depth of 1
For automation, there's usually no need to clone the entire revision history. Change-Id: I766fc0ef100376578daac985cb7a85a9a07dd6ed Closes-Bug: #1455240
This commit is contained in:
@@ -90,7 +90,7 @@ end
|
|||||||
git '/opt/tempest' do
|
git '/opt/tempest' do
|
||||||
repository 'https://github.com/openstack/tempest'
|
repository 'https://github.com/openstack/tempest'
|
||||||
reference 'master'
|
reference 'master'
|
||||||
|
depth 1
|
||||||
action :sync
|
action :sync
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -121,7 +121,8 @@ describe 'openstack-integration-test::setup' do
|
|||||||
'/opt/tempest'
|
'/opt/tempest'
|
||||||
).with(
|
).with(
|
||||||
repository: 'https://github.com/openstack/tempest',
|
repository: 'https://github.com/openstack/tempest',
|
||||||
reference: 'master'
|
reference: 'master',
|
||||||
|
depth: 1
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user