Any way to have knife cookbook test ignore vendor directory?

29 views
Skip to first unread message

bcaron

unread,
Apr 24, 2014, 4:22:42 PM4/24/14
to testing-...@googlegroups.com
I've switched to vendoring all the Gems needed for TK and al. for my cookbooks.

But we have a bunch of tests that runs on commit, one of these being a knife cookbook test.

I keep getting errors because this tests catches "errrors" in the *.rb that lives under vendor/bundle.

I've tried adding vendor/* (and copious variations) to my chefignore file to no avail.

Anyone know how to ignore these?

Benoit

Mischa Taylor

unread,
Apr 24, 2014, 4:31:09 PM4/24/14
to testing-...@googlegroups.com
Not currently with "knife cookbook test" - it's a known issue.  There's a PR making it's way in to fix the issue: https://tickets.opscode.com/browse/CHEF-4203

(Our Jira seems to be down temporarily right now, so you can look at the cached content on Google:

Mischa Taylor

unread,
Apr 24, 2014, 4:47:23 PM4/24/14
to testing-...@googlegroups.com
FYI: The folks in Chef Software's  IT department took down our Jira site intentionally (and temporarily) because Apache just announced a struts2 security vulnerability a few hours ago.  They are working with Atlassian to assess the impact before putting these sites back online (given how much "fun" we had with heartbleed over the past two weeks).

bcaron

unread,
Apr 24, 2014, 4:49:31 PM4/24/14
to testing-...@googlegroups.com
Oh, thanks!

I'll just commit with a -n for now.

Maybe I'll retry my luck using a gemset with rvm ; on first try I had conflicting dependancies that made me go back to vendoring. 

Testing this with all the installation and compiling is kind long, I need a faster machine! ;)
Reply all
Reply to author
Forward
0 new messages