diff --git a/.gitreview b/.gitreview new file mode 100644 index 0000000..134e8d1 --- /dev/null +++ b/.gitreview @@ -0,0 +1,4 @@ +[gerrit] +host=review.openstack.org +port=29418 +project=openstack/snap-rally.git diff --git a/bindep.txt b/bindep.txt index 5816a55..8d8c1a2 100644 --- a/bindep.txt +++ b/bindep.txt @@ -1 +1,2 @@ snapcraft [platform:dpkg] +snapd [platform:dpkg] diff --git a/snapcraft.yaml b/snapcraft.yaml index 7673f6d..d176f3f 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,5 +1,5 @@ name: rally -version: 0.7.0 +version: 0.8.1 summary: OpenStack Benchmark-as-a-Service description: | Rally is a Benchmark-as-a-Service project for OpenStack. @@ -33,7 +33,7 @@ parts: rally: plugin: python python-version: python2 - source: http://tarballs.openstack.org/rally/rally-0.7.0.tar.gz + source: http://tarballs.openstack.org/rally/rally-$SNAPCRAFT_PROJECT_VERSION.tar.gz build-packages: - libffi-dev - libssl-dev diff --git a/tox.ini b/tox.ini index 997c257..7360ffc 100644 --- a/tox.ini +++ b/tox.ini @@ -6,9 +6,13 @@ skipsdist = True basepython = python3.5 install_command = pip install {opts} {packages} passenv = HOME TERM +whitelist_externals = + sudo + snapcraft [testenv:snap] deps = -r{toxinidir}/requirements.txt commands = + sudo snap install core snapcraft clean snapcraft snap