567 Commits

Author SHA1 Message Date
Zuul
95184b5454 Merge "Add root cron jobs to gerrit" 2020-04-11 17:46:32 +00:00
Zuul
ff9ba8c50d Merge "Add review and etherpad to backup group" 2020-04-11 17:13:22 +00:00
Zuul
48fd1460a9 Merge "Install ep_headings module" 2020-04-11 16:59:35 +00:00
Monty Taylor
d475302682 Actually install patchset-created hook
Change-Id: I85a7dcc31f8991da2765a60b0d8f236aecc3024a
2020-04-11 09:44:06 -05:00
Monty Taylor
3620ae5886 Install ep_headings module
We need to install the ep_headings plugin, which we were doing
before. We could also do this by building a custom image, but for
now just bind-mount it in.

Change-Id: I95f7c0dff4f1de8709a1e5e32eb818ef2852a654
2020-04-11 08:39:54 -05:00
Zuul
6f0d320aa0 Merge "Set env vars pointing to correct file locations" 2020-04-10 23:57:54 +00:00
Monty Taylor
ca5549fc6c Add review and etherpad to backup group
We should probably back these up.

Change-Id: I1e174273faefacea98ebece7a90a1baf93d52245
2020-04-10 13:46:25 -05:00
Monty Taylor
38cb5da4bb Add root cron jobs to gerrit
These were managed by puppet and got missed in the original
transition.

Change-Id: Ica1e6cf1ccbcc66e58fcb1f47748022dc03aa8b8
2020-04-10 13:39:33 -05:00
Zuul
9579d7ce40 Merge "Change Etherpad default intro text" 2020-04-10 18:37:49 +00:00
Monty Taylor
27dfd250af Set env vars pointing to correct file locations
Files are bind-mounted into the container in different locations.
Set envvars pointing to the right places.

Also - we need to bind-mount the projects.yaml and projects.ini
files into the container.

While we're at it, move patchset-created to be a regular file.

Change-Id: Iacd3e921464b24479db13bbf7ae998b8d8e2103d
2020-04-10 13:29:50 -05:00
Zuul
497ebb9c2c Merge "Remove ansible-cron role" 2020-04-09 21:15:50 +00:00
Zuul
81c52855ac Merge "Remove run_all.sh and ansible cron job" 2020-04-09 20:34:24 +00:00
Monty Taylor
f7300215c7 Change Etherpad default intro text
The existing text has an out of date link. Update that. Also, mention
opendev.

Change-Id: Id57113fd5543e5c3639f6684da27275893e55bc8
2020-04-09 13:12:24 -05:00
Zuul
bf025942eb Merge "Add cron jobs that were managed by puppet" 2020-04-09 17:28:58 +00:00
Clark Boylan
62048eecc2 Switch meetpad to the opendev etherpad
The new opendev etherpad is up and running. While not in production yet
(we need to transition the DB from etherpad.openstack.org) it should be
fine to have meetpad start using it now as meetpad isn't in production
either.

Change-Id: Ic1917688cba37c03e45e3bccbce6fc723022b94c
2020-04-09 08:26:25 -07:00
Monty Taylor
9e6e57838f Set production NODE_ENV
Without this we run in development mode. The logs indicate this is
less good and production mode is faster/better.

Change-Id: Idc19bdcb84375f29cb973f5271e8c090465c7f5b
2020-04-08 14:04:39 -05:00
Monty Taylor
81a1e235d0 Configure etherpad to use utf8mb4
We need to set this in the settings.json.

While we're there, set the defaults in my.cnf. I don't think that
actually matters, but it also shouldn't hurt.

Change-Id: I52e65136383f6c06d1693dd3d396f527c7e0b377
2020-04-08 14:02:17 -05:00
Monty Taylor
ee67e26b4a Remove ansible-cron role
Once the previous patch has landed and run on system-config
then we can remove the role altogether.

Change-Id: I14fef0e178544d71390a6601915c745647435ab9
2020-04-08 10:46:55 -05:00
Monty Taylor
589521fd18 Remove run_all.sh and ansible cron job
Remove the script and the cronjob on bridge that runs it.

Change-Id: I45e4d9713f3ba4760ba384d13487c6214d068800
2020-04-08 10:46:55 -05:00
Zuul
b3b8391f45 Merge "Make a new dockerized etherpad.opendev.org" 2020-04-07 18:06:48 +00:00
Monty Taylor
b23515c623 Make a new dockerized etherpad.opendev.org
Upstream likes building the settings file into the image, but that's
less exciting, let's bind-mount ours in.

Depends-On: https://review.opendev.org/717491/
Change-Id: Ia1894d884ef2a84e1282345b77fe07bf8898f367
2020-04-07 11:10:57 -05:00
Monty Taylor
3b2f87105d Add cron jobs that were managed by puppet
These still exist, because puppet put them there. We should delete
them by hand on the server and then land this.

Change-Id: I7ee0c60fade0b29a52898a7edf64554d1aa61cae
2020-04-03 10:53:30 -05:00
Radosław Piliszek
cc4c46c2e8 Do not canonicalize URLs to registry.npmjs.org
Kolla Monasca Grafana images are currently not buildable in CI
due to:
404 Not Found - GET http://mirror.bhs1.ovh.openstack.org:8080/registry.npmjs/@types%2fcolor-name

The url-escaped slash gets mangled by Apache on its way to
registry which causes 404.

This patch fixes that.

Change-Id: I5a3a6551536e2d1e87aa074e0de7619a367b1971
2020-04-02 14:29:00 +02:00
Clark Boylan
77e09bd193 Switch meetpad to etherpad-dev
This is to test if newer etherpad-lite works with jitsi integration
better.

Note that etherpad-dev uses a self signed ssl cert. When testing this
you may have to navigate to https://etherpad-dev.openstack.org and
permanently accept the ssl cert there before using meetpad. Then when
testing is done you can go back and remove the exception to ssl
verification.

Change-Id: Ie5a3db3f3ab762445afff6281cb372f90afc1410
2020-04-01 09:38:55 -07:00
Michal Nasiadka
a1433563d3 Change CentOS 8 upstream mirror
Currently used mirror is not up to date and is not on the list of official
CentOS mirrors.
Changing to a mirror also located somewhere in US,TX - which should be
close-ish to DFW servers.

Change-Id: Id8267bc7e6c8a96ccdfd98c16390d36842f26de3
2020-04-01 16:19:12 +02:00
Zuul
acfffa1384 Merge "Use ansible debug callback plugin" 2020-04-01 05:50:53 +00:00
Zuul
1059cb6121 Merge "Change manage-projects default args" 2020-03-31 23:19:07 +00:00
Monty Taylor
5d238b1b57 Use ansible debug callback plugin
The normal callback plugin is unreadable for stdout and stderr things.
Update to use the debug plugin which prints their output nicely in
the way we'd like.

Change-Id: I3a6b31af7d6132a1ee31a280f7f21f3132856273
2020-03-31 15:54:58 -05:00
Zuul
27ba59f68d Merge "Correct jitsi-meet config file" 2020-03-31 20:32:29 +00:00
Monty Taylor
3401c32c62 Change manage-projects default args
Just set them to -v, which we set as an override in the playbook
in the previous change.

Change-Id: Ie18c9bbd7dfa3d274ce283f9152e2c27905d9d08
2020-03-31 12:42:54 -05:00
Zuul
2a2431611d Merge "Remove /tarballs proxy from mirrors" 2020-03-30 21:59:49 +00:00
Monty Taylor
bde5860f57 Parameterize manage-projects logging output
Change-Id: If4c456957fdce308ccafee0dfad8b627a85ea796
2020-03-30 13:53:39 -05:00
Zuul
a00499bf2f Merge "Really bindmount acls" 2020-03-29 15:38:56 +00:00
Monty Taylor
a2cd7d22c7 Really bindmount acls
There is a gerrit in the path.

Change-Id: I6b1a292e35a2de95de63bb90813cb6154573d8ce
2020-03-29 09:10:26 -05:00
Zuul
f986742ab9 Merge "Bind-mount acls dir to /home/gerrit2" 2020-03-28 21:36:59 +00:00
Zuul
7375566fd0 Merge "Use gerrit_vhost_name in projects.ini" 2020-03-28 20:30:44 +00:00
Monty Taylor
1a4e781173 Bind-mount acls dir to /home/gerrit2
Turns out our config has a bunch of hardcoded /home/gerrit2/acls
entries in it. That doesn't work if we're just pointing the
config file at /opt/project-config/gerrit/acls.

Change-Id: I387e446501e17a3bdd807807d5ef6b69b53abde5
2020-03-28 12:58:58 -05:00
Monty Taylor
1be28fddf3 Use gerrit_vhost_name in projects.ini
We use this to make the .gitreview file too, so our thought that
we could just use localhost was a little misguided.

Change-Id: I501b10b2003c7e04ca1ac345d14fa33916b3e60b
2020-03-28 12:06:24 -05:00
James E. Blair
7dafce1337 Correct jitsi-meet config file
This config file was auto-generated from an earlier attempt and
mistakenly used 'localhost.localdomain' rather than just 'localhost'.

Change-Id: I761fe24e50e299f78f9ee1b07aefb527c8b2ed44
2020-03-27 15:41:19 -07:00
Monty Taylor
cc1929d075 Add an image pull to manage-projects playbook
When we run manage-projects, we always want the latest image.

Add a task file to the gerrit role so that it can have access
to role default variables. Then call it from the playbook
with tasks_from.

Change-Id: I08bd10539d7f08e8759f1c22d66dea18821c9d42
2020-03-27 15:58:41 -05:00
Zuul
50391bcfad Merge "Run manage-projects on gerrit servers" 2020-03-27 18:34:14 +00:00
Zuul
66097bcfea Merge "Use our jitsi-meet image for meetpad" 2020-03-27 17:47:00 +00:00
James E. Blair
6ee1cfa736 Use our jitsi-meet image for meetpad
Change-Id: I0be6adf3852c7ab475ab6b4cfc8e53e207c382d1
2020-03-27 09:43:41 -07:00
Zuul
ce3a064133 Merge "Add meetpad server" 2020-03-27 14:44:30 +00:00
Monty Taylor
5d79086350 Run manage-projects on gerrit servers
We have a wrapper script now that works on the gerrit servers.
Run it after we run the gitea repo creation.

Remove the -it since this is not an interactive run. Add net=host
so that localhost maps. And set the server to localhost.

Don't run manage-projects in gate jobs for run-review yet, because
we don't have a functioning enough gerrit. We can follow up with
that.

Change-Id: I8c0eb5d7973815ae21d4d5bc1be8d4bdfe56d7fc
2020-03-25 17:50:52 -05:00
James E. Blair
8b093dacd5 Add meetpad server
Depends-On: https://review.opendev.org/714189
Change-Id: I5863aaa805a18f9085ee01c3205b0f9ad602922d
2020-03-25 07:44:24 -07:00
Monty Taylor
2d208f0df9 Actually write out the projects.ini config file
We have a template for it in tree, but we're not, you know,
templating it.

Change-Id: Ic6b3ecc62cdfc7c486a912ba4863c7c4c7734e0a
2020-03-24 14:39:12 -05:00
Ian Wienand
7187b313d8 Remove /tarballs proxy from mirrors
As described in the dependent change, which removes the environment
var to set this up, this is no longer required.

Story: #2006598
Task: #39014

Change-Id: I93455dd1512aeb9111feaf516abfb60695976663
Depends-On: https://review.opendev.org/714543
2020-03-24 09:20:01 +11:00
Zuul
c8b6312430 Merge "Install utility scripts for running jeepyb commands" 2020-03-23 14:34:51 +00:00
Zuul
cbdecbd696 Merge "Use dev subdir on review-dev for project-config things" 2020-03-23 14:34:49 +00:00