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

DB schema upgrade thorugh SSH in github actions #46

Open
U-lis opened this issue Nov 10, 2023 · 0 comments
Open

DB schema upgrade thorugh SSH in github actions #46

U-lis opened this issue Nov 10, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@U-lis
Copy link
Collaborator

U-lis commented Nov 10, 2023

DB schema can be changed frequently and it'll happen again.
CI cannot update DB schema currently and need to be done in CI process.

The problem is, DB is inside private subnet so need to execute commads though SSH tunnel.

Expectations

  • DB schema should be updated in CI process.
    • alembic upgrade head
  • The command should be executed through SSH tunnel
    • The DB URI is different by environment so CI should get DB URI dynamically.
@U-lis U-lis added enhancement New feature or request help wanted Extra attention is needed labels Nov 10, 2023
@U-lis U-lis self-assigned this Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant