-
Notifications
You must be signed in to change notification settings - Fork 49
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
feat: don't run Tokenserver migrations on startup #1286
feat: don't run Tokenserver migrations on startup #1286
Conversation
@@ -44,10 +44,13 @@ python: | |||
venv/bin/python -m pip install -r requirements.txt | |||
|
|||
run: python | |||
PATH=./venv/bin:$(PATH) RUST_LOG=debug RUST_BACKTRACE=full cargo run -- --config config/local.toml | |||
PATH="./venv/bin:$(PATH)" RUST_LOG=debug RUST_BACKTRACE=full cargo run -- --config config/local.toml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes an unrelated bug that causes make run
to fail if an item in your path has any whitespace characters in it.
This reverts commit 3cfcbdb.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs the e2e tests in CI to run them
Removed the |
Description
Since we're connecting to the pre-existing Tokenserver database, we should not be running the migrations on server startup.