Commit Graph

26 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 611fb2bf4c Deprecate OpenStack-Ansible nspawn repositories
Since nspawn support has been removed with [1] we now
start repositories deprecation process.

[1] https://review.opendev.org/c/openstack/openstack-ansible/+/782569

Depends-On: https://review.opendev.org/c/openstack/project-config/+/797723
Change-Id: I113f0f2b5befc4bca830c130d7f60e621c86798e
2021-06-23 17:22:41 +00:00
Jonathan Rosser 66af0f69c9 Add CI jobs for ubuntu focal
Focal jobs are initially non voting as similar changes must merge into
nspawn_container_create and the dependancy is circular.

Change-Id: I58f8779bf76dd848cd477399c635093e31fba7d1
2020-10-05 11:39:07 +00:00
Jonathan Rosser d591b0ddb9 Fix CI jobs
Remove centos-7 job
Mark centos-8 as non-voting
Rename ubuntu vars file to cover focal and bionic
Add functional jobs to gate as well as check
Fix linter errors

Change-Id: Iacdcda303d483617c6e94b815e2c5c1d65145f0d
2020-10-05 11:04:02 +00:00
Jonathan Rosser 9bd110035b Return cross repo jobs to voting
Circular dependancies between nspawn_hosts and nspawn_container_create
should be fixed now.

Depends-On: https://review.opendev.org/728945
Change-Id: Ia2d261295df930bb91a651734d14336b9d3c9887
2020-05-20 11:16:17 +00:00
Jonathan Rosser 2645f180aa Ensure /tmp is writeable during cache preparation
This is necessary to ensure it is possible for apt to write to /tmp
when accessing the container image as a chroot during cache prep.

In addition fix up cross-repo zuul jobs to be in line with the rest of OSA
by dropping the Suse job and switching debian stable(stretch) for buster.

Temporarily make the cross-repo jobs non-voting to break a circular
dependancy between fixes in nspawn_hosts and nspawn_container_create.

Depends-On: https://review.opendev.org/728995
Change-Id: I8c6034f49600b9f1f431eb2a7c02ae567ea6d32c
2020-05-19 10:58:05 +00:00
Andreas Jaeger 3e81eb747b Update openSUSE job
openSUSE 42.3 is dead, switch to 15 instead.

Make the job non-voting for now.

Change-Id: I037456e6444d0ce83293157e0f1e257ff496b1b6
2019-08-19 20:55:43 +02:00
Dmitriy Rabotyagov 881ce9756a Drop support for Ubuntu Xenial
Change-Id: Ia93aa66438b84a8c8a4f8ddaaab3d94952d387bf
2019-07-19 12:05:37 +03:00
Zuul a4629e2198 Merge "missing document start "---"" 2019-04-24 19:19:43 +00:00
Guilherme Steinmüller 75a53d4768 debian: switch nspawn debian job to voting
Depends-On: I310557ba51cb29bfe9061603bb5bbe9912a57a98

Change-Id: I3a22632f33b8eb898846479bb4d0d91940eac25b
2019-04-13 17:21:08 +00:00
Guilherme Steinmüller 29bd1ed281 debian: add support
This patch adds the Debian jobs for this role to make sure
it's always passing as well as updates the meta and creates
debian.yml var file to reflect it's support of Debian accordingly.

Change-Id: I2653aea2aebc95bfc67fe49bc66fb68a4f996170
2019-04-12 20:49:56 +00:00
wangyayan d67a9e80ac missing document start "---"
Change-Id: If8e07489dad065cf5204378eb1a68c40692b6afb
2018-10-30 15:52:19 +08:00
Mohammed Naser b2add64623 Switch container create jobs to voting
This role touches and affects the creation of containers and their
networking therefore we need to make sure that our jobs are voting
for container create to catch issues.

Change-Id: I23b30639c0f65ed2ad70fe0d84a18b7cd4a3cb57
2018-10-09 02:05:35 +02:00
huang.zhiping f64b1229c7 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I0a9ccd4f029aa7faf4cd452468b4cfa3b9a50707
Story: #2002586
Task: #24319
2018-08-21 13:21:49 +00:00
huang.zhiping fe18b30965 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I91de4b08a4a191da57c29b47d3f3039c64d39f1b
Story: #2002586
Task: #24319
2018-08-21 12:53:31 +00:00
Kevin Carter d35a7c99cb
Ensure development libs are installed in containers
These development libs are required by some services to build and
start. This change adds the dev libs to the base image, which mirrors
the base lxc image .

Change-Id: If359aefbe5dfd57347e55465b8a7f990801501a5
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-08-18 18:00:54 -05:00
Kevin Carter 209b7e3b52
Ensure libpython is included in base container builds
the python libs are required to start uwsgi services and because the
container images are so minimal the basic libs need to be installed.

Change-Id: I01cf4222c27bda3945d506fbc31a68bc717d480e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-08-18 02:43:13 -05:00
Heba Naser d4168c9be0 Switch to using project-templates
In order to have more centralized configuration, switch the role to use the project-template instead.

Change-Id: I7fae5a7e9c8015482a9166c17817dbfaf719b414
2018-06-25 22:01:18 +00:00
Kevin Carter cfb3f9e7cd
Set container create tasks to non-voting/fix pkg
There are some inter-dependencies here where the container tasks will
not pass until a few updates are in both here and elsewhere. This change
sets the container create tasks to non-voting until all of the required
updates get in.

Remove the aria2 requirement

While aria2 has some nice features, the get_url command can do most of
what we need and does so in a far more universal way. This change
removes the aria2 dependency and updates the aria2 tasks to use the
get_url module.

Change-Id: Iab422c718d789ef13b8ec55938fdb7e73e40061b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-06-21 00:56:33 -05:00
Kevin Carter a043f9206e
Enable cross repo testing
Change-Id: Ia17ecdd31786b2dd417509b5b1e57e76252ccc48
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-18 09:42:00 -05:00
Kevin Carter ad6ebf3b3a add container tests with the host role
Depends-On: I732766c759d72783ff4680733de7ab9f50125e81
Change-Id: I3a4d15c6c85bb675770f918c24830457e1e206af
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-18 03:53:15 +00:00
Jean-Philippe Evrard f1e63b335f Add voting jobs for bionic
Make sure bionic deploys just fine forever!

Change-Id: I6ac67a6b19e3b3b5816c4e7ffa9db58661e759b4
2018-05-15 10:12:48 +02:00
Jean-Philippe Evrard 488a7ca5d2 Add Bionic testing
Now that bionic testing is added into the tests repos, we can
start testing it in the repo.

Depends-On: https://review.openstack.org/#/c/566959/
Change-Id: I669204cce8c671ae14a9758fee29c8ff58d29e73
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-14 19:34:17 +00:00
Kevin Carter 50d7cc82c5
Update nspawn hosts
Use the common roles throught this role to remove all of the boilerplate
code we had. The common modules do most of the heavy lifing.

Update to fix the resolve.conf issue with the image cache prep.

Add legacy image support and use smaller upstream images by default.

Now that suse supports systemd-networkd we can enable suse support in
nspawn.

Change-Id: I5f6ceb928f5c0902adf2e34f96a5998840400777
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-13 14:28:16 -05:00
Kevin Carter 942531a8d8
add minimal functional tests
Change-Id: Ie76759e6c162270fd3e767d4719b885b57a7539b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-02-23 11:45:59 -06:00
Jean-Philippe Evrard 46401ea520 Remove zuul.d bad jobs
Remove the jobs that break zuul.

Change-Id: I7c346ea27ba929ceebad9a5e58d5bbd7697274f6
2018-02-21 20:00:41 +00:00
Kevin Carter e97c013f67
First commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-02-08 11:39:40 -06:00