Commit Graph

5 Commits

Author SHA1 Message Date
Pete Vander Giessen 480d749443 Use cirros images.
Switched to using cirros images rather than ubuntu cloud images, as
they are smaller, and thus better for testing. They should also go
through the zuul reverse proxy.

Update env variables to work with the tweaks to snapstack.

Change-Id: I989f1d2eacefebd2a72f75897e09b2c8b9e856ef
2017-08-08 14:13:36 +00:00
Pete Vander Giessen 84668a42dc Added snapstack test.
Tweaked tox.ini to invoke snapstack, and added test_snapstack.py to
tests dir.

Also added glance.sh to glance/tests, as part of the plan to move
those scripts from snap-test to the individual snaps.

Change-Id: Ifbd53392c394ee36cf61d1a07dba825f7b7097b8
2017-07-27 18:57:04 +00:00
Corey Bryant cd9990d665 Switch to classic confinement
Classic confinement allows the snap to behave like a traditionally
packaged application with full access to the system, and enables the
use of traditional directories such as /etc and /var/log.

We will continue to store all of the snap's files in $SNAP* directories.
This enables the snap to cleanup after itself if it is removed. However,
traditional directory locations are symlinked to their corresponding
$SNAP* directories.

For example, glance configs are installed in $SNAP_COMMON/etc/glance
which has a symlink at /etc/glance.

The glance apps then use the traditional directories when running
commands and services.

Change-Id: Ic763f9c8f34ab3096e8592520db00cdf81b0d9ef
2017-03-21 12:32:02 +00:00
James Page d4523471a7 Fixup tox configurations to support use of build test in gate 2016-11-23 10:07:48 +00:00
James Page 7872975d0e Add basic tox configuration for building the snap 2016-11-21 11:21:27 +00:00