Commit Graph

24 Commits

Author SHA1 Message Date
Monty Taylor 355f7090a6 Remove zuul v2 and jjb content
It's migrated, it can be removed now.

Depends-On: I6a89752d74ed7424267c3af3937ad01fb4bb8f86
Change-Id: Id67d0149b645bd23e460cef65719541f76f0967b
2017-10-24 08:50:05 +02:00
Paul Belanger 983d110ba8 Remove opensuse-422 from jobs
Like we do for fedora, we only want to keep the latest opensuse image
in the gate. After talking with dirk, he is happy enough with
opensuse-423 that we can remove opensuse-422.

Jobs that were depending on opensuse-422 have been upgraded to
opensuse-423.

Change-Id: I921e0507694d4d39e61c4c822fc3235d7e97a128
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-08-09 11:37:04 -04:00
Dirk Mueller 4295261b3a Adding more openSUSE 42.3 variants to existing 42.2 jobs
In order to transition testing away from openSUSE 42.2 to 42.3
we need to add 42.3 jobs to all places that make use of 42.2.

Add 42.3 to bifrost.

Change-Id: If10f8658d4fef2a7c3056960d31afad3347d3a06
2017-07-26 08:35:48 +02:00
Andreas Jaeger ccb66e985c mitaka-eol: Remove unused jobs
bifrost and monasca do not need trusty jobs in zuul anymore, remove job
definitions.

Change-Id: I1468d89d0c264d3b967129ae2419df4cfb38e456
2017-07-06 08:39:57 +02:00
Markos Chandras 6802839589 jenkins: job: bifrost: Fix builder order on all jobs
This is similar to 8c8969c6af ("jenkinks: jobs: bifrost: Fix order of
builders"). Installing the distro packages using bindep should be
performed after the git repo has been prepared.

Fixes: 8c8969c6af ("jenkinks: jobs: bifrost: Fix order of builders").
Change-Id: Ifb35c600d09254fe994930150302afb28e1ef583
2017-06-23 12:03:03 +01:00
Markos Chandras 8c8969c6af jenkinks: jobs: bifrost: Fix order of builders
bifrost now has a bindep.txt file in the root of the repository
so we need to use 'zuul-git-prep-upper-constraints' before the
'install-distro-packages' one in order for our 'bindep.txt' file to
be used. This fixes the following problem on jobs where the bindep.txt
is not being used:

2017-06-22 16:05:46.680832 | + /usr/local/jenkins/slave_scripts/install-distro-packages.sh
2017-06-22 16:05:46.682662 | + export BINDEP=/usr/bindep-env/bin/bindep
2017-06-22 16:05:46.682699 | + BINDEP=/usr/bindep-env/bin/bindep
2017-06-22 16:05:46.682713 | + YUM=yum
2017-06-22 16:05:46.682723 | + is_fedora
2017-06-22 16:05:46.682738 | + '[' -f /usr/bin/yum ']'
2017-06-22 16:05:46.683312 | + grep -q -e Fedora
2017-06-22 16:05:46.683544 | + cat /etc/centos-release /etc/os-release /etc/redhat-release /etc/system-release
2017-06-22 16:05:46.684551 | + '[' -n '' ']'
2017-06-22 16:05:46.684587 | + '[' -e bindep.txt ']'
2017-06-22 16:05:46.684609 | + '[' -e other-requirements.txt ']'
2017-06-22 16:05:46.684638 | + export PACKAGES=/usr/local/jenkins/common_data/bindep-fallback.txt
2017-06-22 16:05:46.684686 | + PACKAGES=/usr/local/jenkins/common_data/bindep-fallback.txt

Change-Id: I5c780240f495f28f6cb325095c1a634c87eb06f8
2017-06-22 17:28:28 +01:00
Markos Chandras f05d1fbbf2 bifrost: Add experimental openSUSE 42.2 and CentOS 7 jobs
Right now, openSUSE and CentOS distributions are only being tested
via a 3rd party CI provided by OPNFV. However, that CI is testing
more complex scenarios than the existing jobs, so it will be useful
to add experimental jobs for these two distributions which can be
promoted to 'gates' in the future to have them properly tested.

Change-Id: I88c0c8878cb5bed48b624755c5730e48df858622
2017-06-07 09:01:25 +01:00
Julia Kreger 56b50a2241 Explicitly clone requirements for bifrost
Bifrost expects to be able to have a complete folder on
disk for accessing the upper-constraint data, as opposed
to the single file on disk. Retooling to capture/use the
the single file will create more alternate paths that must
be taken to perform the install and it seems less ideal
in a deployed environment where the git repository in whole
provides some confidence of and history of the file.

Since we don't explicitly clone our own copy in OpenStack CI
we will have zuul cloner grab a copy for us.

Change-Id: I64d1744c776c20d906a29e072602c1909853da25
2017-05-25 15:35:02 +00:00
Yolanda Robla ee4e6559bf Exporting UPPER_CONSTRAINTS_FILE on bifrost
bifrost has been updated to use this var, so exporting
the right env var here, to fix testing for stable
branches.

Change-Id: Idf6705e8fa3303979c40cbcb980b839c7602ab54
2017-03-31 12:08:29 +02:00
Yolanda Robla 09202bc808 Add prep upper constraints macro to bifrost jobs
Currently jobs are picking the upper constraints from
the /opt/stack/requirements repo, that is preinstalled and
uses the master branch. We need to properly clone requirements
per branch, and use them.

Change-Id: Ie8cef210b0a4b2fb1060bbcb8359d2d3525f34a0
2017-03-30 18:29:35 +02:00
Andreas Jaeger fcd4fde168 Remove mysql setup
bifrost sets up the mysql database itself, we can remove the setup from
project-config now.

Note that change I8485751eda745841c1436ecd766c9bb95446f407 has been
merged to all branches excpet mitaka since that branch is broken.

Proposal is to move forward without change in mitaka - and add it there
if critical changes need to go in.

Change-Id: I339d2a301a76ad34ea4bcbfb26c13a21ecd86b6f
2017-02-28 09:09:47 +01:00
Clark Boylan 6e2075d5fe Run bifrost integration jobs on Xenial
Part of the transition to Xenial. For changes to branches >= newton run
these jobs on Xenial. Changes to older branches continue to run on
Trusty.

Change-Id: I678132cc05156ff3795a5694a54044e72d236221
2016-12-06 09:37:46 -08:00
Oleksandr Berezovskyi 1521e0c481 Clone sources of ironic-inspector and ironic-inspector-client
Clone sources of ironic-inspector and ironic-inspector-client to
perform testing using inspector, installed from sources.

Change-Id: Ia587fce79b8ba4cd48df8c069c0645db832e9606
2016-08-31 13:16:24 -07:00
Julia Kreger 65e2e75a41 Rename bifrost integration test job
Bifrost recently changed from using a coreos based IPA image
to a tinyos IPA image in order to improve CI test performance
and reliability.  As such, the main integration test job should
be renamed to reflect the present state of the job.

Change-Id: Ib876e6e6b553a1ef44a26e96059e566d13bbc3a5
2016-08-16 08:09:56 -04:00
Paul Belanger 322d7e5dfb
Ensure console-log is our last publisher
This is related to zuulv25, we make sure console-log is the last
publisher to ensure zuul-launcher logs are also uploaded.

Change-Id: I1616b97fad2b97fb9e977ec14543aab4bc673b58
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-06-16 18:32:16 -05:00
Yolanda Robla 8a3302472e Start adding test for bifrost dhcp
Use the script that was created to test the dhcp settings
in bifrost, using static inventory. Initially add it as non-voting
job until we get successful results.

Change-Id: Ibaa2c298e8549c01a84eda16d187613925c85a4c
2016-03-15 12:54:15 +00:00
Andreas Jaeger 49645b7a45 Add database support for gate-bifrost-integration*
The job needs MySQL database access, set the DB up.

Change-Id: Ide57268416125858e5457d7793df133902d35c27
2016-03-14 13:13:40 +01:00
Andreas Jaeger 2739ee6c7f bifrost: Use ubuntu-trusty
Switch bifrost jobs to use ubuntu-trusty instead of bare-trusty.

Change-Id: I484cd176b982d462a80cda53f02623c43e2508c5
2016-03-09 20:29:26 +01:00
Jeremy Stanley 0af9b2c178 Get rid of precise||trusty job node declarations
Between the Icehouse and Juno releases, OpenStack changed its
supported Ubuntu LTS platform from Precise to Trusty. In support of
continuing testing stable/icehouse and prior branches on Precise
while starting to test newer branches on Trusty, a branch-based
decision tree was introduced into our Zuul configuration by way of
complex parameter functions with an ever growing list of regular
expression matches on job names.

Now that Icehouse is EOL (in fact, Juno is too) this simply adds
unnecessary complexity and an attractive nuisance for cargo-cult
copying into new job and job-template definitions which don't even
need it. In preparation to remove the associated parameter
functions, get rid of multiple labels in all jobs and set them to
whatever label Zuul would ultimately select.

This change touches a vast number, possibly a majority, of our jobs
and so manual jenkins-jobs updates on all Jenkins masters will be
needed after this merges, before it's safe to approve the
corresponding Zuul configuration cleanup.

Change-Id: Ic952ee02da2c77fe2ace81c4e2fa87531be6119c
2015-12-21 20:52:17 +00:00
Julia Kreger 397c48b947 Additional bifrost integration test job
Addition of a non-voting bifrost integration test that exercises
the code path utilized for image builds while building a diskimage-
builder based IPA image, along with a guest image to be booted,
which should draw it's network configuration via simple-init/glean.

This ultimately allows for an integrated test of:
* bifrost
* diskimage-builder
* ironic
* ironic-python-agent
* python-ironicclient
* shade
* simple-init/glean

Change-Id: Id9b4888fb20d5af163f14fe1f9136913f95a8a5f
2015-08-22 15:48:40 -04:00
Julia Kreger 94bc69df64 Update Bifrost Gate job name
Update the bifrost gate job name to clearly define the
scenario of the test, given that it is an integration
test utilizing CoreOS based IPA and cirros as the user
OS that is deployed to the test instance.

Change-Id: I09a8dc069557060d866b41395f49a5e6155c0127
2015-08-22 15:46:38 -04:00
Monty Taylor 53a08d354b Use zuul-cloner for bifrost jobs
bifrost does a bunch of things with multiple repos, but is currently
managing the cloning of them all internally. Get things set up to properly
use zuul-cloner to prep repo state.

This should be followed up with a bifrost patch to simply use the repos
that zuul-cloner prepares here.

Change-Id: Ied5c5287b79aadfd6660335d4c68182821e2d843
2015-08-03 13:42:40 -04:00
Julia Kreger 7ebaec15da Update bifrost job settings
Extending the bifrost job timeout since it is occasionally hitting
the timeout as well as adding preservation of logs.

Change-Id: I715e237853619fbd57d93bf3c7df663998c7a494
Depends-On: I8d686918649a69b8aab9e3c5d7faf3a79a42a4e8
Closes-Bug: 1459803
Closes-Bug: 1460052
2015-06-12 10:54:07 -04:00
Julia Kreger 6e689b12fc Add bifrost to OpenStack
Request to add bifrost repository and testing configuration.

Change-Id: I5c113058316f5a0d5069e3a21684a359f4203ddf
Depends-On: I2552803a1da44312a0e8879629036a23d89e2e2a
2015-05-11 18:18:44 -04:00