+++ /dev/null
----
-language: ruby
-bundler_args: --without local_only
-before_install: rm Gemfile.lock || true
-rvm:
- - 2.1.10
- - 2.2.7
- - 2.3.3
- - 2.4.1
-script: bundle exec rake test
-env:
- - PUPPET_VERSION="~> 4.6.0"
- - PUPPET_VERSION="~> 4.7.0"
- - PUPPET_VERSION="~> 4.8.0"
- - PUPPET_VERSION="~> 4.9.0"
-matrix:
- exclude:
- - rvm: 2.4.1
- env: PUPPET_VERSION="~> 4.6.0"
- - rvm: 2.4.1
- env: PUPPET_VERSION="~> 4.7.0"
-notifications:
- email:
- recipients:
- - dfarrell@redhat.com
- on_success: change
- on_failure: change
### Tests in Continuous Integration
-We use [Travis CI][16] to run our unit, syntax and style tests against a
-matrix of supported Ruby and Puppet versions at every commit. This currently
-results in >8500 automated tests per commit.
+The OpenDaylight Puppet module uses OpenDaylight's Jenkins silo to run tests
+in CI. Some tests are triggered when changes are proposed, others are triggered
+periodically to validate things haven't broken underneath us. See the
+[`puppet-*` tests][21] on the Jenkins web UI for a list of all tests.
[1]: https://github.com/dfarrell07/puppet-opendaylight/issues
[15]: https://github.com/puppetlabs/beaker/wiki/How-to-Write-a-Beaker-Test-for-a-Module#typical-workflow
-[16]: https://travis-ci.org/dfarrell07/puppet-opendaylight
-
[17]: https://www.vagrantup.com/downloads.html
[18]: www.virtualbox.org/wiki/Linux_Downloads
[19]: http://webchat.freenode.net/?channels=opendaylight-integration
[20]: https://docs.docker.com/engine/installation/
+
+[21]: https://jenkins.opendaylight.org/releng/view/packaging/search/?q=puppet "Puppet CI jobs"
gem "rspec-puppet"
gem "puppetlabs_spec_helper"
gem "metadata-json-lint"
- gem "travis"
- gem "travis-lint"
gem "rspec-puppet-facts", :require => false
end
-[![CI Status][4]][1]
-[![Dependency Status][5]][2]
-
# OpenDaylight
#### Table of Contents
See the [CHANGELOG][15] or our [git tags][16] for information about releases.
See our [git commit history][17] for contributor information.
-[1]: https://travis-ci.org/dfarrell07/puppet-opendaylight
-
-[2]: https://gemnasium.com/dfarrell07/puppet-opendaylight
-
-[4]: https://travis-ci.org/dfarrell07/puppet-opendaylight.svg?branch=master
-
-[5]: https://gemnasium.com/dfarrell07/puppet-opendaylight.svg?branch=master
-
[7]: http://www.opendaylight.org/
[8]: https://github.com/dfarrell07/puppet-opendaylight/blob/master/CONTRIBUTING.markdown#issues
[18]: http://cbs.centos.org/repos/nfv7-opendaylight-40-release/x86_64/os/Packages/ "OpenDaylight Beryllium CentOS CBS repo"
-[18]: https://wiki.opendaylight.org/view/Deployment#RPM "OpenDaylight RPMs and their repos"
+[19]: https://wiki.opendaylight.org/view/Deployment#RPM "OpenDaylight RPMs and their repos"
[20]: https://launchpad.net/~odl-team/+archive/ubuntu/boron
require 'puppet-lint/tasks/puppet-lint'
require 'puppet-syntax/tasks/puppet-syntax'
-# These two gems aren't always present, for instance
-# on Travis with `--without local_only`
-begin
- require 'puppet_blacksmith/rake_tasks'
-rescue LoadError
-end
-
PuppetLint.configuration.relative = true
PuppetLint.configuration.send("disable_80chars")
PuppetLint.configuration.log_format = "%{path}:%{line}:%{check}:%{KIND}:%{message}"
sh "metadata-json-lint metadata.json"
end
-task :travis_lint do
- # Using "echo y" to accept interactive "install shell completion?" prompt
- sh 'echo "y" | travis lint .travis.yml --debug'
-end
-
# CentOS VMs
desc "Beaker tests against CentOS 7 VM with latest Carbon testing RPM"
:syntax,
:lint,
:metadata_lint,
- :travis_lint,
:spec,
]