14547 Commits

Author SHA1 Message Date
Ian Wienand
bdf8cd90f7 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I6c126f7e724249741403a87733f546c1642f7f25
2019-03-25 09:40:52 -07:00
Clark Boylan
ba0242f054 Groups-dev to puppet4
This fixes the inventory glob to ensure we run groups-dev under puppet4.

Change-Id: I4cbc911a352d2968ba650a09c2a97a767cb8bc7d
2019-03-21 14:38:56 -07:00
Zuul
9ba2b8e847 Merge "Update more servers to puppet 4" 2019-03-21 20:51:42 +00:00
Zuul
be28fb32e4 Merge "Update more servers to puppet 4" 2019-03-21 19:03:57 +00:00
Zuul
ab789dd254 Merge "Periodically release project.opendev volume" 2019-03-21 16:54:08 +00:00
Zuul
721f110064 Merge "Update more servers to puppet 4" 2019-03-21 15:41:15 +00:00
James E. Blair
7b190db166 Periodically release project.opendev volume
So that we can use this to publish docs on docs.opendev.org.

Change-Id: I4ffeb7f2325eea7446eb1ffa2640a396e80d7aa0
2019-03-21 08:28:22 -07:00
Zuul
a38f3e5c73 Merge "Set up legacy git redirect sites" 2019-03-20 21:06:10 +00:00
Zuul
4b728e7525 Merge "Change to parent dir in run_k8s_ansible.sh" 2019-03-19 10:19:00 +00:00
Zuul
5538493af2 Merge "Ensure lockfile dir is created for bridge.o.o" 2019-03-19 10:18:59 +00:00
Zuul
ffd56ffc75 Merge "Set the gitea theme color to match the opendev pink" 2019-03-18 23:48:58 +00:00
Zuul
65de8edcb2 Merge "Retry gitea repo setting HTTP POSTs" 2019-03-18 23:25:50 +00:00
Zuul
ff4e3b275a Merge "Update more dev servers to puppet 4" 2019-03-18 23:18:28 +00:00
Zuul
bb2ad56941 Merge "Add nodepool_restart playbook" 2019-03-18 21:37:13 +00:00
Clark Boylan
05b56342bc Set the gitea theme color to match the opendev pink
Currently the default is to use gitea green which looks a little weird
on our site when using mobile browsers. I don't see an easy way to
revert to the browsers default color but there may be some magic like
using a 'default' string? That may be an alternative option we can
consider.

Change-Id: Ia4e3d25b75bba169c3b7cc60c52c0de791e6be21
2019-03-18 14:08:51 -07:00
Zuul
9db2fe79a8 Merge "Upgrade to gitea 1.7.4" 2019-03-18 20:19:05 +00:00
Zuul
114f86234b Merge "Use OpenDev icon in gitea" 2019-03-18 19:03:53 +00:00
Colleen Murphy
1c3a530ef1 Update more servers to puppet 4
Change-Id: I6fd2172fe937e123bd3ca1f0f8fa2a905661a50b
2019-03-16 21:11:35 +01:00
Colleen Murphy
2adff3ba22 Update more servers to puppet 4
Change-Id: Idd5079c2f24c30b7cac68d51e447c82865e7e038
2019-03-16 21:10:20 +01:00
Colleen Murphy
a734f54c5c Update more servers to puppet 4
Change-Id: Ifc81cbc2b95c0cfce718a31fce3c50dff9908049
2019-03-16 21:09:37 +01:00
Colleen Murphy
68705b22cd Update more dev servers to puppet 4
We missed these on the first *-dev pass.

Change-Id: I7de96df167050ad4114880aef59f93c6d1956c9f
2019-03-16 21:06:36 +01:00
Clark Boylan
177edc0abb Retry gitea repo setting HTTP POSTs
I ran our global gitea project sync playbook across all eight gitea
hosts and one failed with a 404 against a specific project. Rerunning
the playbook against that one gitea server worked fine.

Until we sort out why this might happen lets retry our HTTP POSTs up to
3 times until they succeed.

Some numbers: We have ~2k repos and 8 servers and make two http requests
per repo for a total of 32k requests. If one fails out of that the
success rate is very high so retrying a few times should be fine.

Change-Id: I937a4f852f6713a419c03a17c3b4984a97eae0d8
2019-03-15 13:01:39 -07:00
James E. Blair
5923d9130e Upgrade to gitea 1.7.4
Change-Id: I5a962fedd7ff8362a5117706ddefaf2eaa21e29d
2019-03-15 09:09:42 -07:00
James E. Blair
58476a051a Use OpenDev icon in gitea
This should cause the OpenDev logo to be used in the navbar and all
of the favicon/pwa locations.

Change-Id: Id1acfa8214744381fb8e4e2e9779502dde3565e0
2019-03-15 09:01:29 -07:00
Zuul
877e58a386 Merge "Upgrade some servers to puppet 4" 2019-03-15 15:50:59 +00:00
Ian Wienand
6df8caa421 Change to parent dir in run_k8s_ansible.sh
This is calling tools/cloud-to-env.py without a full path, which fails
when it's called from the run_all_script which hasn't cd'd to
/opt/system-config.  Use the old "cd to my parent dir" at the start of
the script.

Change-Id: I54a97c6942edd8a047ac679f6b0b08f0e5595f1f
2019-03-15 09:51:40 +11:00
Ian Wienand
e9ca0bc9ad Ensure lockfile dir is created for bridge.o.o
After we reboot the lockfile directory disappears.  Recreate it before
running the puppet that would create it anyway.

Change-Id: Ia0779240b9e516090237dfbe61404fab114c6d4a
2019-03-15 09:36:56 +11:00
Colleen Murphy
cb868e8f97 Upgrade some servers to puppet 4
In roughly lexicographical order, upgrade a batch of servers to puppet
4. We skip ask-staging because although it is in the futureparser group
it was temporarily disabled in puppet and so hasn't actually gone
through the futureparser validation stage yet.

Depends-On: https://review.openstack.org/643465
Change-Id: I3971ffb9800e95aaaba0076ec3bd6a05cd92a750
2019-03-14 21:34:23 +00:00
Clark Boylan
8c8b1d9c71 Remove trusty testing flag from nodes that are xenial
We've been upgrading many of our nodes to xenial from trusty. Remove the
manifests/site.pp trusty test flags from nodes that don't run on trusty
any longer.

Change-Id: I2ee9754d8b30f120d375cb6ff554c107f4a750d5
2019-03-13 15:02:47 -07:00
Zuul
642552157b Merge "Handle launchpad projects in our gitea project creation" 2019-03-12 23:24:33 +00:00
Clark Boylan
f41d9da163 Handle launchpad projects in our gitea project creation
Some projects use storyboard and some use launchpad as their issue
tracker. Handle this dynamically based on the projects.yaml content when
we create projects and set the appropriate urls.

Change-Id: Ie1d79bf1a662c00078689f2c752231e610610eda
Story: 2004627
Task: 29849
2019-03-12 15:14:34 -07:00
Clark Boylan
1de45463c8 Manage zuul status backups directly
We were previously creating zuul status backups for http and https
endpoints. We really only need them for the https endpoint. Additionally
backup our kata-containers tenant.

Depends-On: https://review.openstack.org/642896
Change-Id: I35a58b2faf3234aa0f3c04e5a682c8f9f9111898
2019-03-12 14:37:54 -07:00
Zuul
41bf1244bf Merge "Add meetbot to openstack-fenix channel" 2019-03-12 01:10:55 +00:00
Zuul
8c60977ec2 Merge "Add wiki-dev02 to Ansible inventory" 2019-03-12 01:10:52 +00:00
Zuul
b997c88e83 Merge "Just use openstack.org domain for wiki hosts" 2019-03-12 01:10:50 +00:00
Zuul
4c784ba8d0 Merge "Use opendev logos" 2019-03-11 17:55:18 +00:00
Zuul
983ce54996 Merge "Split python-base into its own Dockerfile" 2019-03-11 16:55:56 +00:00
Trinh Nguyen
1c90019495 Add meetbot to openstack-fenix channel
Change-Id: I309d74e85a1dbc428520aa531e86180fa51bb344
Signed-off-by: Trinh Nguyen <dangtrinhnt@gmail.com>
2019-03-11 14:18:25 +09:00
Zuul
8513ba4bd2 Merge "Add a soft dependency between gitea build and run" 2019-03-10 17:58:35 +00:00
Zuul
a2b1c31a42 Merge "Use the opendev docker build jobs" 2019-03-10 16:38:09 +00:00
Jeremy Stanley
eefb462d4c Add wiki-dev02 to Ansible inventory
The Xenial-based wiki-dev02.openstack.org server will replace
Trusty-based wiki-dev01 once completed. Include it in the inventory
so configuration management can be applied before the CNAME RR for
wiki-dev is changed to refer to it.

Change-Id: I4bc08c3e204219bcc99c51f3154d89813a6d55ab
2019-03-10 14:35:00 +00:00
Jeremy Stanley
72e51a8998 Just use openstack.org domain for wiki hosts
Currently there are no plans to integrate the existing wiki services
into OpenDev, so for clarity we're limiting the inventory globbing
and global site manifest node regular expressions to the
openstack.org domain specifically.

Change-Id: Ifdc86f7cc5d6a865e1d5f76828ad8b52f2ee75fe
2019-03-10 14:32:11 +00:00
Zuul
1bb1368375 Merge "Disable ansible cron even more" 2019-03-09 01:22:45 +00:00
Zuul
995995429d Merge "Fix puppet 4 installations" 2019-03-09 00:58:25 +00:00
Jeremy Stanley
73955d55b7 Set up legacy git redirect sites
As part of the move to Gitea, we're creating compatibility redirects
from our old Cgit and Git HTTP backend sites to opendev.org. This
introduces Apache vhosts for each of git.airshipit.org,
git.openstack.org, git.starlingx.io and git.zuul-ci.org which all
serve the same docroot on the files.openstack.org server. This
docroot houses a single .htaccess file with the relevant redirect
rules.

Change-Id: I729fe39bcbe0a0cae237e9036ed8fa980f897e68
Co-Authored-By: James E. Blair <jeblair@redhat.com>
Task: #29705
2019-03-08 23:54:51 +00:00
Monty Taylor
9adc5ce8fe Split python-base into its own Dockerfile
There's no real need to tie these together into a multi-stage
Dockerfile as they don't really share anything. Split them.

Change-Id: Ifd7ccadcd8048eeb57797d60356aec2f9f0d2c80
Depends-On: https://review.openstack.org/641805
2019-03-08 15:49:49 -08:00
James E. Blair
a5f3c1cffe Add a soft dependency between gitea build and run
When we run the run-gitea job, make sure that it runs *after*
the gitea image build job, if the build job ran at all.  If
it didn't, we don't need to worry about it.

This has to happen in the project pipeline config because the
job dependency is different in check and gate.

Change-Id: I7cb069a6cd40a4ae8d5cbcdf23e7686b301493a1
2019-03-08 15:47:50 -08:00
James E. Blair
7a94bd060e Use the opendev docker build jobs
These now only run a registry if there isn't already one running
in the buildset, so we can use them here in that configuration.
They also take care of the provides/requires for us, so we can
remove those.

Change-Id: I3b6d825df8d658adcae51ed20a5335c612b7d9f2
Depends-On: https://review.openstack.org/642151
2019-03-08 15:47:49 -08:00
James E. Blair
d8f56f827b Disable ansible cron even more
We call the bridge playbook from run-base.yaml to bootstrap bridge,
so that's really where we need to disable the cron installation.

Change-Id: I5f3d604feaca5c1d577636c2d1130eec82a35961
2019-03-08 15:44:27 -08:00
James E. Blair
b228fec4c6 Use opendev logos
The stacked opendev logo is added to the home page as an svg.

A 120x120 ping is added as the gitea icon.  It appears in several
places throughout gitea source code, and therefore it's easier to
just replace it using the same filename and format rather than
updating the templates with a new filename.

Change-Id: I888b8913c7b6a1045975f10240d744d09b9355b0
2019-03-08 15:26:15 -08:00