-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always post model version info on worker startup (platform 2) (#948)
* test edited migration * Update refs to field names * migration rename works * DISABLE_WORKER_REG now only skips model settings POST * pep * Add new env var * Add DISABLE_WORKER_SETTINGS_REG to skip model_settings post * PEP
- Loading branch information
Showing
8 changed files
with
89 additions
and
25 deletions.
There are no files selected for viewing
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
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
43 changes: 43 additions & 0 deletions
43
src/server/oasisapi/analysis_models/migrations/0009_auto_20240117_1401.py
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,43 @@ | ||
# Generated by Django 3.2.20 on 2024-01-17 14:01 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('analysis_models', '0008_analysismodel_run_mode'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='analysismodel', | ||
old_name='ver_ktools', | ||
new_name='v1_ver_ktools', | ||
), | ||
migrations.RenameField( | ||
model_name='analysismodel', | ||
old_name='ver_oasislmf', | ||
new_name='v1_ver_oasislmf', | ||
), | ||
migrations.RenameField( | ||
model_name='analysismodel', | ||
old_name='ver_platform', | ||
new_name='v1_ver_platform', | ||
), | ||
migrations.AddField( | ||
model_name='analysismodel', | ||
name='v2_ver_ktools', | ||
field=models.CharField(default=None, help_text='V2 worker, ktools version.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='analysismodel', | ||
name='v2_ver_oasislmf', | ||
field=models.CharField(default=None, help_text='V2 worker, oasislmf version.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='analysismodel', | ||
name='v2_ver_platform', | ||
field=models.CharField(default=None, help_text='V2 worker, platform version.', max_length=255, null=True), | ||
), | ||
] |
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