Commit Graph

5 Commits

Author SHA1 Message Date
Monty Taylor e4bced77cb Remove nosetests.xml reference
We do not expect nosetests.xml anywhere, so there is no need for an
else clause that creates one and the copying of nosetests logs.

Change-Id: Id5b96f00d66de46372148e268330ee04f04770ae
2014-10-29 12:53:22 +01:00
Monty Taylor f5aaf25aa4 Use testr and flake8.
Change-Id: I748a0f54416ca540153ed5a9e7edfff739acaaea
2013-07-22 15:01:50 -07:00
Bhuvan Arumugam 393e275644 Generate AUTHORS and ChangeLog for devstack-gate.
Bug: 1027344

Inline with changes in other projects, generate AUTHORS
and ChangeLog to include in release package.

* .gitignore
  Ignore these 2 files.

* MANIFEST.in
  Include them in the package.

* setup.py
  Command class to generate these files, from openstack.common.

* devstackgate/openstack/common/setup.py
  Import from openstack.common project.

* openstack-common.conf
  Configuration file to sync changes using the update script.

Change-Id: Ia08d70600e012be7759a03f3afe21aa09b804262
2012-07-20 21:37:21 -07:00
Bhuvan Arumugam 33fbc416ba Add tox tests/pep8 for devstack-gate scripts.
Bug: 1010610

With this commit, we could run py26, py27 and pep8 tests
against these scripts, using tox.

* .gitignore
  Ignore build files.

* MANIFEST.in
  List of files to include in sdist package.

* setup.cfg
  Setup configuration.

* setup.py
  Script to generate sdist package.

* tools/pip-requires
  Pip dependency list.

* tools/test-requires
  Extensive list of dependencies to execute tests.

* tox.ini
  Tox targets.

Change-Id: I3f14af096b3078214d0747c2ab99b0a42b5190e9
2012-06-15 23:13:29 -07:00
James E. Blair 3435b5a060 Handle multiple images and providers.
All of the prerequisites for supporting multiple VM providers should be
in place.  This has been tested with rackspace legacy, rackspace nova,
and hpcloud.

The scripts now use novaclient instead of libcloud.  The old v1_0 code that
was removed from novaclient is added here for as long as we continue to
use rackspace legacy.  It's slightly modified to handle some operational
considerations (such as cache-busting), and to integrate with the current
version of novaclient.  We can remove it when it's no longer needed.

Machines are now generated from snapshot images created from per-provider
base images, this lets us specify, eg, oneiric and precise images from each
provider.  Setup scripts take the provider name as an argument (so each
provider in Jenkins can have its own job for easier monitoring).  The fetch
script takes the base image name (eg, "oneiric") as an argument and gets
the oldest matching node from any provider.

Snapshot images are created from scratch each time; no more long-running
template hosts.

Devstack fixed network set to something that doesn't collide with hpcloud.

Min_ram is now configurable per-base-image (so we can request servers with
a certain amount of ram for each image (in case an image has no swap, or
otherwise needs more ram)).

SKIP_DEVSTACK_GATE_PROJECT added to the gate script to make testing the
script itself during development easier.

More robust detection of image URLs in the image update script.

On a running devstack node, before running devstack, check to see if there
is swap space.  If not, assume we're on HPCloud and unmount /mnt and use
it for swap.

Change-Id: I782e1180424ce0f3c7b69a3042eccc85b2b50389
2012-03-28 21:26:29 +00:00