80214f2166e248c923771231f31fb063efbec498
Project: openstack-infra/puppet-gerrit a265ec735753474995733c8f93db6932f6c4d2e2 Add logic to use use available mysql module The Infra team upgraded the puppetlabs-mysql module from 0.6.1 to 3.6.2 which had backwards-incompatible API changes to the mysql::server class. Now the acceptance tests use the new module, and therefore fail[1]. This patch uses the load_module_metadata function to determine what version of the mysql module is installed and use the right parameters. When the newer version is found, we also exchange the mysql-client package resource for the mysql::client class; this way we can include it without conflicting with the mysql-client package installed by the newer module, but still have the client available when the gerrit::mysql class isn't used at all. Since Infra is only using the new module, that is the only code path that will be tested by beaker, so using the old mysql module is effectively unsupported. This will have no effect on Infra's infrastructure since we do not use the gerrit::mysql class. This will affect downstream users since they must have the latest version of puppetlabs-stdlib installed to use the load_module_metadata function. However, using that function gives downstream users the flexibility to upgrade the mysql module when they can, which is a bigger undertaking than upgrading the stdlib module. [1] http://logs.openstack.org/53/262053/5/check/gate-puppet-gerrit-puppet-beaker-rspec-dsvm-trusty-nv/7f9eb0d/console.html Change-Id: Ifdc55f22282f75ab4db0aa9f51db9143f0d74d24 Depends-On: I969b8c077b2b169f6fe65cb9c1256d043dd66e56
…
…
…
…
…
…
…
…
…
OpenStack Tracking Repo
zuul gates all of the contained projects in an effective single timeline. This means that OpenStack, across all of the projects, does already have a sequence of combinations that have been explicitly tested, but it's non-trivial to go from a single commit of a particular project to the commits that were tested with it.
Gerrit's submodule tracking feature will update a super project every time a subproject is updated, so the specific sequence created by zuul will be captured by the super project commits.
This repo is intended to be used in a read-only manner. Any commit in this repo will get a collection of commits in the other repos that have explicitly been tested with each other, if that sort of thing is important to you.
Description
Languages
Python
100%