diff --git a/recipes/setup.rb b/recipes/setup.rb index 77ab5e0..fc388e6 100644 --- a/recipes/setup.rb +++ b/recipes/setup.rb @@ -90,7 +90,7 @@ end git '/opt/tempest' do repository 'https://github.com/openstack/tempest' reference 'master' - + depth 1 action :sync end diff --git a/spec/setup_spec.rb b/spec/setup_spec.rb index 4843f8e..6d3f570 100644 --- a/spec/setup_spec.rb +++ b/spec/setup_spec.rb @@ -121,7 +121,8 @@ describe 'openstack-integration-test::setup' do '/opt/tempest' ).with( repository: 'https://github.com/openstack/tempest', - reference: 'master' + reference: 'master', + depth: 1 ) end