Switch to Zuul v3 testing

Change-Id: I603827d1be6c20ae0f80456c39c55ed9d5fe2fcb
This commit is contained in:
ZhongShengping 2017-11-02 10:03:16 +08:00
parent 7d232b51cc
commit b562e32fda
4 changed files with 35 additions and 8 deletions

4
.zuul.yaml Normal file
View File

@ -0,0 +1,4 @@
- project:
name: openstack/puppet-autossh
templates:
- puppet-openstack-check-jobs

19
Gemfile Normal file
View File

@ -0,0 +1,19 @@
source ENV['GEM_SOURCE'] || "https://rubygems.org"
group :development, :test, :system_tests do
gem 'puppet-openstack_spec_helper', :require => 'false', :git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper'
end
if facterversion = ENV['FACTER_GEM_VERSION']
gem 'facter', facterversion, :require => false
else
gem 'facter', :require => false
end
if puppetversion = ENV['PUPPET_GEM_VERSION']
gem 'puppet', puppetversion, :require => false
else
gem 'puppet', :require => false
end
# vim:ft=ruby

View File

@ -1,8 +1 @@
require 'rubygems'
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.send('disable_autoloader_layout')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.send('disable_class_parameter_defaults')
require 'puppet-openstack_spec_helper/rake_tasks'

11
bindep.txt Normal file
View File

@ -0,0 +1,11 @@
# This is a cross-platform list tracking distribution packages needed by tests;
# see https://docs.openstack.org/infra/bindep/ for additional information.
libxml2-devel [test platform:rpm]
libxml2-dev [test platform:dpkg]
libxslt-devel [test platform:rpm]
libxslt1-dev [test platform:dpkg]
ruby-devel [test platform:rpm]
ruby-dev [test platform:dpkg]
zlib1g-dev [test platform:dpkg]
zlib-devel [test platform:rpm]