-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1258 new branch use shared models in worker (#415)
* wip * add new apps + got rid of settings in the db shared settings * update to correct shared * update shared * update to latest shared * another shared to try * another shared sha * test migration staging * add timeseries migrate command * updated shared sha * fix prod retry_in issue
- Loading branch information
1 parent
f9f6888
commit 13536e9
Showing
7 changed files
with
51 additions
and
99 deletions.
There are no files selected for viewing
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
echo "Running Timeseries Django migrations" | ||
prefix="" | ||
if [ -f "/usr/local/bin/berglas" ]; then | ||
prefix="berglas exec --" | ||
fi | ||
|
||
$prefix python manage.py migrate --database timeseries rollouts | ||
$prefix python manage.py migrate --database timeseries pg_telemetry | ||
$prefix python manage.py migrate --database timeseries ts_telemetry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters