summaryrefslogtreecommitdiff
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
...
* | Move API (functional) tests to separate jobsDmitry Tantsur2018-04-2710-8/+243
|/ | | | | | | | It becomes increasingly harder to maintain functional tests using the fake hardware type and integration tests in the same jobs. This change creates two new jobs (for Python 2 and Python 3) and makes API tests run only in them. Change-Id: I3570323b22d8d4f19635f26733b3ae92bd0c661d
* Merge "Gate: run ironic tests in the regular multinode job"Zuul2018-03-281-0/+4
|\
| * Gate: run ironic tests in the regular multinode jobDmitry Tantsur2018-03-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't specify any regex for this job, so it runs some tests. They only include test_network_basic_ops, which does not check that multitenancy is in effect. We have a test for it in ironic-tempest-plugin, but it does not run anywhere. There is a neutron test for the same, but it's not a smoke test and it has been skipped for quite some time. This change switches this job to the run the following tests: * all ironic tests (that are not skipped for any reason) * multinode tests from Nova Unfortunately, this patch uncovers that we don't run any tests for network attach/detach in practice. The devstack plugin has to be updated first to support more than one port per node. A TODO is left in the playbook. Change-Id: I46d94c29f858977604c0a3430257eca2bee977e3
* | Merge "Stop running standalone tests for classic drivers"Zuul2018-03-211-3/+1
|\ \
| * | Stop running standalone tests for classic driversDmitry Tantsur2018-02-131-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | They are pending removal this cycle anyway. Removing them will free up CI resources for more standalone tests in the near future. Depends-On: I90f8b42113d6621c7af644fdb4c76d5f3dde318e Change-Id: Icdcc4f0ddd336cc44dbfabc2b1a3c21b3c270803
* | | Gate: stop setting IRONIC_ENABLED_INSPECT_INTEFACES=inspectorDmitry Tantsur2018-03-161-2/+0
| |/ |/| | | | | | | | | | | | | First, this is already handled by the ironic-inspector devstack plugin. Second, this list does not include the fake implementation, and since we enabled fake-hardware, the conductor no longer starts. Change-Id: I705ec9d03d33623bd908e1a48f428062041b5d89
* | Merge "Use node traits during upgrade"Zuul2018-03-132-6/+0
|\ \
| * | Use node traits during upgradeMark Goddard2018-03-122-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that the queens branch has support for node traits in the devstack plugin [1], we can apply node traits when testing upgrades from queens or later. [1] https://review.openstack.org/551938 Change-Id: I99b9487d849ecd5241657d6ca91c2e9f9f7dfcf8 Related-Bug: #1722194 Related-Bug: #1750027
* | | zuul: Remove duplicated TEMPEST_PLUGIN entryJohn L. Villalovos2018-03-121-3/+0
|/ / | | | | | | | | | | | | We don't need to have two TEMPEST_PLUGINS entry of the same value of /opt/stack/new/ironic-tempest-plugin. One is enough. Change-Id: I9527b0da0dae1552a320e5257d6f36f9d9446906
* | Register traits on nodes in devstackMark Goddard2018-02-232-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds support for assiging traits to nodes in the ironic devstack plugin. The set of traits added is configured by IRONIC_DEFAULT_TRAITS, which defaults to a single trait - CUSTOM_GOLD Using nodes with traits during testing ensures that we are exercising node traits code paths in the Ironic CI. Node traits are not used for upgrade testing, as the queens devstack plugin does not currently register traits. Once this change is backported to queens, we can enable traits during upgrade testing. Change-Id: I18b9dbf8a5b16e36e0cc14f290b12ffdd634364a Related-Bug: #1722194 Related-Bug: #1750027
* | Merge "Clean up CI playbooks"Zuul2018-02-2213-611/+71
|\ \ | |/
| * Clean up CI playbooksDmitry Tantsur2018-02-1213-611/+71
| | | | | | | | | | | | | | | | | | | | The job scripts are purged of shell conditions that are never true and variables that no longer have effect. The resourceclasses job is removed completely, as all jobs now run with resource classes. Change-Id: I66a5e4f5f7214bcf9aeab8ee8d46a323610ff333
* | Disable .pyc files for grenade multinodeJulia Kreger2018-02-201-0/+29
|/ | | | | | | | | | | | | | | | | | | | | | | Ironic's grenade multinode suffers from some of unique issues. * Nova can never be upgraded as there is a static pin that increments higher. As such, newer nova can never run with older ironic. * As Nova cannot be upgraded, it is left running throughout the test sequence. The above two conditions result in possible breaking package upgrades as the python environments are shared between the old and new installations. In order to better isolate the running processes, as would be in most actual production environments, we need to minimize underlying inter-reactions due to python library upgrades. Credit goes to Jim Rollenhagen for coming up with this idea, once the massive conundrum was fully explained. Thanks Jim! Partial-Bug: #1744139 Change-Id: Ifdd119d9cdde2ead6c3e36862cc77da67d10f7d1
* Revert grenade jobs to classic driversSam Betts2018-02-072-5/+17
| | | | | | | | | | This reverts the grenade job driver changes from commit fa850c80cbc701f1252dabcd3f514bca0148f54d. Local config settings in the grenade jobs are used for the previous version (old) devstack plugin in the grenade run. So the local config defined here must match how we want the old devstack setup, not the current (new) devstack. Change-Id: I3d5aa1da6879a0c624b5196632886da32e12d7d7
* Use zuul.override_checkout instead of custom branch_override varSam Betts2018-02-0516-17/+17
| | | | | | | | | | To override the branch correctly in both zuulv3's playbook loading we have to use override_checkout in the job. This variable already gives us the information we need to set the override branch, so use that instead of the custom branch_override variable so we don't have to define it twice in the job. Change-Id: Iec7be918f75e3400197748385b287fb945d761ac
* Merge "Switch the CI to hardware types"Zuul2018-01-3114-150/+51
|\
| * Switch the CI to hardware typesDmitry Tantsur2018-01-2414-150/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that the job names are not changed to reduce the diff of this patch. They will be renamed in later changes. For the direct deploy, copy Swift temporary URL configuration from devstack-gate (it hardcoded agent_* there). Also clean up no-op conditions on drivers left from the times when the job definitions were parametrized. Change-Id: Ib0297f8936bba9449a02fb1a878981ab55687ef9 Partial-Bug: #1690185
* | Be more sane about cleaningJulia Kreger2018-01-242-0/+2
|/ | | | | | | | | | | | | | | Seems that by default we now run cleaning on all jobs. However, this is extremely wasteful and time consuming. Also, if a cloud is IO resource constrained, it can result in jobs failing erroneously due to unpredictable IO performance, particularly with the multinode jobs. As such, slightly extend the wait timeout before we fail for nodes not being ready, and flag multinode jobs not to run cleaning. Change-Id: I12011743fa197caef08a3d6d1297d662dfa7640a
* Setup ansible interface in devstackPavlo Shchelokovskyy2018-01-151-0/+8
| | | | | | | | | | | | | | | | | | - enable ansible deploy interface - install Ansible version from driver-requirements.txt - generate private SSH key to use by Ansible (if absent) - add the public ssh key to the tinyipa image during (re)build By default nodes are not enrolled with it, as they will be assigned this driver/interface in standalone tests. For local development, nodes can be enrolled by setting IRONIC_DEFAULT_DEPLOY_INTERFACE=ansible in local.conf and enabling 'ansible' deploy interface in the IRONIC_ENABLED_DEPLOY_INTERFACES variable. Change-Id: I12c1727c3ded13c381852334cb54e5e976154e98
* zuul: Update TLSPROXY based on branchJohn L. Villalovos2017-12-2213-13/+13
| | | | | | | | | | | We can not use DEVSTACK_GATE_TLSPROXY=1 when building stable/ocata. Update it to not set it if we have BRANCH_OVERRIDE or the ZUUL_BRANCH set to stable/ocata. This will allow us to build stable/ocata from the openstack/ironic-tempest-plugin gate jobs. Change-Id: Id487b997a9d83c5daf2f9284a4e80e1f90fe6ce2
* zuul: Add ability to specify a 'branch_override' valueJohn L. Villalovos2017-12-2016-16/+16
| | | | | | | | | To be able to run a job on a different branch add the ability to specify a 'branch_override' value. We will use this in the openstack/ironic-tempest-plugin testing to be able to check changes against our stable branches. Change-Id: I939ab8c410b39658b4209a41a91c3339802d134b
* zuul: Remove some redundancy by consolidating the 'post.yaml' filesJohn L. Villalovos2017-12-2016-210/+0
| | | | | | | All the 'post.yaml' files are identical. Put them in the two parent jobs so we only have two copies instead of ~14 copies. Change-Id: Ic8e519d597ec8423ad1040b4f4671fae0662f2db
* Use the tempest plugin from openstack/ironic-tempest-pluginJohn L. Villalovos2017-12-1414-146/+43
| | | | | | | | | Follow-on patch will delete the openstack/ironic/ironic_tempest_plugin/ directory. But this will need to be done after this patch has been backported to the stable branches, otherwise the stable branches will break. Change-Id: I31bb088679ea122efaa91d362e613edb74c14254
* Fix image type for partition-pxe_ipmitool-tinyipa-python3 jobVasyl Saienko2017-11-151-7/+2
| | | | | | | | partition-pxe_ipmitool-tinyipa-python3 was always launched on wholedisk image while according to name it should be partition. This patch fixes it. Change-Id: Ic52d5943cc951f48dc678ad36a2e09fd916a3cad
* project.yaml: Remove 'branches:' & jobs that don't run on masterJohn L. Villalovos2017-11-068-714/+0
| | | | | | | | | | | | Remove jobs which are not running on master based on their 'branches:' specification. Remove the 'branches:' specification on all jobs. Also remove the jobs from zuul.d/legacy-ironic-jobs.yaml and corresponding files in playbooks/legacy/ Change-Id: I8e068fa30feb98c32a8caa6b106a02cf3280b195
* Move ironic legacy jobs into the ironic treeSam Betts2017-10-1840-0/+3421
This patch moves the legacy ironic CI jobs into the ironic tree instead of storing them in openstack-infra/openstack-zuul-jobs to give us control as we migrate the legacy jobs to the new ansible roles. Change-Id: Ib728fadbdab2eb9f1ba5112297a32dbdbfd1d5fd