From 596ef7bee3a3922ec1618f69a659f477187eda6a Mon Sep 17 00:00:00 2001 From: James Page Date: Mon, 13 Feb 2017 10:26:27 +0000 Subject: [PATCH] Update for rally 0.8.1 Also add missing .gitreview file. Ensure core snap is installed as this is required for classic confinement mode snaps. Change-Id: I9ff72de7c3bdd5b7ce51817506ad6af5267db42e --- .gitreview | 4 ++++ bindep.txt | 1 + snapcraft.yaml | 4 ++-- tox.ini | 4 ++++ 4 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .gitreview 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