Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inspec check and json to use vendored dependencies #1321

Merged
merged 3 commits into from
Nov 29, 2016

Conversation

alexpop
Copy link
Contributor

@alexpop alexpop commented Nov 24, 2016

Fixes: #1316 by providing a cache directory. Otherwise copy_deps_into_cache is not called.

@alexpop alexpop added Type: Bug Feature not working as expected in progress labels Nov 24, 2016
@chris-rock chris-rock self-assigned this Nov 28, 2016
Signed-off-by: Alex Pop <apop@chef.io>
@chris-rock chris-rock force-pushed the ap/check-vendor-cache branch 2 times, most recently from 4f51237 to c9157af Compare November 29, 2016 12:50
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
@@ -53,10 +61,51 @@
out.stderr.must_equal ''
end

it 'ensure json command is not fetching remote profiles if vendored' do
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good test for this would be to check that the vendored profile(ex: 01414bd307ea2f7d4dc8cd141085ba7ad61d4c3b2606d57b2dae987c1c3954cb.tar.gz was copied in the cache) instead of a remote one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As in length is 1 and that profile is 01414bd307ea2f7d4dc8cd141085ba7ad61d4c3b2606d57b2dae987c1c3954cb.tar.gz

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
@chris-rock chris-rock merged commit 45ef79b into master Nov 29, 2016
@chris-rock chris-rock deleted the ap/check-vendor-cache branch November 29, 2016 22:46
@chris-rock
Copy link
Contributor

Awesome. Thank you @alexpop

@chris-rock chris-rock added this to the meta-profile support milestone Nov 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants