aboutsummaryrefslogtreecommitdiff
path: root/tests/test_build.py
AgeCommit message (Collapse)AuthorFilesLines
2016-01-18Add manila container (source only)Marc Koderer1-1/+2
Support manila as container. First step only supports building from source. Change-Id: I60bb67536c9afdb9f0532b3cdc2c400a68608003 Partially-Implements: blueprint enable-manila-containers
2016-01-13Add py27 py34 pypy unittestJeffrey Zhang1-0/+4
Change-Id: Iaf58463bd156924839062b8284a2d7151a153db5
2015-12-31Merge "Make the logging more safe"Jenkins1-4/+4
2015-12-30Make the logging more safeJeffrey Zhang1-4/+4
TrivialFix Change-Id: I72c541c1846e503486b402e88d5b29364920fc83
2015-12-28Added dockerfiles for mistral.hparekh1-1/+2
Change-Id: Ie74a91dccf654da9305722d14af2f0a893dbaaff Partially-implements: blueprint enable-mistral-container
2015-11-16Add Python 3.x supportMichal Rostecki1-1/+2
Implements: blueprint python3 Change-Id: I1e02568907aa38dd0efcb428235004ce47d73af8
2015-10-23Update the super function nameSam Yaple1-3/+3
Change-Id: Ifeefe3c146e6b5e118956024c769e71b2e506a5b Partially-Implements: blueprint functional-testing-gate
2015-10-20In gate functional testingSam Yaple1-2/+25
This runs the ansible playbooks to completion. It does not validate that OpenStack is working yet, but it will ensure Ansible did not break. Additional gates will be needed for this and there is a patch in project-config to handle that. Change-Id: I7a24a704023cc8f19d42844636e9cb512060f693 backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-09-28Add Ansible support for IronicJeff Peeler1-1/+3
Configuration based off upstream documentation here: http://docs.openstack.org/developer/ironic/deploy/install-guide.html A few notes: -ironic-api is not configured to use mod_wsgi -several places it's noted that discoverd is going away and needs to be replaced with ironic-inspector - (sqlite connection should be changed too) -currently enabling ironic reconfigures nova compute (driver and scheduler) as well as changes neutron network settings -a nice enhancement would be to configure the web console Required post-deployment configuration: Create the flat network to launch the instances: neutron net-create --tenant-id $TENANT_ID sharednet1 --shared \ --provider:network_type flat --provider:physical_network physnet1 neutron subnet-create sharednet1 $NETWORK_CIDR --name $SUBNET_NAME \ --ip-version=4 --gateway=$GATEWAY_IP --allocation-pool \ start=$START_IP,end=$END_IP --enable-dhcp And then the above ID is used to set cleaning_network_uuid in the neutron section of ironic.conf. Change-Id: I572e7ff1f23c4e57a2c50817cafe9269fd9950dd Implements: blueprint ironic-container
2015-08-29Remove deprecated --template option from gatingSteven Dake1-24/+7
The template option is deprecated and --template is now default. Also rename the tox jobs test calls since we won't have Docker build operations. Change-Id: I99df9c337680003e042e7e56a19d6cae2a59ed74 Partially-Implements: blueprint gate-source-builds
2015-08-28Start of removal of docker directorySteven Dake1-2/+2
Start off the removal of the docker directory by making the gate only run against docker templates. The idea is we are going to from this patch set forward completely abandon the functioning of the docker directory and focus on making templates work properly. In order to facilitate that, this patch set makes sure each change gates properly for the changed service in the Templates build. Note because git review and gerrit can't keep history on removal followed by a git move operation, we first git rm the files affected then git mv them to get the gate working again. Every other patch in this patch set will fail the gate. That is expected behavior. Change-Id: I1be2e2638aef4ada038bfe5f3dd563f040542df2
2015-08-27Remove tiered building in build.pySam Yaple1-8/+5
Many tiers have been shed over this issue and frankly enough is enough on this tiering thing, it's tiering us apart! Now we use threading a bit better as well. No more tiers! Puns very much intended. Additionally, this refactors the function names to make inc0 happier and be consistent. We also modify the test_build.py to catch the new statuses introduced by the regex patch. Then we remove the Ubuntu Source from the Docker folder test as that will never ever be functional. Also fixed regex to properly match true regex expressions. Co-Authored-By: Michal Jastrzebski (inc0) <michal.jastrzebski@intel.com> Change-Id: I650fd6af76eddb809756762222e66aefd6fc1dca Partially-Implements: blueprint build-script
2015-08-24Make Kolla installable via PIPSuhail Syed1-1/+1
Install Ansible code, etc file examples, scripts, an open rc example, a tool to initialize the OpenStack deployment, and other various useful bits. Start the versioning at 0.1.0 as recommended by ttx. Change-Id: I35fa4042040957e7725c7fc3b146009e0135499a Partially-Implements: blueprint python-package
2015-08-21Merge "Prepare for gating by distro, type, docker type"Jenkins1-10/+25
2015-08-19Remove barbicanSam Yaple1-2/+1
Barbican has never worked properly Change-Id: Ifd0b74adf5afea321508376ad46ac3ddef0b5b89 Closes-Bug: #1486249
2015-08-18Prepare for gating by distro, type, docker typeSteven Dake1-10/+25
We will gate on all combos of: /docker /docker_templates Centos Ubuntu Binary Source Except for Ubuntu + Binary because there is no delorean style repository for Ubuntu. Change-Id: Ic1ed8c22c2f86ff339299939da9ac492a7c7c5f5 Partially-Impelements: blueprint gate-source-builds
2015-08-14Use inheritance for overriding of builder argsJeff Peeler1-3/+34
This establishes a pattern for adding any number of combinations for the new build script to use. Each individual test class may be called separately to only do builds of a select type. An example testr command looks like: testr run '^(test_build.BuildTestCentosBinary)' or even more simply testr run test_build.BuildTestCentosBinary Change-Id: I828a8c9c36a771bd5ad23e0dee6dffe3e94067e1 Paritally-Implements: blueprint gate-source-builds
2015-08-12Add new test script for parallel buildsJeff Peeler1-0/+59
This adds a new test script for the new python based build script. A new tox target has been created to execute it for usage in the gate. Eventually, the other build script stuff can be deleted, but that won't be done until full functionality exists in the new build.py. Change-Id: Id9dd19926b1b9d875dcb069fd13d6450318374c8 Paritally-Implements: blueprint build-script