]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Update tox configuration
authorAlex Schultz <aschultz@redhat.com>
Wed, 17 May 2017 14:21:20 +0000 (08:21 -0600)
committerAlex Schultz <aschultz@redhat.com>
Wed, 17 May 2017 14:21:34 +0000 (08:21 -0600)
Update the tox configuration to pull in the openstack
upper-constraints.txt when running releasenotes. This will
fix the releasenotes job that is currently failing due to
a new version of sphinx. Additionally this change includes
updates from puppet-modulesync-configs.

Change-Id: If1b80bbc6fe5bf1c8f49659891add50a5ebcf997

Gemfile
bindep.txt
test-requirements.txt
tox.ini

diff --git a/Gemfile b/Gemfile
index 1fab60854b17e9b5e192a3dcd57b0d6d929bd371..caddc65d85de617b2ddf5cf6f6ffebcb4ff8f663 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -1,9 +1,7 @@
 source ENV['GEM_SOURCE'] || "https://rubygems.org"
 
 group :development, :test, :system_tests do
-  gem 'puppet-openstack_spec_helper',
-      :git     => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper',
-      :require => false
+  gem 'puppet-openstack_spec_helper', :require => 'false', :git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper'
 end
 
 if facterversion = ENV['FACTER_GEM_VERSION']
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7cdd58e59c8de1f6da5984ad78b80cbb4abec079 100644 (file)
@@ -0,0 +1,11 @@
+# This is a cross-platform list tracking distribution packages needed by tests;
+# see http://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]
index a47e6f91bfd84375221f94b41794f6618ca9e20f..1ea50a840500b4e7023d0412b6cb1d1e4572f735 100644 (file)
@@ -1,7 +1,7 @@
-# this is required for the docs build jobs
+# This is required for the docs build jobs
 sphinx>=1.5.1  # BSD
 oslosphinx>=4.7.0  # Apache-2.0
 
-# this is required for the releasenotes build jobs
+# This is required for the releasenotes build jobs
 # FIXME: reno is manually pinned to !=2.0.0 because of bug #1651995
 reno>=1.8.0,!=2.0.0  # Apache-2.0
diff --git a/tox.ini b/tox.ini
index aea06c84f7e68abbb200ea170130fe15cc6cbd11..cd122cbf331409bd8b3ccb3e77ba21725e91cc17 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -3,6 +3,9 @@ minversion = 1.6
 skipsdist = True
 envlist = releasenotes
 
+[testenv]
+install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
+
 [testenv:releasenotes]
 deps = -rtest-requirements.txt
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html