StackStorm / st2

StackStorm (aka "IFTTT for Ops") is event-driven automation for auto-remediation, incident responses, troubleshooting, deployments, and more for DevOps and SREs. Includes rules engine, workflow, 160 integration packs with 6000+ actions (see https://exchange.stackstorm.org) and ChatOps. Installer at https://docs.stackstorm.com/install/index.html
https://stackstorm.com/
Apache License 2.0
6.1k stars 746 forks source link

Update from Mongo 4.4 to Mongo 7 in CI #6246

Closed cognifloyd closed 2 months ago

cognifloyd commented 2 months ago

Switches from Mongo 4.4 to Mongo 7.0 using work by @guzzijones cherry-picked from #6236.

Also updates the redis container definition in the orquesta workflow to be consistent with ci workflow changes added in #6245.

cognifloyd commented 2 months ago

This has become so huge, I think it might need to be split into 3 PRs:

If anyone wants to review this as is, go for it. I won't start splitting this up until Monday or Tuesday (Sept 23-24).

guzzijones commented 2 months ago

I would rather not split this out. we can do the pymongo update in a separate pr in the future to avoid the debug log flood. I am guessing we can filter those out with pytest anyway.

cognifloyd commented 2 months ago

I moved this back to draft as I extracted the [database].ssl -> [database].tls option renaming in #6250. In that PR, I used snake_case for the options instead of the camelCase names in this PR. I also updated the st2.conf.sample generation to better report deprecations and use newer oslo_config features.

cognifloyd commented 2 months ago

I extracted "update mongoengine and pymongo" to #6252. Once that is merged, I will rebase this on master so it is only focused on using mongo 7 in CI.

cognifloyd commented 2 months ago

I just rebased this on master now that #6250 and #6252 have been merged. This PR is now focused on Makefile / CI updates to support MongoDB 7. So, this is ready for review.