Commit Graph

33 Commits

Author SHA1 Message Date
Dmitry Tantsur e73786af90 Switch to image building jobs from ironic-python-agent-builder
Depends-On: https://review.opendev.org/678884
Change-Id: I50a9f9dc15f3a782aaf4b8c4096a418136f4ebd4
2019-08-28 19:47:22 +02:00
Dmitry Tantsur e446a5e6c4 Remove support for CoreOS images
Change-Id: Id9737067c678d4d01b20eae0b4a681c6cf9171a8
2019-08-28 19:46:37 +02:00
Dmitry Tantsur b4f391da53 CI: do not install IPA-builder as editable
We need to be able to find the DIB element in /usr/share, using editable
installation will prevent it.

Change-Id: I99e4b874e8429fc559a3fbfa22a6c5359e0ea081
2019-08-26 13:57:34 +02:00
Dmitry Tantsur 9226263ccb Correct building DIB images in the CI
* Install bindep from diskimage-builder in the DIB image job
* Switch to using ironic-python-agent-builder script
* Include distribution and branch name into target file names
* Place resulting files into correct directories
* Switch the distribution to centos7 since ubuntu seems to require
  additional configuration
* Add dhcp-all-interfaces, otherwise the image won't DHCP

Change-Id: I3f95323fa59bde4d4be6ff356e5e9f20b7cd453c
2019-08-23 10:20:02 +02:00
nishagbkar f0a6b2005c Updates the dib element of ironic-python-agent-buildimage file
Updates the run command for building ironic-python-agent-ramdisk
using dib element in ironic-python-agent-builder

Change-Id: I1ec11effc5a232b7f0f4851527b0cc7d00a11a4e
Task: 36324
Story: 2005114
2019-08-22 02:05:53 +05:30
nishagbkar 0f1fc91e29 Installs diskimage-builder to pass the DIB image building test
Installs diskimage-builder to pass the
ironic-python-agent-buildimage-dib test for jobs using
DIB image building

Change-Id: I7be1ec3d70c59bb6bede1099e3d76fc007d8a02e
Task: 36271
Story: 2005114
2019-08-13 17:10:46 +05:30
Nisha Brahmankar f5e6ac5095 Implements OpenStack CI job having DIB-built IPA
Implements DIB-built IPA. Also adds a corresponding zuul test.

Change-Id: Iabfde30f35af172610777f55d986d1ec2debb415
Task: #29752
Story: #2005114
2019-08-08 00:04:28 +05:30
Dmitry Tantsur 248a4ccda5 Repair building tinyipa images after the move to ipa-builder
Change-Id: Ie74e75a67ddb7012f41e8f6076a70610b5e1aa6e
2019-08-01 15:15:50 +02:00
Dmitry Tantsur e1b630dd84 CI: stop using pyghmi from git master
Change-Id: I855e6e02a33bcf146497089319445d76652f0691
2019-07-30 10:34:08 +02:00
OpenDev Sysadmins ba7d273986 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:48:56 +00:00
Ian Wienand b7cfa917b5 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I93df04e0b97e6d71218f881cf0c06ee676aa3690
2019-03-24 20:33:54 +00:00
Iury Gregory Melo Ferreira 37fce96531 Replace ZUUL_REFNAME for zuul.branch
Replace `ZUUL_REFNAME` in favor of `zuul.branch` to get the correct
branch name when building images.

Change-Id: I6fe33b2f17c742d57d19985169cd9800007b5768
2019-03-05 14:12:43 +01:00
Dmitry Tantsur dd300fe49e Run the imagebuild post playbook on all hosts
The "primary" host is an artifact of legacy playbooks. It does not exist
in new zuul v3 jobs, and thus the publish does not happen. We probably
need to rework the whole job again one day, but for now use hosts:all.

Change-Id: I398e3b2b36795c7773afc27ead08d70eee0069ed
2019-03-01 18:57:50 +01:00
Iury Gregory Melo Ferreira 5b6bf0b6c8 Update path for publish jobs
- Use `src/git.openstack.org/openstack/<project>` instead of
`src/<project>`

Change-Id: Idd92d33e82abc9d4946c71e45f68e9e1713a0b95
2019-03-01 14:53:38 +01:00
Iury Gregory Melo Ferreira 884e79ae83 Move to zuulv3
Depends-On: https://review.openstack.org/#/c/630100/
Change-Id: I69edcd2c0356bc1577e2a5974b004585b37469ca
2019-02-08 11:49:49 +01:00
Iury Gregory Melo Ferreira cf1127e03c Moving publish jobs to zuulv3
Moving IPA coreos and tinyipa publish jobs to zuulv3

Change-Id: I30c39d309ff065ed51726d0360086b0e740a2c2c
2019-01-18 15:08:13 +01:00
Julia Kreger 86d98666d7 zuul-ify primary IPA jobs
Change-Id: I13312560389f8b1298dd62cedd654fb8f66d3dfe
2018-11-26 17:32:28 +00:00
Julia Kreger a637626803 Change nic driver to e1000 for CoreOS jobs
This change was created after observing a number of the CoreOS
IPA build/test jobs were exhibiting a high failure rate with
the virt-nic.

Similar to the issues recently addressed in ironic's grenade
job, lets explicitly set the NIC to e1000 as that seems to be
more reliable for the CoreOS jobs.

Change-Id: I6365fe138d1b1ddc98a49f1a1da0b82d77678599
2018-10-01 13:15:28 -07:00
Julia Kreger bafbf5345f Reduce CoreOS CPU count to 1
It seems nested virt, while much faster, likes to crash due to
what appears to be a SMP issue. So lets try one CPU.

Change-Id: Ibbfd168844524d91927bdd6e67d973e0bd519bf2
2018-06-28 06:19:02 -07:00
Julia Kreger 5c94cc434c Enable Auto VM engine for CoreOS CI jobs
The CoreOS ramdisk can take anywhere from 300-500 seconds to
startup depending on the size of the image and the underlying
hypervisor performance.

Given this time window, it is easy to cause the CI job to
timeout. Lets let the VM engine be chosen to use KVM if
available.

Change-Id: Ie4e096ccd71a3667fea34731cd5268b56e3cd2b9
2018-06-27 14:53:44 -07:00
Julia Kreger fa4bb8f690 Cleanup CI jobs for IPA
Renamed jobs to more appropriate names, and extended
base timouts, as well as the build timeouts for coreos
as the image we work with today is a little larger
than it was previously.

Change-Id: I2884ba795bae689b40826b8c7e2714e3eb5811fb
Depends-On: I139679db835b7a87c55f69a4d807ff8ec9099e3a
2018-06-26 11:21:48 +00:00
Dmitry Tantsur cc40eb9acd Do not run functional (API) tests in the CI
These tests exercise Ironic API with the fake driver, thus they provide
no coverage for IPA and can be excluded.

Change-Id: I02eb41b112f1da413178cbdc5834d2904e9d26e9
2018-05-11 10:25:41 +00:00
Julia Kreger 3164053f08 Fix gate and bump CoreOS version to latest stable.
Increases the amount of ram for CoreOS IPA to 2GB
as the base CoreOS image is now 310MB.

Bumped CPU count for CoreOS runs to 2 CPUs as the
concurrency helps boot times for the CoreOS ramdisk.

Adds netbase, udev, and open-iscsi to debian jessie container
as they are no longer present in the default container.

Explicitly set path variable for execution in the debian
container as udevadm is in /sbin, and we may not have
/sbin on the path that is passed through to the
chroot.

Also fixed new pep8 test failures.

Story: #1600228
Task: #16287
Change-Id: I488445dfd261b7bca322a0be7b4d8ca6105750a3
2018-05-10 15:50:05 -07:00
Paul Belanger ec9369b167
Stop using slave_scripts/install-distro-packages.sh
Migrate the legacy job to start using our bindep role from zuul-jobs.
This will allow openstack-infra to delete
slave_scripts/install-distro-packages.sh in the future.

Change-Id: If4a5b5c1d85e1491c1544378479c0fc82ad2af03
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-20 15:20:22 -04:00
Dmitry Tantsur e08726142e Switch the CI to hardware types and clean up playbooks
This change modifies the playbooks to use the 'ipmi' hardware type.
It also removes redundant conditions. The job names are not changed
to simplify the patch.

Change-Id: Ie7609ab4cceb5c01806a7a0728a4087f790a590e
2018-03-15 16:15:50 +01:00
Zuul 20a36e1695 Merge "Use 'functional' tox environment" 2017-12-20 20:37:32 +00:00
Ruby Loo 64b663719a Use 'functional' tox environment
Rename 'func' to 'functional' tox environment and replace custom
legacy func job with cross-project 'openstack-tox-functional' job.

Change-Id: I2a774a0a9870163457d1e7bc9c2976a9680ace01
2017-12-20 12:20:13 -05:00
John L. Villalovos 2131d93b57 Use the tempest plugin from openstack/ironic-tempest-plugin
Use the tempest plugin from openstack/ironic-tempest-plugin as we
have moved the tempest code there. Soon the tempest code will be
deleted from openstack/ironic.

Change-Id: I8e91d3ca6dd34f8e959c5f6b1e6f07b1a04080b3
2017-12-14 10:08:43 -08:00
Vasyl Saienko c96d7d32aa Fix post upload images task
After migration to zuulv3/ansible upgrade post upload task start
uploading files into UPLOAD_TAR and UPLOAD_RAW directories.

This patch fixes post task to keep correct directory structure
on destination host.

Change-Id: I0e50170977841bddf3e257fe409c8eccb99dc833
2017-10-26 20:52:27 +03:00
Vasyl Saienko e1475e03b1 Ensure dst subfolder exists in post build jobs
We ensure that parent directory exists while trying to sync into
subdir, as result post job failed.
This patch ensures we created subdirectory where we will sync files
before sync.

Change-Id: I85ad8d6d719d0115c869a11cac3233ef203de1be
Closes-Bug: #1727652
2017-10-26 13:41:21 +03:00
Vasyl Saienko 8bf0629749 Update tiny-instance image to contain branch name
With this patch branch is added to tiny-instance image name.

Also fixed a problem with BRANCH_PATH was set to refs/heads/master
after migration to zuulv3

Change-Id: I490e2d51a7c3fbc2cc0fa78a95b984874ab934f7
2017-10-25 14:47:11 +00:00
Vasyl Saienko 43ee4820e7 Publish tiny-instance-uec image
This patch publish tiny-instance-uec archive to tarballs.openstack.org

Change-Id: I391ad92bedc10ddfd24676e9fba13437612ca484
Related-Bug: #1657077
2017-10-24 11:17:52 -07:00
Vasyl Saienko e9c845553b Move legacy jobs into tree
This patch moves the legacy ironic-python-agent CI jobs into the
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: I7f98258589954639fa8187a3fec4a0b9da05915d
2017-10-24 10:48:43 +00:00