Commit Graph

48 Commits

Author SHA1 Message Date
Sagi Shnaidman 0977f8502d Big clean of tripleo-ci
Change-Id: Iff0350a1fff1057d1de924f05693258445da9c37
2020-01-22 18:37:04 +02:00
yatin 93768b46ee OpenDev Migration Patch 2
These changes were missed by Sysadmin's proposed
Migration Patch, this patch takes care of these
missings.

Also updated kolla review pull task to use
review.opendev.org instead of opendev.org as
remote url because opendev.org currently don't
have review refs/changes synched due to gitea bug.

Related-Bug: #1825732
Change-Id: I30646b0c5b95f391e9ab4bd767b468280ccb3842
2019-04-22 11:04:00 +05:30
Sorin Sbarnea ed27a979d5 Adopt use of pre-commit linting
Follows the same configuration that was used on
tripleo-quickstart-extras and documented use on tripleo-docs.

Change-Id: Iba8a2db92137f9f6ad28f498627eb1b87039d99f
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-12-14 15:50:06 +00:00
Natal Ngétal dbc129238e [Core] Remove mitaka.
The mitaka release is no longer supported by the community.

Change-Id: Iba4ed16f5d91973e43d3be040ce7e0eaf7396c73
Closes-Bug: #1722602
2018-11-14 11:14:06 +01:00
yatin 5bf07a20c2 Add bits to support stable/queens
Add missing bits to support stable/queens branch in TripleO;
Some adjustments might be done later but this is a first iteration.

Change-Id: I4a369389fbecf6890a75ffaaf695f391cd6b7e2d
Closes-Bug: #1750311
2018-02-20 19:55:12 +05:30
Sagi Shnaidman b56e22a835 Mirror images from RDO server
Mirror promoted images from RDO server to RH1 cloud
Rename all ipa_images.tar to ironic-python-agent.tar
Remove old promotion code from mirror-server

Change-Id: I44a170cfa23e568d31726f55cea8906ad2c8e146
2017-10-18 13:21:13 +00:00
Emilien Macchi 6cf056cc68 Add bits to support stable/pike
Add missing bits to support stable/pike branch in TripleO;
Some adjustments might be done later but this is a first iteration.

Change-Id: I408a6b116b611b67b67f98e1bf7bc533ce22435c
2017-08-03 06:23:37 -07:00
Alfredo Moralejo 0388227731 Update promotion jobs with new ovb-1ctlr_1comp_1ceph-featureset024
https://review.openstack.org/#/c/478924 replaced old ovb-updates
by a new job based on oooq. This patch do the replacement in
promotion script.

Change-Id: Iee44b47db1c4f7c0315cd280c60cbb1888b5cea0
2017-07-11 10:29:54 +02:00
Sagi Shnaidman ea152afca1 Fix multinode status script
Fix error in multinode status script

Change-Id: I5df9e2f0f37594f0a478988050be2526dac77616
2017-06-28 13:34:58 +03:00
Jenkins c50c4e3b1c Merge "Add multinode jobs to promotion" 2017-06-27 18:47:10 +00:00
Jenkins 8fbdc21002 Merge "Add script parsing status multinode periodic jobs" 2017-06-27 14:01:10 +00:00
Sagi Shnaidman 1bdcae3916 Add multinode jobs to promotion
Consider status of periodic multinode jobs when promoting repo

Change-Id: I3a620314ebbb07f7c9d41ff28eeaba28351d9f45
2017-06-26 14:56:35 +00:00
Sagi Shnaidman 0f6edbd61e Add script parsing status multinode periodic jobs
Add script for parsing of periodic multinode jobs in order
to update their status in metadata.txt files and allow them to
be considered when promoting repo.
Run this script every 30 min on mirror server

Change-Id: Ib56dba872a5cf9a40ad652be1dc9fbd801a57282
2017-06-26 13:53:39 +00:00
Sagi Shnaidman 34ca8dd47b Fix names of periodic jobs in promotion script
Names of periodic jobs of stables branches were wrong.
Remove obsoleted mitaka.
Change-Id: Id864c80e3b476d9338937831bfa8233c9405bd2c
2017-06-26 12:29:40 +03:00
Gabriele Cerami 6f733241c2 quickstart transition: add promotion logic
Add the logic to perform promotion with jobs started with quickstart

- add function to check if an item is in a array
- add uploads and conditions at the bottom of toci_gate_test
- modify job names for the promotion in mirror server script

Depends-On: I92b8b4e5ba6e8daf91b4166ad96ff61bdbe6e38a
Change-Id: Ie132edfe90043b32aee321a211b174d11426f50d
2017-06-07 12:23:32 +02:00
Emilien Macchi 4cf15bc122 Revert "Remove ovb updates job from promotion pipeline"
The job has been pretty stable and far from timeout now. Let's enable it again.

This reverts commit 4554754633.

Change-Id: I747988e376e2be64cdb45efbb7573a8002d2cb0c
2017-04-03 17:27:44 +00:00
Sagi Shnaidman 4554754633 Remove ovb updates job from promotion pipeline
Remove OVB updates job from promotion pipeline because its
timeouts.

Change-Id: Ide903638cd3cbef75076e7d4b5b1531e0070efbe
2017-03-30 14:56:13 +03:00
Emilien Macchi 646daa0a5a Add gate-tripleo-ci-centos-7-ovb-updates into promotion pipeline
When Ocata will be released, we want to add
gate-tripleo-ci-centos-7-ovb-updates in the promotion pipeline to be
able to detect issues related to networking & IPv6 when testing new
versions of OpenStack.

We have seen some cases where gate-tripleo-ci-centos-7-ovb-updates broke
because of some changes in OpenStack. Let's add it into the pipeline to
avoid this situation again.

Change-Id: I17dbd0028451d3441274bcd3eb1d247eb29d1fba
2017-02-27 14:01:14 -05:00
Wes Hayutin 40144b4bc3 update promotion scripts for stable branches
Updates to the scripts to signal to the ci.centos job
that a promotion can occur for branch.  This is done
in the same fashion that has been working for master.

Change-Id: I5c83b2986b32f6e483199b59b822b8cec96edf7f
2017-02-23 14:33:49 +00:00
Ben Nemec bfa1c5be54 Stop mirroring centos images
We aren't using the centos images on the mirror server anyway, and
they eat up a significant amount of disk space.

Change-Id: Ibe5427c8a8ad7c8e9235e0393fe0b6f35b197595
2017-02-13 22:02:06 +00:00
Jenkins d8f75408c4 Merge "Save images according to their branch" 2017-02-13 21:33:44 +00:00
Sagi Shnaidman 6cf511141b Save space by deletion of unnecessary folders
Remove all folders which are more than day old.

Related-Bug: #1662521
Change-Id: Ia154c82ff7356105cfb359b0491ed6bb92b7cc9c
2017-02-07 14:40:14 +00:00
Sagi Shnaidman 482ccc8ffa Save images according to their branch
Save images which are uploaded from promotion jobs in different
folders, according to their branch.

Change-Id: Ia76db45546c469a8245b388dc4a81fdc6ab27217
2017-02-06 18:51:33 +02:00
Jenkins f91dc85ef3 Merge "We no longer need to copy old instack.qcow2 on image promote" 2016-10-29 23:54:11 +00:00
Jenkins 2f43a70200 Merge "Remove git repo mirror scripts" 2016-10-21 17:14:45 +00:00
John Trowbridge 3bcc599e70 We no longer need to copy old instack.qcow2 on image promote
The instack.qcow2 we are copying has been broken for quite a while
and tripleo-quickstart implemented a feature to allow using the
overcloud-full.qcow2 as an undercloud image.

Change-Id: Ic55dd790adc0ed95b5b207bf3fb10913b4c3fed5
2016-10-18 15:00:48 -04:00
Sagi Shnaidman 15e1e3de17 Fix promote script and add logs
Promotion script used wrong location of instack.qcow2 image and
didn't clean old repos because of exiting on error.
Also add logging to cron job for easy investigation of last run.

Change-Id: I610ea96dd2d57829f4c4d6645108954802bd5571
2016-09-08 15:34:33 +03:00
Jenkins 0ca7ee9af1 Merge "Remove white space between print and ()" 2016-08-26 15:13:43 +00:00
Paul Belanger 1c45f82bcc
Remove git repo mirror scripts
This is part of our effort to remove private infrastructure from
tripleo-ci.  Now that puppet modules are installed from DLRN, we don't
need to mirror this.

Change-Id: If2252bae4b532b6625cbce87acce5c12d53ec7e4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-09 17:00:16 -04:00
Derek Higgins b68b681e6e Remve old cache files on the mirror server
Change-Id: I5a0dee59a2db5e1584c334fc982524d1130b5448
2016-07-29 10:37:24 +01:00
weiweigu ed53c6dce4 Remove white space between print and ()
TrivialFix

Change-Id: I61b2af35e2ce934a010002d5a1a9f3298c154689
2016-07-18 18:58:49 +08:00
Derek Higgins e990e2fab5 Copy a old instack qcow image into current-tripleo
This is still needed by tripleo-quickstart, keep it around until
quickstart uses the overcloud image instead.

Change-Id: I84d5b8c2de13132d992e6b2f23ae68dccec8a482
2016-07-08 14:24:26 +01:00
Jenkins 2b7217973a Merge "Update jobs required to move current-tripleo pin" 2016-07-07 08:56:53 +00:00
Derek Higgins 7015981b29 Update jobs required to move current-tripleo pin
Switch to jobs run on rh2

Change-Id: I12251459f5a86f7e7e1c322279b10e62201129a9
2016-07-07 08:28:35 +01:00
Derek Higgins 5b1f92022c Allow mirror server file uploads from both rh1 and rh2
rh1 used a different subnet range to that of rh2 but both
are part of the 192.168 private blocks. Allow anything
from this range to upload files.

Change-Id: I4952e98d51d309b84569ff41264aebaeeb2c9dea
2016-07-07 07:40:08 +01:00
Derek Higgins 2a10f319a7 Add infrstucture scripts to prepare rh2
Add scripts to prepare rh2, (an OVB based cloud) for CI.
This patch only includes whats needed to prepare the cloud
for CI, the changes to the CI scripts themselves will be
part of another patch.

Change-Id: Ie2d1c607f283e6babb00ea19d32bebae5383867a
2016-06-20 10:57:45 +01:00
Emilien Macchi cdce5b955e promote: add upgrade job part of voting
Add periodic-tripleo-ci-centos-7-upgrades job part of promotion jobs and make
it vote.

Change-Id: If74ed22f62ce2b40ae28cdb0bc30263f6641b7e5
2016-06-15 16:04:41 -04:00
Juan Antonio Osorio Robles 525e954fac Add new reference to puppet-certmonger to mirror list
Recently there was a commit done in tripleo-puppet-elements [1] that
added a new reference to puppet-certmonger. This adds the same
reference to the mirror list to match.

[1] I9eedc71090df5651a84ee1840188a5b70af5f064

bp tls-via-certmonger

Change-Id: Ifa098f456df3777451b5b3452b3d4f779bd2243d
2016-06-13 17:39:37 +03:00
Paul Belanger eeaeb95cdc Update scripts to look for centos job names
The f22 jobs are now gone and replaces with centos-7.

Change-Id: Ia6e1db97fc6b8405c8e40019c00a3eb3c623eb8e
2016-06-09 16:18:38 +01:00
John Trowbridge 46b55582ef Change DLRN promote method
Currently we rely on being able to ssh directly to the DLRN server
in order to promote our current-tripleo symlink. However, RDO is
moving that server to a physical machine behind the ci.centos.org
firewall.

Fortunately, the ci.centos.org jenkins slaves are also on the right
side of this firewall. I have setup a simple job there that takes a
DLRN hash via parameter in HTTP POST, and runs the promote script
for TripleO. This POST is authenticated via a token that will need
to be put in the env on the mirror server.

Change-Id: I7e055c311872fabffc37b5426ca64023c57e6b0a
2016-05-27 13:51:07 -04:00
Derek Higgins 557a75c2d9 Allow the mirror server to be publicly accessible
Developers, community members and CI jobs would like to be able to
download images that are known to have passed tripleo-ci. To make
them available we allow httpd to listen to all IP's and restrict
the upload script to only accept files from the test network.

Change-Id: I8708fd8ef069283093b7c070e86892f5abce1cb1
2016-05-20 11:28:34 +01:00
Jenkins c425c56765 Merge "Don't add duplicate entries to metadata.txt" 2016-04-20 09:07:07 +00:00
Derek Higgins 6149c22248 Update the list of mirrored git repositories
A bunch of git repositories have been added since this list was compiled.

Change-Id: I48530c40ccde84a5fc3c5d1c7a24577291e80b64
2016-04-13 16:28:25 +01:00
Jenkins 3de1390d18 Merge "Add execute permissions to promote.sh" 2016-04-07 11:31:49 +00:00
Derek Higgins c55910a37d Use the mirror server for the centos image and git repos
Change-Id: I52dcec0813b7e41beb9b460eb0358482d4574492
2016-03-23 10:24:45 +00:00
Derek Higgins 237ef6ef8d Don't add duplicate entries to metadata.txt
These get added by multiple jobs, their not doing any harm
but it can look confusing.

Change-Id: I9bbd3f60ddf539cdfb045b5d57fdf3565037550f
2016-03-22 21:45:35 +00:00
Derek Higgins 1ddad3cf87 Add execute permissions to promote.sh
The cron job can't run this at the moment because it has
the wrong permissions.

Change-Id: Ia04cb65d5c3dde94d3a1c750a1d0f6f72470c147
2016-03-22 21:42:17 +00:00
Derek Higgins 9f4ef3dbb5 Add mirror server
Add a new mirror server to hold a local cache of external network
resources, along with a puppet module to control it.

To allow the promote to happen a seperate pull request has been sent to
puppet-dlrn to add tripleo support to the promote script
https://github.com/rdo-infra/puppet-dlrn/pull/8

Change-Id: Ic640302c4a2bd81f2980a6a1c28d9ba8cb4edc44
2016-03-22 01:15:28 +00:00