Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Moving custom migrations from cd to export service #2196

Merged
merged 4 commits into from
Jan 16, 2025

Conversation

sven-urbanski-freiheit-com
Copy link
Contributor

@sven-urbanski-freiheit-com sven-urbanski-freiheit-com commented Jan 13, 2025

This moves the custom db migrations from the cd-service to the manifest-repo-export-service.
The pure sql migrations are now run by both the cd-service and the manifest-repo-export-service.

Many functions just had to be moved to another service, hence the big git diff.

Now, the export-service takes care of the migrations during startup.
The cd-service does not run the migrations anymore during startup. Instead, it calls (and waits for) the export-service, which then handles the migrations.

This also adds a new helm parameter cd.grpcMaxRecvMsgSize.

Ref: SRX-V6RVYF

@sven-urbanski-freiheit-com sven-urbanski-freiheit-com requested a review from a team as a code owner January 13, 2025 16:36
@sven-urbanski-freiheit-com sven-urbanski-freiheit-com changed the title WIP: started with RunCustomMigrations fix: Moving custom migrations from cd to export service Jan 15, 2025
@sven-urbanski-freiheit-com sven-urbanski-freiheit-com force-pushed the su-migrate-migrations-content branch 4 times, most recently from 4bb5e7f to d277b91 Compare January 15, 2025 13:25
@sven-urbanski-freiheit-com sven-urbanski-freiheit-com merged commit da2c877 into main Jan 16, 2025
17 checks passed
@sven-urbanski-freiheit-com sven-urbanski-freiheit-com deleted the su-migrate-migrations-content branch January 16, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants