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

Add Job to run database migrations #45

Closed
wants to merge 2 commits into from

Conversation

mjasion
Copy link
Contributor

@mjasion mjasion commented Jan 13, 2023

Closes #35

Blocked by #42

Run Job pod to execute database migrations, and configure Backend, Beat and Worker pods to wait until migrations are not finished.

@mjasion mjasion self-assigned this Jan 13, 2023
@mjasion mjasion marked this pull request as draft January 13, 2023 21:05
Environment variables are loaded by envFrom instead writing them in a Pod spec.

In secret object the keys has been uppercased to easly load them and the postgres url has been put there.
@mjasion mjasion force-pushed the 35-implement-job-for-migrations-process branch from 0a21cff to 26bb5f7 Compare January 16, 2023 20:14
@mjasion
Copy link
Contributor Author

mjasion commented May 31, 2023

Closing this PR. In #102 migration was moved to initContainer

@mjasion mjasion closed this May 31, 2023
@mjasion mjasion deleted the 35-implement-job-for-migrations-process branch May 31, 2023 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Job for migrations process
1 participant