Age | Commit message (Collapse) | Author |
|
Provide a "when" option that provides for not installing packages
based on a = or != match on an environment variable.
Unit tests are added.
Change-Id: Ifa824dccaff69fd447f45d54cb4a3083bcabdd86
Notes (review):
Code-Review+2: Ian Wienand <iwienand@redhat.com>
Workflow+1: Ian Wienand <iwienand@redhat.com>
Verified+2: Zuul
Submitted-by: Zuul
Submitted-at: Wed, 09 Jan 2019 03:34:08 +0000
Reviewed-on: https://review.openstack.org/619119
Project: openstack/diskimage-builder
Branch: refs/heads/master
|
|
There's a few things going on here
Firstly, we need to install coverage tool in test-requirements
Secondly, .testr.conf has to use PYTHON because the coverage report
works by resetting PYTHON='coverage run ...'
Thirdly, because we call ourselves diskimage-builder but the python
module is diskimage_builder that seems to confuse things. We need to
use "setup.py test" (note, that is different to "setup.py testr"!) to
use the PBR testr wrapper. That exposes a --coverage-package-name
argument that calls the coverage tool with the right argument.
With this I got a coverage report for our unit tests
Change-Id: I9012e18eb7d01bee035140e70afa76c47c27eb01
Notes (review):
Code-Review+2: Andreas Florath <andreas@florath.net>
Code-Review+2: Stephanie Miller <stephane@alum.mit.edu>
Workflow+1: Ian Wienand <iwienand@redhat.com>
Verified+2: Jenkins
Submitted-by: Jenkins
Submitted-at: Fri, 20 Jan 2017 00:13:31 +0000
Reviewed-on: https://review.openstack.org/421652
Project: openstack/diskimage-builder
Branch: refs/heads/master
|
|
A sanity check that cache-url does the right thing when presented
with the appropriate curl return codes. This change brings in the
test code for scripts from tripleo-image-elements, which needs to
be factored out into a place both projects can use it.
I'm stubbing out curl so we don't have a dep on curl in our unit
tests, and because I've seen some strange behavior out of curl in
the gate that caused random failures in this test.
Change-Id: I31e6b06b45415feec7285511d07e65eb78d0d045
Notes (review):
Verified+2: Jenkins
Code-Review+2: Ghe Rivero <ghe.rivero@gmail.com>
Code-Review+2: Tomas Sedovic <tomas@sedovic.cz>
Workflow+1: Ben Nemec <openstack@nemebean.com>
Code-Review+2: Jay Dobies <jason.dobies@redhat.com>
Submitted-by: Jenkins
Submitted-at: Thu, 02 Oct 2014 20:28:27 +0000
Reviewed-on: https://review.openstack.org/84493
Project: openstack/diskimage-builder
Branch: refs/heads/master
|
|
Change-Id: I182d8b5567732ecf3da69f580c3e4b6d6438ab6b
Notes (review):
Verified+2: Jenkins
Approved+1: Devananda van der Veen <devananda.vdv@gmail.com>
Code-Review+2: Devananda van der Veen <devananda.vdv@gmail.com>
Code-Review+2: Arata Notsu <notsu@virtualtech.jp>
Submitted-by: Jenkins
Submitted-at: Fri, 14 Dec 2012 07:26:34 +0000
Reviewed-on: https://review.openstack.org/18007
Project: stackforge/diskimage-builder
Branch: refs/heads/master
|