Commit Graph

80 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
Monty Taylor b4fd783219
Remove unmatched single quotes from jenkins jobs
The v3 migration script can handle these just fine - but if we go ahead
and remove them the output can be predominantely shell rather than
script.

Change-Id: I440851a0149e1cc7f8c5c6e8a4e3e0b94088ee82
2017-09-20 09:27:26 -05:00
Monty Taylor b68c9a9f52
Remove gnocchi from PROJECTS for tripleo-ci
It isn't hosted in git.openstack.org anymore, so adding it to PROJECTS
does not help.

Change-Id: Iaf0857b4b49c3aca417f4512b2b7668f32978b65
2017-08-29 17:11:26 -05:00
Jenkins cafc121a62 Merge "Add new puppet-ganesha project" 2017-06-20 08:48:16 +00:00
Jan Provaznik 9eea80c9c6 Add new puppet-ganesha project
puppet-ganesha will install and configure NFS Ganesha server.
It will be part of openstack-puppet modules.

Change-Id: Ib080e45a31a0b4f35f7f563660397d3c4bcabd15
Needed-By: Ica81737c33bf87231f9d4309a49806f77ad30c6b
2017-06-19 09:35:49 +02:00
Jenkins fd2c4b5c4c Merge "Use old image build command for stable/newton" 2017-06-17 06:59:26 +00:00
Clark Boylan 52eb8ecd55 Explicitly enable Horizon in Horizon dsvm job
We want to disable Horizon by default in jobs that don't actually use or
test Horizon. This will save job runtime because it means installing
fewer packages (which takes time) and happier OSC because fewer packages
impacting pkg_resources entrypoint handling.

Change-Id: Ib3fdab05bfa5f91678051db5643a976174f4797e
2017-06-14 09:48:48 -07:00
Julie Pichon 9e68bb3b65 Use old image build command for stable/newton
As part of Idd09c515beb6367e6ea3f98231bad31f5c536e6d the image build
command was updated to stop using deprecated options. However it
appears the old options are still needed when running the job on
stable/newton, as CI fails on the new one.

Change-Id: Ib72c2298309f78c596a10d96fbb0aa0df2c50614
Closes-Bug: #1697413
2017-06-12 12:01:20 +01:00
Yolanda Robla 56e76153f8 Fix permissions on the buildimage job
Change-Id: Ic11912ca6f1a73ffe6283f759f0ebfdc50f90b1c
2017-06-07 12:18:50 +02:00
Yolanda Robla c339d6e9f8 Fix buildimage jobs to use new process
When switching to new yaml based image builds, the delorean
settings are no longer used, because the delorean-repo element
is not included on the images.
Instead, we need to configure the repos on the host, and export
them using DIB_YUM_REPO_CONF var

Change-Id: I1b76cb0bea8dbef37489409eecbb7075abe75934
2017-06-07 11:06:22 +02:00
Yolanda Robla 9c4089ced8 Use new env vars for tripleo yaml build
When moving from legacy build to yaml based build,
the env vars needed changed. We need to stop using the
USE_DELOREAN_TRUNK and DELOREAN_TRUNK_REPO vars, and start
using DELOREAN_REPO_URL instead, to be consumed by
the delorean-repo element.

Change-Id: Ieea596195625f5e6fb902ae8403bfe705ebedeed
2017-06-06 22:45:52 +02:00
Yolanda Robla dc2d1ee6e2 Rename overcloud-sec-hard-full to overcloud-hardened-full
The image name is used on the generation of it, and needs
to match the one defined on the template.

Change-Id: Ibacca2b48df5b6e36fa2a7d79ac56af81b84e6d6
2017-06-06 18:40:01 +02:00
Brad P. Crochet 552ea438fb Use the same tripleo-common path for all branches in buildimage job
Always use the cloned tripleo-common path in $WORKSPACE

Change-Id: I48d9e36fe1157ff5b4713116022f8326830c45bc
2017-06-06 09:51:54 -04:00
Brad P. Crochet 454cb33351 Fix tripleo-common path for buildimage
The job is not finding the yaml files correctly. This should fix that.

Change-Id: I248bc0b5fff16d74c611005724741f02304f3ea7
2017-06-06 09:14:50 -04:00
Brad P. Crochet 05b5209dbc Use non-deprecated image building
Some deprecated code is being removed from the tripleoclient that
builds images. The new args should be in all supported branches
at this point.

Change-Id: Idd09c515beb6367e6ea3f98231bad31f5c536e6d
Partial-Bug: #1695906
2017-06-06 08:01:40 -04:00
Yolanda Robla f7d19bc431 Fix path for tripleo-common
When it is installed from pip, the files end on
/usr/share/tripleo-commmon

Change-Id: I8fff9a64c9f90c329b57a376b2f15fa8feac3651
2017-06-06 12:26:15 +02:00
Yolanda Robla c0ad635288 Install tripleo-common in buildimage jobs
In order to pick the latest changes from the yaml we use for
building images, add it to the list of projects to be cloned,
and start using it as the base for image builds.

Change-Id: I78bcc0dd33d30b3b0131690050665ec68058ce99
2017-06-06 09:29:22 +02:00
Yolanda Robla 5876f4ca25 fix image name and placeholder for security hardened job
There was a typo in the image name, and the placeholder
was not correctly being used.

Change-Id: Iaa62220a5fdfdd771d6ca0e12650609c2c4e72db
2017-06-05 17:32:28 +02:00
Yolanda Robla 440fe5968b Remove type from overcloud sec full build
type and config-file cannot be used together, and also
tye image type overcloud-sec-hard-full is not supported by type,
so just rely on the config file to build it.

Change-Id: I7968d5a07a96d6c952881b1a5e70f1a60cc5f35b
2017-06-05 15:39:57 +02:00
Yolanda Robla 1c22a7a654 Shorten image name and change path on hardened images
We were hitting the hard limit of 127 chars
for directory names in jobs.
Also we need to use a different config file when building
the security hardened images.

Change-Id: If642e98478d4487464fc5f8522313d7f117d9baf
2017-06-05 13:18:55 +02:00
Gabriele Cerami f789beffec tripleo: remove experimental quickstart jobs
experimental pipeline in quickstart changes launch an obsolete job that
uses a broken configuration.
Removing those jobs and dependent jjb macros

Change-Id: I786458b9b8bdd239853d24612ef6ee1eec3afee8
2017-05-22 21:24:09 +02:00
Emilien Macchi b6004df71f tripleo: EOLing Mitaka
Removing everything before Newton, which is EOL.

Change-Id: I83e1e8f7feeee24051e19730238aacad339a98b6
2017-04-26 19:13:30 -04:00
Martin André d3fa19cb7d Switch gate-tripleo-buildimage to use trunk.rdoproject.org
This commit changes the gate-tripleo-buildimage jobs to use the
trunk.rdoproject.org repos instead of the CDN due to sync issue:
https://bugs.centos.org/view.php?id=12994

Change-Id: I84473fc6705aa68c71487087e9cd96b9003911ea
2017-04-12 12:06:14 +02:00
Steven Hardy 83d51b8e7a Add heat-agents to tripleo cloned list
We need to test TripleO patches with Depends-On to heat-agents
patches so add the repo to the list.

Change-Id: I9f9003352f915b4e27c018fbf6757d5ef9912bbe
2017-04-10 17:21:25 +01:00
Yolanda Robla 4a2f93b90c Add timeout to buildimage jobs
The current buildimage jobs are failing due to
timeouts, although the final result is correct. Increasing
it to match the right time estimates.

Change-Id: I5aef117230c409d502c2f5f04d002fc4df66f53b
2017-04-05 13:12:34 +02:00
Yolanda Robla d166ff7612 Fix requirements checkout on buildimage
The current zuul-git-prep-upper-constraints macro
was giving conflict with the pre-existing checkout one. As
both do the clone of the checked project, it was giving
an error on git, because the directory already existed.
Adding openstack/requirements to the clonemap instead

Change-Id: I36273f59c052dd2fd5c3e870ee7802a1bdcf47e7
2017-03-31 14:23:12 +02:00
Jenkins 4096ea6068 Merge "Add upper constraints limitation of buildimage jobs" 2017-03-31 09:46:21 +00:00
Yolanda Robla 95e2e0cf86 Add upper constraints limitation of buildimage jobs
diskimage-builder is installed via pip, and it's not
considering the upper constraints. This is causing jobs
in stable branches to fail.

Change-Id: Ief5e90c49f122f146fde85e358fa022219f64af7
2017-03-31 09:33:52 +00:00
Yolanda Robla d2825d0f26 Select the right repo for stable branches
It was currently only using stable branch for mitaka. Add the
same checks for newton and ocata.

Change-Id: I6c4eb890578ea2f062f73a5a4ab20d67fc070641
2017-03-29 15:04:30 +02:00
Emilien Macchi 69cd1baf45 Switch trunk/cbs/buildlogs to use https
There is a permanent redirection from http to https in buildlogs, cbs
and trunk repos that might create issues when the redirection fails for
some reasons.
Let's use https directly.

Also remove Liberty case, since it's EOL.

Change-Id: I3946a3bc8dce4ff2961fb7850c4ee1867661b1f6
2017-03-21 20:45:11 -04:00
Andreas Jaeger aecbca97f2 Don't use lists for single nodes
Don't expose the nodes as a list when it's one node.

Change-Id: I71e07064b4ab41f375ff74127faf03b5acc19fce
2017-01-27 20:38:05 +01:00
Gabriele Cerami d9fd9891e5 tripleo job template: quote timeout value
current jjb parser is transforming the definition

timeout: {timeout}

into

timeout: {'timeout': None}

Adding quotes to the definition so it can be parsed as string. The value
will be eventually converted to int before proceeding

Change-Id: I3c8c77e6c1500c38573e04668af9639abafbb6b1
2017-01-20 23:55:40 +01:00
Jenkins 75168fc060 Merge "tripleo: replace periodic tempest job to use quickstart" 2017-01-20 19:10:53 +00:00
Gabriele Cerami 2e0a8e21bc Add tripleo-ui to the list of gated projects
Adding openstack/tripleo-ui to the PROJECTS variable to be properly
cloned to the change to test ref, or it will not be gated

Closes-Bug: 1657416
Change-Id: I7fb55e122ca0d0932a3240d414295f9f8bd6ce53
2017-01-18 14:14:58 +01:00
Gabriele Cerami 4615d3e576 tripleo: replace periodic tempest job to use quickstart
Renaming job to periodic-tripleo-ci-centos-7-ovb-nonha-tempest-oooq as
we prefer to test nonha deployment, and we are switching to use
quickstart (oooq)
Added timeout as a variable for default job template, set to the default
of 180 on all existing jobs, set to 300 in tempest job to fit ~2h
installation time + ~3h full tempest

Depends-On: I3084e020e6997efd804306b3350dc9752cda549e
Change-Id: I1a1da54b15d2c8e730e081647d6f656c58db243f
2017-01-17 14:48:18 +01:00
Paul Belanger e3204472f4 Add diskimage-buidler clone to python-tripleo buildimages
With some upcoming changes to diskimage-builder, add depends-on
support for diskimage-builder.  This now allows python-tripleoclient
to validate changes to diskimage-builder too.

Change-Id: I116671b1efb3e32c29fbbf2a02ce024d434d8e55
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-01-13 18:15:07 -05:00
Javier Pena 8a775044ec Add missing closing " in tripleo job
https://review.openstack.org/401282 introduced a bug by forgetting
to add a missing ".

Change-Id: Id89a72d0caefe8d16d680af6c7dd636fcc12faa6
2016-12-16 14:22:26 +01:00
Jenkins 15db704d9f Merge "Always clone quickstart extras with quickstart" 2016-12-16 10:04:08 +00:00
Sagi Shnaidman 912227b1d3 Always clone quickstart extras with quickstart
Change-Id: Id12af31285e57bb6520453de84d874c7fd47943a
If cloning quickstart, always clone quickstart-extras repo with it
2016-12-14 09:38:18 +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
Jenkins 543a5d9b78 Merge "Add diskimage-builder and dib-utils to the list of projects" 2016-11-17 14:39:12 +00:00
Yolanda Robla Mota b3561342ca Add diskimage-builder and dib-utils to the list of projects
Currently zuul cloner is not taking the proper reference,
because it does not have that projects on the list. As a consequence,
changes in diskimage-builder are tested against master instead
of using the current reference.

Change-Id: Ia00153709cd9eb90cee2d1584bdd00bd3752de52
2016-11-17 12:00:57 +00:00
Sagi Shnaidman c0a0275945 Add cloning of tripleo-quickstart to tripleo jobs
In order to have quickstart jobs in tripleo we need to clone this
repo by zuul.

Change-Id: I9badeed7ba56fb2862e2d45f4c9b704807c3cf62
2016-11-16 18:50:47 +02:00
Khai Do d679cf6e01 rename 'tox' macro to 'run-tox'
JJB already has a tox module[1].  Defining a macro with the same name is
confusing and may cause problems when attempting to use this macro
elsewhere. Renaming it to something else should clear things up.

This is the warning from JJB:

$ jenkins-jobs test -o out ../project-config/jenkins/jobs
WARNING:jenkins_jobs.registry:You have a macro ('tox') defined for
'builder' component type that is masking an inbuilt definition

[1] http://docs.openstack.org/infra/jenkins-job-builder/builders.html#builders.tox

Change-Id: I6946229f6e94a5f4c10d6a5fc3b7049adeacacb1
2016-11-15 11:54:16 +01:00
John Trowbridge 3bc03f235c Create tripleo-quickstart-extras project
This repo will contain extra roles that can be used with (or without)
tripleo-quickstart to automate TripleO deployments for CI and developer
testing.

Needed-By: I37a5075a208a0280b7e61ccdd5d754a69a813070
Change-Id: Ifc109b8e880f43b4526a543f7d931594ff6f951c
2016-11-07 09:32:32 -05:00
Emilien Macchi cc468136d9 tripleo: add missing PROJECTS in the list
We need more PROJECTS because we install all those services and we want
to grab logs using devstack-gate script.

Change-Id: I11857084a4ef62d7abbb0b97fad1dc5d28a954c9
2016-09-02 13:57:19 -04:00
Paul Belanger b6addc2a2e
Manually run install-distro-packages for tripleoclient job
Because our project is not cloned directly into $WORKSPACE, we need to
make sure we are in the proper directory before running
install-distro-packages script.

Change-Id: I0a0e534b3358f7580b615307b5856b11065d73a9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-11 13:59:05 -04:00
Paul Belanger f54c912cf1
Reduce name for python-tripleoclient buildimages
Until zuulv3 lands, we are limted to 127 chars for tox jobs.  Reduce
the name of the jobs to ensure tox works properly.

Change-Id: I5a0341b0e3e6102e6ba55705ea145eede321aa41
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-10 15:20:32 -04:00
Paul Belanger 264fee1825
Add gate-python-tripleoclient-buildimage jobs
Start experimenting with building tripleo overcloud-full.qcow2 in the
gate.  This will be a non-voting jobs one we move it out of the
experimental queue.

Change-Id: I399ea0f058ab6e3a820f5bd9b005512e0a1340a8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-09 21:06:02 -04:00
Jenkins 98cb2627c4 Merge "Add gate-tripleo-quickstart-base-centos-7-nv job" 2016-08-05 07:30:40 +00:00