forked from puppetlabs/puppetlabs-mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(FM-8118) Litmus conversion (puppetlabs#1175)
(FM-8118) Litmus Conversion This change updates the module for testing under Litmus. Squashed Commit Messages: * (WIP) - POC Litmus conversion * Updating test to avoid failures when running against the same machine * Readding idempotent testing * Updating travis * updating Gemfile and unmanaging travis.yml * backup_spec fixing shell * fixing version_is_greater_than as it compared strings and was incorrect * changing provision to use http rather than ssh * rework .sync.yml * remove bolt * Include litmus warning in README * rubocop fixes * Remove puppet 5 dependency clash This is not a good idea, however it is one of the last options we have to progress. There are gem dependencies when running litmus, pdk and bolt on puppet 5. Doing this means litmus will not be installed on puppet 5. We have pinned to a ruby version as puppet and ruby are closely coupled and this is a solution that works and the ruby version is available to us. * puppet_litmus dont install if puppet5 * Update mariadb to mysql * removing pin to special commits * replace lsbdistcodename with operatingsystemmajrelease * adding cron package for backups * tidying manifest removing maridadb for debian * remove white space, fix cron install * fix tests * fixing shell to run_shell * Adding distelli-manifest.yml * adding dependencies and more to travis * remove rvm from distelli manifest * test * remove installation of cron in tests, it is done in the manifest * pdk convert, enable provision_list * fixing cron dependency failure on docker * Adding locales testing * Update distelli manifest * Fixing cron failures * including cronie and cron * Redhat cronie else cron * adding which install as part of a test * fixing rubocop on locales * updates to provision.yaml to use waffleimage * update travis to include provision_list * removing spec_helper_local conditional require on puppet_litmus * pdk update, fix travis * removing some el os for travis testing * dont install cronie on redhat5 * putting provision back to travel_el images * fixing structure in travis_db images * fixing cron/cronie install on backup and dump * decreasing travis_el os to diagnose timeout * update manifest to fix syntax failure * restructure travis * pdk updating gems * Take el7 out to run separately * fixes for litmus 0.1.1 * minor test tweaks, remove redundant calls * fixes needed for litmus block handling * move setup to install section, travis * stop using a mysql_helper.rb * el 5 support for testing * latest pdksync
- Loading branch information
1 parent
eb3f191
commit ad5bb08
Showing
23 changed files
with
499 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
team-modules/puppetlabs-mysql: | ||
PreBuild: | ||
- source /opt/rh/rh-ruby25/enable | ||
- echo "--- LETS update BUNDLER ---" | ||
- bundle install --path vendor/bundle --jobs 3 | ||
Build: | ||
- echo "--- PROVISIONING ---" | ||
- source /opt/rh/rh-ruby25/enable | ||
- bundle exec rake litmus:provision_list[release_checks] | ||
- cat inventory.yaml | ||
- echo "--- AGENT INSTALLATION ---" | ||
- bundle exec rake litmus:install_agent | ||
- echo "--- MODULE INSTALLATION ---" | ||
- bundle exec rake litmus:install_module | ||
- echo "--- TESTS RUNNING ---" | ||
- bundle exec rake litmus:acceptance:parallel | ||
AfterBuildSuccess: | ||
- source /opt/rh/rh-ruby25/enable | ||
- bundle exec rake litmus:tear_down | ||
AfterBuildFailure: | ||
- source /opt/rh/rh-ruby25/enable | ||
- bundle exec rake litmus:tear_down | ||
CommitData: | ||
- RepoType: Git | ||
- RepoPath: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
default: | ||
provisioner: docker | ||
images: ['waffleimage/centos7'] | ||
travis_deb: | ||
provisioner: docker | ||
images: ['waffleimage/debian8', 'waffleimage/debian9', 'waffleimage/ubuntu14.04', 'waffleimage/ubuntu16.04', 'waffleimage/ubuntu18.04'] | ||
travis_el7: | ||
provisioner: docker | ||
images: ['waffleimage/centos7', 'waffleimage/oraclelinux7', 'waffleimage/scientificlinux7'] | ||
release_checks: | ||
provisioner: vmpooler | ||
images: ['redhat-5-x86_64', 'redhat-6-x86_64', 'redhat-7-x86_64', 'centos-5-x86_64', 'centos-6-x86_64', 'centos-7-x86_64', 'oracle-5-x86_64', 'oracle-6-x86_64', 'oracle-7-x86_64', 'scientific-6-x86_64', 'scientific-7-x86_64', 'debian-8-x86_64', 'debian-9-x86_64', 'sles-11-x86_64', 'ubuntu-1404-x86_64', 'ubuntu-1604-x86_64', 'ubuntu-1804-x86_64'] |
Oops, something went wrong.