Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7658

Upgrade modules and gems to use beaker v4.0.0

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None
    • None
      • Plan for upgrading modules to beaker 4
      • Plan for upgrading gems to beaker 4
    • Modules
    • Needs Assessment

    Description

      Current state of play:

      1. Tested beaker4 on a cross platform module.  puppetlabs-stdlib PR It also passed through travis and jenkins testing windows / nux  - *COMPLETE
      2. APT PR proof of concept testing beaker 4 passing through jenkins / travis - COMPLETE
      3. Update puppet-module-gems to use Beaker 3 <currently these dependencies are implemented per module in .sync.yml>  - COMPLETE PR 
      4. Test against cross-platform (windows and linux) and multiple versions of ruby. - COMPLETE 
      5. Release puppet-module-gems - COMPLETE
      6. Using pdksync update all modules. specifically cleaning .sync.yml removal of hardcoded gem section - COMPLETE
      7. <we can now push beaker 4 changed globally>
      8. Merge https://github.com/puppetlabs/beaker-pe/pull/124 - COMPLETE
      9. Release beaker-pe gem - COMPLETE
      10. Update puppet-module-gems to reference beaker 4 - IN PROGRESS
      11. Test against cross-platform (windows and linux) and multiple versions of ruby. - IN PROGRESS
      12. Release puppet-module-gems
      13. Merge spec_helper_acceptance changes
      14. Using pdksync update all modules. specifically spec_helper_acceptance.rb to include new require's and also configure_type_defaults_on call
      15. Retrospectively fix gem dependencies in all beaker helper gems.
         

      Currently we are testing on beaker v3. There may be significant work upgrading our modules to run beaker 4. This may also include dependency bumps in modules and gems.

      Example:
      https://github.com/puppetlabs/beaker-rspec/blob/master/beaker-rspec.gemspec#L36
      https://github.com/puppetlabs/puppetlabs-accounts/blob/master/.sync.yml#L22

      We will need to come up with a plan on upgrading these.

      Here is an upgrade guide: https://github.com/puppetlabs/beaker/blob/4.0.0/docs/how_to/upgrade_from_3_to_4.md

      Dakota Schneider is prepared to work alongside our team to work on the upgrade and would appreciate us testing the following before merge: https://github.com/puppetlabs/beaker-rspec/pull/95/files

      Attachments

        Issue Links

          Activity

            People

              tp Thomas Honey
              paula Paula Muir
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support