Skip to content

Upgrade to Chef 13.6.4 from 12.21.31

Richard Clamp requested to merge rc-3020-chef-13-upgrade into master

What does this MR do?

  • Upgrades from chef 12.21.31 to 13.6.4, including dependent gems
  • Updates chefspec to 7.1.1
  • Fixes usage of node.default.gitaly in gitaly recipe
  • Fixes logging configuration under chef 13
  • Adds CHANGELOG and fixes for 10.5.0/12.21.31

spec fixes related to the chef 13 upgrade:

  • Changes uses of old_run_action to a more compatible call
  • More complete Kernel.load mocking
  • Globally mocks #freeze on helper instances
  • Reset the Gitlab singleton in global before
  • Fixes bad cache interactions in services_spec
  • Remove pending from Chef 13 dependent example

More complete notes on all of the above are in the commit message.

Checklist

See Definition of done.

  • Change added to CHANGELOG.md. Not applicable for Documentation changes and minor changes.
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA, if applicable
  • MR targeting master branch
  • MR has a green pipeline on GitLab.com

Reviewer Checklist

In addition to above, reviewer must:

  • Pipeline is green on dev.gitlab.org if the change is not touching documentation or internal cookbooks

References

Depends on !2296 (merged)

Closes #3020 (closed)

Edited by Richard Clamp

Merge request reports