Misc fixes for gate tests
Ensure snapd and the core snap are installed as required to test build a classic snap. Change-Id: If7d68fc16a76fd2374bfcc49256f5126b87517fc
This commit is contained in:
4
.gitreview
Normal file
4
.gitreview
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
[gerrit]
|
||||||
|
host=review.openstack.org
|
||||||
|
port=29418
|
||||||
|
project=openstack/snap-tempest.git
|
||||||
@@ -1 +1,2 @@
|
|||||||
snapcraft [platform:dpkg]
|
snapcraft [platform:dpkg]
|
||||||
|
snapd [platform:dpkg]
|
||||||
|
|||||||
4
tox.ini
4
tox.ini
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user