Commit Graph

18 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
Andy McCrae 7e8bcae8ff Add "test-results" publisher to OpenStack-Ansible periodic jobs
Add the test-results publisher to the OpenStack-Ansible periodic jobs
in order to have these periodic jobs show up in openstack-health.

Change-Id: Ia1e025306cee7eb60a40504b580143b16c03cf87
2017-07-18 16:12:41 +01:00
Jesse Pretorius 7a47023343 Increase job timeout for openstack-ansible
With the demise of OSIC the openstack-ansible
integrated build is now being done more often
on much slower nodepool providers.

Also, recent work to implement rolling upgrades
have changed the way the initial deployment is
done and made it slower than before.

Unfortunately these two elements are now putting
us in the position where we're failing due to
a timeout more often than not, which is stalling
development.

This patch therefore increases the timeout by
30 mins.

Change-Id: I9075f06dc2e881dbc8642ada3f323edd522b9fae
2017-07-13 13:24:42 +01:00
Luz Cazares becef7c76e Place subunit result file in the correct place
Place the subunit result file for openstack-ansible jobs,
so that project job statistics can be seen at OpenStack-Health
dashboard

Change-Id: Iafeb4567aa0a7d2d5f818d45995c50ffdc0ef028
2017-06-14 21:28:32 +00:00
Jesse Pretorius e843c1b5bd OSA: Output ZUUL variables to a file
The current mechanism implemented in
https://review.openstack.org/458890 does not work
and causes jobs to fail when multiple dependent
patches are included in a patch. This is due to
the spacing in the values of ZUUL_CHANGE_IDS.

This mechanism instead outputs the data to a
file which can be appropriately sourced by the
functional test script to achieve the same goal
and be less of a maintenance burden.

Change-Id: If9ff68eec9aa900680ed846f72d182e4115658ad
2017-04-28 12:13:42 +01:00
Jesse Pretorius 46977ba0f7 OSA: Enable cross-repo testing for integration testing
The ZUUL_* environment variables are not set when the job
is executed using sudo. Instead of using 'sudo -E' which
would pass along a whole bunch of env vars which may
interfere with the build, we only do a minimal set in
order to enable cross-repository testing.

Change-Id: If9c8bcb0069d6d7e45ac2a484f3bb97dbf80772b
2017-04-24 12:28:20 +01:00
Andreas Jaeger acf7572d10 s/gerrit-git-prep/zuul-git-prep/g
We do not need gerrit-git-prep anymore, zuul-git-prep works on all our
slaves and has the advantage of using zuul-cloner so that the local
cache is used and Depends-On works.

Remove gerrit-git-prep and use zuul-git-prep instead everywhere.

Change-Id: I2f106af58f78fceaf3c497fe43e6f5a002695645
2017-04-03 19:36:51 +02:00
Sean M. Collins f98c097c67 Add OSA periodic upgrade job
In order to increase the ability to test various
scenario's for a greenfield deployment and an upgrade
OSA is implementing periodic jobs to achieve this.

These jobs will have a longer timeout to cover
scenarios that are more complex or are essentially
two builds in a row (eg: upgrades).

This is an initial job to test the waters and iron
out the kinks. Once this job is successful we intend
to implement periodic deploy jobs (to guard against
bitrot) and periodic upgrade jobs which test upgrades
from N-2 (currently stable/newton) to N-1 (currently
stable/ocata), and from N-1 to N (master). The jobs
will execute multiple scenarios and on multiple
operating systems.

Co-Authored-By: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
Change-Id: I63ce88510409f82791d3592b7d2c056e1fe0ff71
2017-03-06 12:05:49 +00:00
Andreas Jaeger 4a61bc67f5 Change job-suffix to suffix
We have now some rather long job-template names, shorten them with
replacing job-suffix with suffix.

Before this change we had 1500 usages of job-suffix and 700 of just
suffix. This change therefore unifies to one setting.

Note that this does not change any job names at all, they are unchanged,
it changes and shortens only the names of job-templates.

Change-Id: I514df039a848d9f6619bca3adc05dfb84a761fc9
2016-12-08 22:05:01 +01:00
Jesse Pretorius fb4fdeef5a Pass scenario as a parameter for OSA
This patch implements a change to the OpenStack-Ansible
gate check to ensure that the scenario executed is passed
as a CLI parameter to the execution script.

Change-Id: I5441f8f9a9c02cc0a501a9b9f7c6cbe2604f4b65
2016-09-13 17:00:39 +01:00
Jesse Pretorius e301f0f702 Implement Xenial/CentOS jobs for OpenStack-Ansible
OpenStack-Ansible is targeting Ubuntu Xenial and CentOS support
for Newton. As such this patch intends to implement experimental
jobs for these two distributions for initial testing purposes.

The patch does the following:
 - Revises the OpenStack-Ansible job-template to be usable for
   more than one node type and to be able to execute voting
   and non-voting checks.
 - Uses the shell builder (instead of the 'ansible-check-commit'
   builder macro to execute the in-repo script which executes
   the gate check in the same way that a deployer would execute
   a production environment deployment.
 - Removes the 'ansible-check-commit' builder macro as it is no
   longer needed.
 - Implements the ability to execute experimental pipeline jobs
   for Ubuntu Xenial and CentOS-7.

Change-Id: I6dd2c0f5687d843d7273583d51d81acf47fb7ba4
2016-08-02 11:09:30 +00: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
Jesse Pretorius 7232187151 Remove gate-openstack-ansible-commit-nv job
The gate-openstack-ansible-commit-nv used the ubuntu-trusty image and was
implemented as a tester based on the advice that all current dsvm jobs
would be moved to this image.

As this job fails most often and there clearly is no major move happening
at this stage, we'd rather remove this job for now to reduce nodepool usage
and reduce delays caused by waiting for nodes with this image to be available.

Change-Id: I425c8ee6a214d7fef3419b96a94b0f55b24f8aef
2016-02-26 16:25:55 +00:00
Jesse Pretorius 4b904a3692 Remove gate-openstack-ansible-lint
This patch removes the custom gate-openstack-ansible-lint
job as we're busy consolidating all the lint checks for
the project into the 'linters' tox target.

For reference, the consolidation is being done in:
https://review.openstack.org/272723

Change-Id: I535bee707d958e18c42f23518350696609a8ea4b
2016-01-29 09:56:09 +00:00
Andreas Jaeger 4331f670b4 Print the JJB template name in some more jobs
Print JJB template name in more job templates so that it's easy to
identify them.

Change-Id: Ia92e39d0ac8c7655577e8fa4accde5748f30d5f1
2015-11-26 20:09:53 +01:00
Andreas Jaeger bd882cdd7a s/branch-designator/job-suffix/g
As clarkb suggested on #openstack-infra at 17:46 2015-10-22:
"maybe we should s/branch-designator/job-suffix/g in all those files
 as job-suffix makes more sense considering how branch-designator has been
 used".

The rename should make it easier for newcomers to understand
these jobs.

This renames branch-designator everywhere in jenkins/jobs/*.

Change-Id: Icb11271b958d92957fb9907ff03c0b898d7b76fc
2015-10-28 07:50:13 +01:00
Jesse Pretorius d7fd262954 Move nv openstack-ansible experimental job to check queue
Change-Id: I9339731abdd70f236261bc4785cd1c87c894fe5a
2015-09-30 21:08:02 +01:00
Ian Cordasco 08cfe7ece0 Rename stackforge/os-ansible-deployment{,specs}
In Id3f6175fcdd4a21019eabca56cd337145ff9c2b0 os-ansible-deployment moved
into the openstack namespace and was renamed to
openstack/openstack-ansible. It's specs repository will also be renamed
to openstack/openstack-ansible-specs.

This also switches the publishing of documentation from readthedocs to
docs.openstack.org and includes both doc and spec publishing.

Change-Id: I10588f1118f21793ef9a1a647184cf2e8de07260
2015-09-11 16:33:02 -04:00