Update ruby, gems for all cookbook testing/publishing
@bjk-gitlab discovered that when our cookbook publishing step attempts to install berkshelf (which is pinned to 7.0.patch), we end up failing to install chef-zero, since a new version appears to support only Ruby 2.6+, and our pipeline runs 2.5.
Context: gitlab-cookbooks/gitlab-exporters!134 (merged)
For each cookbook, we could:
- Update .ruby-version to ruby 2.6.patch
- Update .gitlab-ci.yml images to ruby 2.6
- Unpin kitchen-inspec, if pinned (not all cookbooks will have this pinning. See gitlab-cookbooks/gitlab-exporters!134 (comment 292335589))
- Remove
kitchen-transport-rsync
. If the kitchen test uses this gem, it needs to be removed and thetransport
replaced with ssh. bundle update
Alternatively, we could just update the image used by the publish step in CI, but that might be even more confusing.
Global ping since everyone uses the cookbooks and this is a wide, if simple-ish change.