17361 Commits

Author SHA1 Message Date
Zuul
a320e11aeb Merge "Serve matrix well-known files from apache" 2021-08-21 07:12:25 +00:00
James E. Blair
2a697f8ecd Serve matrix well-known files from apache
So that we can set the CORS header

Change-Id: I49eab2bda9a6b636a30384f7590c765079d31b20
2021-08-20 22:03:45 -07:00
Tristan Cacqueray
0839fbd223 Update gerritbot-matrix to the latest version for on behalf annotation
This change updates the gerrit-matrix image version.

Change-Id: I56979c11c8b6691d800a23506488e29dbfff9762
2021-08-20 21:57:11 +00:00
Tristan Cacqueray
690c8ec24e Add matrix term accept instruction
This change adds a missing step to accept matrix term required
to use the identity lookup service.

Change-Id: I4f6ad60d983bfc82342ee7d69659074c91296dc1
2021-08-20 18:06:15 +00:00
Zuul
df5322df97 Merge "Matrix-eavesdrop: handle notices" 2021-08-20 17:52:34 +00:00
Zuul
883111ed08 Merge "Add gerritbot-matrix identity lookup configuration" 2021-08-20 17:43:49 +00:00
James E. Blair
0536be7c2c Matrix-eavesdrop: handle notices
This will log the gerritbot messages

Change-Id: Ic777bf8f8b7d48ae177ea432071df232a39ee9a2
2021-08-20 09:35:38 -07:00
Zuul
8ad47150e7 Merge "Stop redirecting for the paste site" 2021-08-19 23:05:27 +00:00
Jeremy Stanley
e2649a1aba Stop redirecting for the paste site
The pastebinit command-line tool hard-codes an allowed list of
pastebin URLs, one of which is "http://paste.openstack.org" so
redirecting to HTTPS and to other hostnames seems to break it.

It has a specific user-agent, so allow plain HTTP access for this
tool, but redirect others.

Change-Id: Ia7c983986e6e9c08299ded5282a83761448b35bb
2021-08-19 15:21:03 +10:00
Zuul
006dac67db Merge "Stop requiring puppet things for afs, eavesdrop, and nodepool" 2021-08-18 19:37:22 +00:00
Zuul
e672fcc733 Merge "Run remote-puppet-else daily instead of hourly" 2021-08-18 19:37:20 +00:00
Zuul
6a32ec299f Merge "Run infra-prod-service-zuul-preview daily instaed of hourly" 2021-08-18 19:33:43 +00:00
Zuul
e4f806f110 Merge "Add additional post project rename reindexing" 2021-08-18 17:20:05 +00:00
Clark Boylan
652ea73013 Stop requiring puppet things for afs, eavesdrop, and nodepool
These services are all managed with ansible now and don't need to be
triggered when puppet updates.

Change-Id: Ie32b788263724ad9a5ca88a6406290309ec8c87a
2021-08-17 15:58:17 -07:00
Clark Boylan
ce5d207dbb Run remote-puppet-else daily instead of hourly
Update the file matchers to actually match the current set of puppet
things. This ensure the deploy job runs when we want it and we can catch
up daily instead of hourly.

Previously a number of the matchers didn't actually match the puppet
things because the path prefix was wrong or works were in different
orders for the dir names.

Change-Id: I3510da81d942cf6fb7da998b8a73b0a566ea7411
2021-08-17 15:54:38 -07:00
Clark Boylan
ffe06527de Run infra-prod-service-zuul-preview daily instaed of hourly
This is being done beacuse we don't make many changes to the
zuul-preview service but it runs in the hourly buildset starving deploy
runs. Since this doesn't change much we can move it to the daily run
instead.

If we need to update it we can run the playbook manually or land a
change to trigger it.

Change-Id: I89d2c712fcfd18bd4f694b2c90067295253b8836
2021-08-17 15:45:17 -07:00
Clark Boylan
268fc98bd7 Remove extra service-codesearch job in deploy
This job was listed twice. Remove the extra one for clarity.

Change-Id: I7aa39e3757d6562af474ec7c9cfdda7d8024cd1c
2021-08-16 11:42:37 -07:00
Clark Boylan
711bf9e9f8 Run the cloud launcher daily instead of hourly
This is a job that takes quite a bit of time, but only rarely do we need
the updates encoded in this job. Move the job from our hourly deployment
to the daily deployment to make its impact less painful.

Change-Id: I724bcdd67f4c324f497a9d8239bcfd8d37528956
2021-08-16 11:41:37 -07:00
Zuul
edcf8462b3 Merge "Remove 2 servers that don't exist" 2021-08-15 23:48:24 +00:00
Zuul
5393958864 Merge "Update our project rename docs" 2021-08-14 12:28:12 +00:00
Clark Boylan
87a67c7656 Update our project rename docs
This update captures that we host projects outside of openstack and
intend for projects like openstack or others to do some steps on their
own. We also update this to reflect chagnes in the configuration
management and deployment tooling that we use today.

Change-Id: I0bc0ce335fd90e6187253e18007361a133a8f30c
2021-08-13 13:33:48 -07:00
Zuul
805cc31912 Merge "Upgrade etherpad to 1.8.14" 2021-08-13 14:31:21 +00:00
Zuul
46033b48e1 Merge "Remove port 22 from webservers extra ports" 2021-08-12 17:52:52 +00:00
Zuul
be1f6ddcad Merge "Test port 9001 on eavesdrop" 2021-08-12 17:52:50 +00:00
James E. Blair
a10868424a Remove 2 servers that don't exist
Change-Id: If7fc2d562226f636cd1c639dc9d6c441bd4dc4eb
2021-08-12 10:30:19 -07:00
Clark Boylan
5f51af5974 Upgrade etherpad to 1.8.14
This upgrades etherpad to 1.8.14 which will pull in a number of fixes as
well as dropped support for IE.

Change-Id: If9a85d3b606af700da1ab34f1a893d9c3b5f8416
2021-08-12 08:31:54 -07:00
Zuul
8adc5a183d Merge "gerrit docs : remove old database docs/update duplicate account info" 2021-08-11 23:15:33 +00:00
Ian Wienand
d4ba30251b gerrit docs : remove old database docs/update duplicate account info
A lot of the current sections here talk about modify the Gerrit
database that no longer exists.  Remove these.

Update the section on duplicate accounts to handle removing the second
account via NoteDB and the API.

Change-Id: I2139ff33d87bf42e4453f6e7252fcc427594967a
2021-08-12 08:37:34 +10:00
Clark Boylan
630a4531db Add additional post project rename reindexing
If we update group names we should reindex the groups index and I think
that if we update project ACLs we should reindex the project index. Add
these reindexes to the post rename reindexing list. Both should be cheap
compared to the changes reindex.

Change-Id: I7f855c5ad52c072f77d109ae372d93f3fc49c784
2021-08-11 14:59:25 -07:00
James E. Blair
fd4fd57409 Remove port 22 from webservers extra ports
This isn't necessary since it's hard-coded into the file.  Let's
not add it where it isn't needed lest we confuse ourselves into
thinking it's necessary.

Change-Id: I011c647bb85e145e55fb6feb19facdedec180bf1
2021-08-11 14:21:34 -07:00
James E. Blair
8d76a7cd99 Test port 9001 on eavesdrop
We merged change I9459e47ecfd19b27b7adcaee9ce91f80d51c124d which
should have opened this port but did not.  Add testing for it.

Remove eavesdrop from webservers group

This was overridding the custom iptables ports that were being set
in the eavesdrop group vars file.  There appears to be no other use
for the webservers group.

Change-Id: I7109f1472176ff39482f9bdfc8462e5f525f791c
2021-08-11 14:20:41 -07:00
Zuul
2927d6f59f Merge "Add more gerrit events for the gerritbot test room" 2021-08-10 23:32:40 +00:00
Zuul
92ead4baa1 Merge "Remove the mysql support from our gerrit role and image" 2021-08-10 23:32:37 +00:00
Tristan Cacqueray
d4ad412a37 Add more gerrit events for the gerritbot test room
Change-Id: If1b87cebc3ca70d54ff99f07bd1ef9f7c32b7a50
2021-08-10 21:19:36 +00:00
Zuul
06d67f7576 Merge "Add gerritbot-matrix health check and expose prometheus monitoring" 2021-08-10 20:45:00 +00:00
Clark Boylan
75e0cf106a Remove the mysql support from our gerrit role and image
We are now using the mariadb jdbc connector in production and no longer
need to include the mysql legacy connector in our images. We also don't
need support for h2 or mysql as testing and prod are all using the
mariadb connector and local database.

Note this is a separate change to ensure everything is happy with the
mariadb connector before we remove the fallback mysql connector from our
images.

Change-Id: I982d3c3c026a5351bff567ce7fbb32798718ec1b
2021-08-10 13:06:54 -07:00
Zuul
2f230ef920 Merge "hound: clear git lockfiles before starting daemon" 2021-08-10 04:09:14 +00:00
Zuul
b087011f97 Merge "borg-backup-server: log prune output to file" 2021-08-10 03:54:58 +00:00
Zuul
cc4a3f8523 Merge "Update gitea project creation to only use the REST API" 2021-08-09 19:27:54 +00:00
Zuul
ae0fc4d97f Merge "Replace callback_whitelist with callback_enabled" 2021-08-09 04:05:28 +00:00
Tristan Cacqueray
16d57732b4 Add gerritbot-matrix identity lookup configuration
This change enables the bot to loopup gerrit identity on the matrix.

Change-Id: I18d286e249cc02b83c97a575de564fe1a6d984aa
2021-08-08 21:28:58 +00:00
Tristan Cacqueray
32a38a4b83 Add gerritbot-matrix health check and expose prometheus monitoring
This change enables monitoring the gerritbot-matrix service metrics.

Change-Id: I9459e47ecfd19b27b7adcaee9ce91f80d51c124d
2021-08-08 17:35:45 +00:00
Zuul
4051f824c8 Merge "Cleanup unused puppet modules from modules.env" 2021-08-06 23:31:24 +00:00
Zuul
84091f5de4 Merge "Improve gerrit known_hosts management" 2021-08-06 17:10:19 +00:00
Zuul
a82266560c Merge "system-config-roles: test centos-8-stream" 2021-08-06 02:24:31 +00:00
Zuul
85e32638db Merge "Serve gating.dev static website" 2021-08-06 00:20:25 +00:00
Zuul
20cd0910cd Merge "lodgeit: disable getRecent API endpoint" 2021-08-05 23:13:47 +00:00
Clark Boylan
004cf7645a Update gitea project creation to only use the REST API
Setting gitea project settings like wiki and issue tracker settings was
previously done via hijacking web ui requests. We now have a REST API
that is capable of setting things items. Using this API should be more
reliable as the API is versioned.

Update the gitea project creation code to use this API for more
stability. As a nice side effect the code is simplified quite a bit as
we can combine a few actions that were previously separate like updating
descriptions and default branches.

As a side note this fixes a bug where we hardcoded setting master as the
default branch despite making that configurable.

Change-Id: I101dd8f81a2cb91655f6de878bc94350aeb1fc0c
2021-08-05 13:21:04 -07:00
Clark Boylan
8a85c1dce1 Update to gitea v1.14.6
There are no diffs in the template files between v1.14.5 and v1.14.6.
This should be a safe update.

Upstream indicates bugfixes around cancelling batched file catting as
well as security updates around jwt and auth.

Change-Id: I2799c62bb3f1fb5e62fc6e3773ec8b9a38ceddfa
2021-08-05 13:17:16 -07:00
Zuul
5c99569a5d Merge "Use the mariadb jdbc connector in gerrit" 2021-08-05 18:44:11 +00:00