Riccardo Pittau
f234b87bbb
Add linters job
...
Fix lint errors to unblock CI
Change-Id: I02c1d7cc9f2f91e76d1b3edbc340df7ea83d2902
2022-07-12 10:05:31 +02:00
Julia Kreger
e0ed4d2dee
Rework jobs so failed devstack does not retry the job
...
Per clarkb, should any step in pre.yaml fail, zuul presently retries
the entire job up to the built in retry limit which cannot be changed
or disabled on a job basis. In the terms of setting up devstack, this
is not ideal as devstack is not perfect and can often fail for unrelated
reasons such as package mirrors being updated or even another project
or component failing to setup properly.
As such, in order to be good neighbors and minimize the amount of
time it takes to troubleshoot such issues, we need to move the
devstack setup into the main part of the CI job.
Change-Id: I08d6f3132ebc045ba7e2d1295efe39af7c57187c
2020-09-09 11:32:51 -07:00
Dmitry Tantsur
2d801e2526
Stop requiring root size for whole disk images
...
This requirement has been fixed in newer versions of ironic.
Change-Id: I4460755ee66b4aa0b8a651b6bd142c769d669ee2
2019-11-05 18:29:16 +01:00
zhulingjie
7b86d4cd34
use include_tasks instead of include
...
include is marked as deprecated since ansible 2.4[0]
Switch to include_tasks or import_playbook as necessary
[0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated
Change-Id: Id7acc3fe99f8901a374894be3afdf467b7fed131
2018-10-11 15:57:53 -04:00
jacky06
2eed13885a
Add the "---" into ansible yaml file
...
Change-Id: If4e684da58bffbe25d5bbed4dd4c56d0b5345114
Story: #2003783
Task: #26488
2018-09-16 01:41:07 -04:00
Dmitry Tantsur
fc85cb9230
Support partition HTTP images in CLI
...
Also removed some dead code from sources.
Change-Id: I570eda45285771068711ef90d22550632411e98f
Story: #2002048
Task: #26208
2018-09-12 10:13:33 +02:00
Dmitry Tantsur
2afd20938d
Support creating a swap partition
...
BREAKING: --root-disk-size => --root-size
Story: #2002171
Task: #20033
Change-Id: I5d6b38e1a9e71b608b40e140e34c4509b896a1ff
2018-09-10 17:00:41 +02:00
Dmitry Tantsur
d20424fb0e
Restore CI coverage for pre-created ports
...
Change-Id: Iedd14c1edadbe61036dceec273d579392bdda970
2018-09-07 11:51:02 +02:00
Dmitry Tantsur
6bdd479773
Support for HTTP image location
...
Story: #2002048
Task: #19695
Change-Id: I75f33ebca3ea65274dcfcd8f4ddbd193f34706a9
2018-09-07 10:04:38 +02:00
Dmitry Tantsur
84976ec77d
CI: split netboot (cirros) and localboot (centos) jobs
...
Change-Id: I363a3f60efaec52a7e0bd12c9145205447354a6f
2018-08-15 15:51:36 +02:00
Dmitry Tantsur
864459e219
CI: move CentOS image preparation into pre-run
...
Change-Id: I1243ad5c0cafd722d40d17e95cb7174ff3bafdf1
2018-07-06 11:32:16 +02:00
Dmitry Tantsur
8464fced77
ansible: explicit support for netboot, correct extra_args
...
Change-Id: Ibff5911f5a9777683cf86f7c654a58020796c00a
2018-06-12 09:34:31 +02:00
Dmitry Tantsur
9d14cc808c
CI: completely switch to CentOS images for testing
...
This involves unpacking the downloaded qcow2 to extract kernel/ramdisk.
The job timeout is increased since we're working with a bigger image.
Change-Id: Ia4d984b2675667ef6a28e6ce9e2f8284cdd64200
2018-05-23 15:18:53 +02:00
Dmitry Tantsur
8b6e176b95
CI: run a local boot test with the CentOS image
...
Change-Id: I5f726023a0ff956d2950acbe43dc37da0cb5fb5b
2018-05-20 18:37:18 +02:00
Dmitry Tantsur
2b6f60a6e7
CI: use find module to find an SSH public key
...
Also moves this logic to a reusable tasks file.
Change-Id: Ic12743adaf8ce9ac255197c380c0556608e1c961
2018-05-20 17:42:52 +02:00
Dmitry Tantsur
1037276d61
Allow attaching existing ports
...
Also fix cleaning up node.extra and undeployment.
Change-Id: Ic63b3663caea4eb9acd9d8f48008785dec2a62d3
2018-05-17 15:51:26 +02:00
Dmitry Tantsur
e8b6131505
Support whole-disk images
...
Change-Id: I5c92b073a576e33139034aa1d106d84f2f092385
Story: #2002047
Task: #19694
2018-05-16 19:36:17 +02:00
Dmitry Tantsur
87a053a5aa
Use openstack.config for arguments parsing
...
This change switches the CLI to use openstacksdk for populating
authentication arguments and creating a session. As a side effect,
using clouds.yaml is now supported and used in the CI.
Change-Id: If20ddc46f10d9deb34e595310313bd87e2e7243b
2018-05-16 13:37:29 +02:00
Dmitry Tantsur
92b968b68e
Add a simple integration test
...
Change-Id: If6ba9601657bcd7996e9ef6ba65b369945215d19
2018-05-16 12:30:14 +02:00