5 Commits

Author SHA1 Message Date
melanie witt
18df17d5ff Re-enable update_blueprint for patchset-created
The update_blueprint script has been updated to call the Gerrit REST API
instead of relying on the old Gerrit DB.

Depends-On: https://review.opendev.org/c/opendev/jeepyb/+/795912

Change-Id: Ie21ee33801429ef4398f70b22223ee1e9bea1301
2021-06-11 01:34:11 +00:00
Jeremy Stanley
84c63ff1bf Forward openstack-security ML to openstack-discuss
The openstack-security mailing list is officially closing, and wants
future attempts at posting to end up on openstack-discuss instead:

http://lists.openstack.org/pipermail/openstack-security/2021-June/006077.html

This was also the only remaining user of the notify-impact Gerrit
hook, so we can stop installing/running it.

Change-Id: Id60b781beb072366673b32326e32fd79637c1219
2021-06-03 17:57:54 +00:00
Jeremy Stanley
dbcc867cc7 Run update-bug on patchset-created again
Now that the update-bug script no longer tries to update bug
assignments, it's possible to run it on patchset-created events
again. Go back to doing that until someone has time to build a
suitable replacement for it.

This partially reverts commit
1ccf5e68e51815479381a941fd9cf4f469498c6d.

Change-Id: Idf589eb818d208d65d1f1430ddec962b015165c0
Depends-On: https://review.opendev.org/782538
2021-03-23 15:26:10 +00:00
Clark Boylan
1ccf5e68e5 Remove reviewdb config from Gerrit
This should only land once we are on Gerrit 3.x and happy with it. But
at this point the mysql reviewdb will not be used anymore and config for
it can be removed. We keep general mysql things like tools and backups
in place as the accountPatchReviewDb continues to live in MySQL.

This also comments out calls to jeepyb's welcome-message,
update-blueprint and update-bug entrypoints from the patchset-created
event hook, since they rely on database connections for the moment.
Calls to update-bug in change-abandoned and change-merged event
hooks are retained as those code paths don't rely on database
interaction nor attempt to load the removed configuration.

Change-Id: I6e24dbb223fd3f76954db3dd74a03887cf2e2a8b
2020-11-22 17:53: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