Closed pierresouchay closed 4 years ago
@gdavison Do you think it would be possible to create a new release of cookbook with this PR included?
:exclamation: No coverage uploaded for pull request base (
master@65ffbf6
). Click here to learn what that means. The diff coverage is100%
.
@@ Coverage Diff @@
## master #504 +/- ##
=========================================
Coverage ? 82.52%
=========================================
Files ? 9
Lines ? 578
Branches ? 0
=========================================
Hits ? 477
Misses ? 101
Partials ? 0
Impacted Files | Coverage Δ | |
---|---|---|
libraries/consul_config_v1.rb | 100% <100%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 65ffbf6...7ee587c. Read the comment docs.
@pierresouchay .. thanks for making the changes, waiting for these changes to get merged
@sc7565 I also would like to get it merged quickly ;)
It is a bit unfortunate that the cookbook needs to be updated for each new feature ;(
Having a way to add arbitrary config would be a nice addition
@gdavison @johnbellone Could we help you in a way to get new version of cookbook released?
@pierresouchay I don't know if I have access to push a new version to Supermarket. @johnbellone ?
@gdavison That's would be great, thank you so much! But it would probably require a Review of this PR first, do you fee the change is Ok?
It looks this this PR is failing a number of unit tests, and also on Ubuntu 16.04. Ubuntu 16.04 could be a race condition, but I thought I had resolved those. Otherwise, looks good :)
Yes, looks like the race conditions are back for ACLs. Dang.
@gdavison The error is quite weird:
NoMethodError
-------------
undefined method `new_resource' for ConsulCookbook::Resource::ConsulConfigV1
All unit tests do pass on my machine. How are those tests executed exactly?
Finished in 16.89 seconds (files took 3.06 seconds to load)
86 examples, 0 failures
Randomized with seed 51397
@pierresouchay the branch is out of date, sync might fix above checks.
@johnbellone @gdavison @sc7565 DONE => rebase with master => but still an error (cannot reproduce on my machine)
@pierresouchay I'm currently able to reproduce all errors. Which version of chef are you using? Maybe the old Resource creation isn't valid, or we maybe need to update the Gemfile.lock. I will try as soon as possible.
I downgrade chefspec to version 6, and everything works fine with chef 12 & 13. But doesn't working with chefspec 7+. We maybe need to update how we build resources.
@PierreRambaud still failing? can you help us in this
@sc7565 For the last error, it does seems like a timeout on the Travis worker instead... trying to push force to re-trigger it
And it works ;) @gdavison is it ok for you?
@johnbellone @gdavison @sc7565 @PierreRambaud Anyone for a review now since all tests are now passing?
Hey,
Thank you for the PR. We are closing due to inactivity. If you feel this feature should be merged in, please reopen and rebase as your contributions are always welcome.
Sous Chefs
This PR allow to use Connect with Consul 1.2+
For Consul 1.x with version < 1.2.0, the setting is ignored
@johnbellone Do you think it could be possible to release a new version of the cookbook in supermarket once merged?