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
This commit is contained in:
James Page 2017-02-13 10:26:27 +00:00
parent 104e05a7c5
commit 596ef7bee3
4 changed files with 11 additions and 2 deletions

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=openstack/snap-rally.git

View File

@ -1 +1,2 @@
snapcraft [platform:dpkg] snapcraft [platform:dpkg]
snapd [platform:dpkg]

View File

@ -1,5 +1,5 @@
name: rally name: rally
version: 0.7.0 version: 0.8.1
summary: OpenStack Benchmark-as-a-Service summary: OpenStack Benchmark-as-a-Service
description: | description: |
Rally is a Benchmark-as-a-Service project for OpenStack. Rally is a Benchmark-as-a-Service project for OpenStack.
@ -33,7 +33,7 @@ parts:
rally: rally:
plugin: python plugin: python
python-version: python2 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: build-packages:
- libffi-dev - libffi-dev
- libssl-dev - libssl-dev

View File

@ -6,9 +6,13 @@ skipsdist = True
basepython = python3.5 basepython = python3.5
install_command = pip install {opts} {packages} install_command = pip install {opts} {packages}
passenv = HOME TERM passenv = HOME TERM
whitelist_externals =
sudo
snapcraft
[testenv:snap] [testenv:snap]
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
commands = commands =
sudo snap install core
snapcraft clean snapcraft clean
snapcraft snap snapcraft snap