job.migrations package¶
Submodules¶
job.migrations.0001_initial module¶
-
class
job.migrations.0001_initial.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'trigger', u'0001_initial'), (u'error', u'0001_initial'), (u'node', u'0001_initial')]¶
-
operations
= [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'status', <django.db.models.fields.CharField>), (u'data', <util.deprecation.JSONStringField>), (u'results', <util.deprecation.JSONStringField>), (u'priority', <django.db.models.fields.IntegerField>), (u'timeout', <django.db.models.fields.IntegerField>), (u'max_tries', <django.db.models.fields.IntegerField>), (u'num_exes', <django.db.models.fields.IntegerField>), (u'cpus_required', <django.db.models.fields.FloatField>), (u'mem_required', <django.db.models.fields.FloatField>), (u'disk_in_required', <django.db.models.fields.FloatField>), (u'disk_out_required', <django.db.models.fields.FloatField>), (u'created', <django.db.models.fields.DateTimeField>), (u'queued', <django.db.models.fields.DateTimeField>), (u'started', <django.db.models.fields.DateTimeField>), (u'ended', <django.db.models.fields.DateTimeField>), (u'last_status_change', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>), (u'error', <django.db.models.fields.related.ForeignKey>), (u'event', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'job'}, name=u'Job'>, <CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'status', <django.db.models.fields.CharField>), (u'command_arguments', <django.db.models.fields.CharField>), (u'timeout', <django.db.models.fields.IntegerField>), (u'environment', <util.deprecation.JSONStringField>), (u'cpus_scheduled', <django.db.models.fields.FloatField>), (u'mem_scheduled', <django.db.models.fields.FloatField>), (u'disk_in_scheduled', <django.db.models.fields.FloatField>), (u'disk_out_scheduled', <django.db.models.fields.FloatField>), (u'disk_total_scheduled', <django.db.models.fields.FloatField>), (u'requires_cleanup', <django.db.models.fields.BooleanField>), (u'pre_started', <django.db.models.fields.DateTimeField>), (u'pre_completed', <django.db.models.fields.DateTimeField>), (u'pre_exit_code', <django.db.models.fields.IntegerField>), (u'job_started', <django.db.models.fields.DateTimeField>), (u'job_completed', <django.db.models.fields.DateTimeField>), (u'job_exit_code', <django.db.models.fields.IntegerField>), (u'post_started', <django.db.models.fields.DateTimeField>), (u'post_completed', <django.db.models.fields.DateTimeField>), (u'post_exit_code', <django.db.models.fields.IntegerField>), (u'stdout', <django.db.models.fields.TextField>), (u'stderr', <django.db.models.fields.TextField>), (u'current_stdout_url', <django.db.models.fields.URLField>), (u'current_stderr_url', <django.db.models.fields.URLField>), (u'results_manifest', <util.deprecation.JSONStringField>), (u'results', <util.deprecation.JSONStringField>), (u'created', <django.db.models.fields.DateTimeField>), (u'queued', <django.db.models.fields.DateTimeField>), (u'started', <django.db.models.fields.DateTimeField>), (u'ended', <django.db.models.fields.DateTimeField>), (u'cleaned_up', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>), (u'cleanup_job', <django.db.models.fields.related.ForeignKey>), (u'error', <django.db.models.fields.related.ForeignKey>), (u'job', <django.db.models.fields.related.ForeignKey>), (u'node', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'job_exe'}, name=u'JobExecution'>, <CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'name', <django.db.models.fields.CharField>), (u'version', <django.db.models.fields.CharField>), (u'title', <django.db.models.fields.CharField>), (u'category', <django.db.models.fields.CharField>), (u'description', <django.db.models.fields.CharField>), (u'author_name', <django.db.models.fields.CharField>), (u'author_url', <django.db.models.fields.CharField>), (u'is_system', <django.db.models.fields.BooleanField>), (u'is_long_running', <django.db.models.fields.BooleanField>), (u'is_active', <django.db.models.fields.BooleanField>), (u'is_operational', <django.db.models.fields.BooleanField>), (u'is_paused', <django.db.models.fields.BooleanField>), (u'requires_cleanup', <django.db.models.fields.BooleanField>), (u'uses_docker', <django.db.models.fields.BooleanField>), (u'docker_privileged', <django.db.models.fields.BooleanField>), (u'docker_image', <django.db.models.fields.CharField>), (u'interface', <util.deprecation.JSONStringField>), (u'error_mapping', <util.deprecation.JSONStringField>), (u'priority', <django.db.models.fields.IntegerField>), (u'timeout', <django.db.models.fields.IntegerField>), (u'max_tries', <django.db.models.fields.IntegerField>), (u'cpus_required', <django.db.models.fields.FloatField>), (u'mem_required', <django.db.models.fields.FloatField>), (u'disk_out_const_required', <django.db.models.fields.FloatField>), (u'disk_out_mult_required', <django.db.models.fields.FloatField>), (u'icon_code', <django.db.models.fields.CharField>), (u'created', <django.db.models.fields.DateTimeField>), (u'archived', <django.db.models.fields.DateTimeField>), (u'paused', <django.db.models.fields.DateTimeField>), (u'last_modified', <django.db.models.fields.DateTimeField>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'job_type'}, name=u'JobType'>, <AlterUniqueTogether unique_together=set([(u'name', u'version')]), name=u'jobtype'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'job_type', model_name=u'job'>]¶
-
job.migrations.0002_jobexecution_job_metrics module¶
-
class
job.migrations.0002_jobexecution_job_metrics.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0001_initial')]¶
-
operations
= [<AddField field=<util.deprecation.JSONStringField>, preserve_default=True, name=u'job_metrics', model_name=u'jobexecution'>]¶
-
job.migrations.0003_auto_20151016_0849 module¶
-
class
job.migrations.0003_auto_20151016_0849.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0002_jobexecution_job_metrics')]¶
-
operations
= [<AddField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'job_task_id', model_name=u'jobexecution'>, <AddField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'post_task_id', model_name=u'jobexecution'>, <AddField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'pre_task_id', model_name=u'jobexecution'>]¶
-
job.migrations.0004_auto_20151020_1059 module¶
-
class
job.migrations.0004_auto_20151020_1059.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0003_auto_20151016_0849')]¶
-
operations
= [<AlterField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'status', model_name=u'job'>]¶
-
job.migrations.0005_auto_20151030_1402 module¶
-
class
job.migrations.0005_auto_20151030_1402.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0004_auto_20151020_1059')]¶
-
operations
= [<AlterField field=<django.db.models.fields.TextField>, preserve_default=True, name=u'author_url', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.TextField>, preserve_default=True, name=u'description', model_name=u'jobtype'>]¶
-
job.migrations.0006_auto_20151106_1608 module¶
-
class
job.migrations.0006_auto_20151106_1608.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0005_auto_20151030_1402')]¶
-
operations
= [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'revision_num', <django.db.models.fields.IntegerField>), (u'interface', <util.deprecation.JSONStringField>), (u'created', <django.db.models.fields.DateTimeField>), (u'job_type', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'job_type_revision'}, name=u'JobTypeRevision'>, <AlterUniqueTogether unique_together=set([(u'job_type', u'revision_num')]), name=u'jobtyperevision'>]¶
-
job.migrations.0007_job_job_type_rev module¶
-
class
job.migrations.0007_job_job_type_rev.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0006_auto_20151106_1608')]¶
-
operations
= [<AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=False, name=u'job_type_rev', model_name=u'job'>]¶
-
job.migrations.0008_jobtype_trigger_rule module¶
-
class
job.migrations.0008_jobtype_trigger_rule.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'trigger', u'0001_initial'), (u'job', u'0007_job_job_type_rev')]¶
-
operations
= [<AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'trigger_rule', model_name=u'jobtype'>]¶
-
job.migrations.0009_jobtype_revision_num module¶
-
class
job.migrations.0009_jobtype_revision_num.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0008_jobtype_trigger_rule')]¶
-
operations
= [<AddField field=<django.db.models.fields.IntegerField>, preserve_default=True, name=u'revision_num', model_name=u'jobtype'>]¶
-
job.migrations.0010_auto_20151208_1503 module¶
-
class
job.migrations.0010_auto_20151208_1503.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0009_jobtype_revision_num')]¶
-
operations
= [<AlterField field=<django.db.models.fields.IntegerField>, preserve_default=True, name=u'max_tries', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.IntegerField>, preserve_default=True, name=u'priority', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.IntegerField>, preserve_default=True, name=u'timeout', model_name=u'jobtype'>]¶
-
job.migrations.0011_jobtype_max_scheduled module¶
-
class
job.migrations.0011_jobtype_max_scheduled.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0010_auto_20151208_1503')]¶
-
operations
= [<AddField field=<django.db.models.fields.IntegerField>, preserve_default=True, name=u'max_scheduled', model_name=u'jobtype'>]¶
-
job.migrations.0012_auto_20160310_1318 module¶
-
class
job.migrations.0012_auto_20160310_1318.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0011_jobtype_max_scheduled')]¶
-
operations
= [<AlterField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'last_modified', model_name=u'job'>, <AlterField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'last_modified', model_name=u'jobexecution'>]¶
-
job.migrations.0013_auto_20160316_1805 module¶
-
class
job.migrations.0013_auto_20160316_1805.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0012_auto_20160310_1318')]¶
-
operations
= [<AddField field=<util.deprecation.JSONStringField>, preserve_default=True, name=u'docker_params', model_name=u'job'>, <AddField field=<util.deprecation.JSONStringField>, preserve_default=True, name=u'docker_params', model_name=u'jobexecution'>, <AddField field=<util.deprecation.JSONStringField>, preserve_default=True, name=u'docker_params', model_name=u'jobtype'>]¶
-
job.migrations.0014_auto_20160317_1208 module¶
-
class
job.migrations.0014_auto_20160317_1208.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0013_auto_20160316_1805')]¶
-
operations
= [<AddField field=<django.db.models.fields.BooleanField>, preserve_default=True, name=u'delete_superseded', model_name=u'job'>, <AddField field=<django.db.models.fields.BooleanField>, preserve_default=True, name=u'is_superseded', model_name=u'job'>, <AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=True, name=u'root_superseded_job', model_name=u'job'>, <AddField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'superseded', model_name=u'job'>, <AddField field=<django.db.models.fields.related.OneToOneField>, preserve_default=True, name=u'superseded_job', model_name=u'job'>, <AlterField field=<django.db.models.fields.DateTimeField>, preserve_default=True, name=u'last_modified', model_name=u'job'>, <AlterIndexTogether name=u'job', index_together=set([(u'last_modified', u'job_type', u'status')])>]¶
-
job.migrations.0015_auto_20160420_1345 module¶
-
class
job.migrations.0015_auto_20160420_1345.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0014_auto_20160317_1208')]¶
-
operations
= [<RemoveField name=u'docker_params', model_name=u'job'>, <AddField field=<util.deprecation.JSONStringField>, preserve_default=True, name=u'configuration', model_name=u'job'>]¶
-
job.migrations.0016_auto_20160421_1553 module¶
-
class
job.migrations.0016_auto_20160421_1553.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0015_auto_20160420_1345'), (u'storage', u'0002_workspace_is_move_enabled')]¶
-
operations
= [<RunPython <function populate_job_configuration>>]¶
-
populate_job_configuration
(apps, schema_editor)¶
-
job.migrations.0017_auto_20160426_1556 module¶
-
class
job.migrations.0017_auto_20160426_1556.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0016_auto_20160421_1553'), (u'queue', u'0008_auto_20160421_1648')]¶
-
operations
= [<RemoveField name=u'docker_params', model_name=u'jobexecution'>, <RemoveField name=u'job_task_id', model_name=u'jobexecution'>, <RemoveField name=u'post_task_id', model_name=u'jobexecution'>, <RemoveField name=u'pre_task_id', model_name=u'jobexecution'>, <AddField field=<util.deprecation.JSONStringField>, preserve_default=True, name=u'configuration', model_name=u'jobexecution'>]¶
-
job.migrations.0018_auto_20160804_1402 module¶
-
class
job.migrations.0018_auto_20160804_1402.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0017_auto_20160426_1556')]¶
-
operations
= [<RemoveField name=u'current_stderr_url', model_name=u'jobexecution'>, <RemoveField name=u'current_stdout_url', model_name=u'jobexecution'>]¶
-
job.migrations.0019_taskupdate module¶
-
class
job.migrations.0019_taskupdate.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0018_auto_20160804_1402')]¶
-
operations
= [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'task_id', <django.db.models.fields.CharField>), (u'status', <django.db.models.fields.CharField>), (u'timestamp', <django.db.models.fields.DateTimeField>), (u'source', <django.db.models.fields.CharField>), (u'reason', <django.db.models.fields.CharField>), (u'message', <django.db.models.fields.TextField>), (u'created', <django.db.models.fields.DateTimeField>), (u'job_exe', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>,), options={u'db_table': u'task_update'}, name=u'TaskUpdate'>]¶
-
job.migrations.0020_auto_20161110_1517 module¶
-
class
job.migrations.0020_auto_20161110_1517.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0019_taskupdate')]¶
-
operations
= [<RemoveField name=u'cleaned_up', model_name=u'jobexecution'>, <RemoveField name=u'cleanup_job', model_name=u'jobexecution'>, <RemoveField name=u'requires_cleanup', model_name=u'jobexecution'>, <RemoveField name=u'requires_cleanup', model_name=u'jobtype'>, <AddField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'cluster_id', model_name=u'jobexecution'>]¶
-
job.migrations.0021_auto_20161115_1524 module¶
-
class
job.migrations.0021_auto_20161115_1524.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0020_auto_20161110_1517')]¶
-
operations
= [<AlterField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'reason', model_name=u'taskupdate'>, <AlterField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'source', model_name=u'taskupdate'>, <AlterField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'status', model_name=u'taskupdate'>, <AlterField field=<django.db.models.fields.CharField>, preserve_default=True, name=u'task_id', model_name=u'taskupdate'>]¶
-
job.migrations.0022_jobtype_configuration module¶
-
class
job.migrations.0022_jobtype_configuration.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0021_auto_20161115_1524')]¶
-
operations
= [<AddField field=<util.deprecation.JSONStringField>, preserve_default=True, name=u'configuration', model_name=u'jobtype'>]¶
-
job.migrations.0024_auto_20170412_1225 module¶
-
class
job.migrations.0024_auto_20170412_1225.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0023_jobtype_shared_mem_required')]¶
-
operations
= [<AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'configuration', model_name=u'job'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'data', model_name=u'job'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'results', model_name=u'job'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'configuration', model_name=u'jobexecution'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'environment', model_name=u'jobexecution'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'job_metrics', model_name=u'jobexecution'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'results', model_name=u'jobexecution'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'results_manifest', model_name=u'jobexecution'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'configuration', model_name=u'jobtype'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'docker_params', model_name=u'jobtype'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'error_mapping', model_name=u'jobtype'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'interface', model_name=u'jobtype'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'interface', model_name=u'jobtyperevision'>]¶
-
job.migrations.0025_auto_20170504_1534 module¶
job.migrations.0026_auto_20170510_1151 module¶
job.migrations.0027_auto_20170615_1652 module¶
-
class
job.migrations.0027_auto_20170615_1652.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0026_auto_20170510_1151')]¶
-
operations
= [<AddField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'resources', model_name=u'jobexecution'>, <AddField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'custom_resources', model_name=u'jobtype'>]¶
-
job.migrations.0028_jobinputfile module¶
-
class
job.migrations.0028_jobinputfile.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'storage', u'0008_auto_20170609_1443'), (u'job', u'0027_auto_20170615_1652')]¶
-
operations
= [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'job_input', <django.db.models.fields.CharField>), (u'created', <django.db.models.fields.DateTimeField>), (u'input_file', <django.db.models.fields.related.ForeignKey>), (u'job', <django.db.models.fields.related.ForeignKey>)], options={u'db_table': u'job_input_file'}, name=u'JobInputFile'>]¶
-
job.migrations.0029_auto_20170707_1034 module¶
-
class
job.migrations.0029_auto_20170707_1034.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0028_jobinputfile')]¶
-
operations
= [<RenameField new_name=u'mem_const_required', model_name=u'jobtype', old_name=u'mem_required'>, <AddField field=<django.db.models.fields.FloatField>, name=u'mem_mult_required', model_name=u'jobtype'>]¶
-
job.migrations.0030_remove_job_configuration module¶
job.migrations.0031_auto_20170822_1544 module¶
-
class
job.migrations.0031_auto_20170822_1544.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'error', u'0004_error_should_be_retried'), (u'node', u'0004_auto_20170524_1639'), (u'job', u'0030_remove_job_configuration'), (u'queue', u'0015_auto_20170731_1527')]¶
-
operations
= [<CreateModel fields=[(u'job_exe', <django.db.models.fields.related.OneToOneField>), (u'exe_num', <django.db.models.fields.IntegerField>), (u'task_results', <django.contrib.postgres.fields.jsonb.JSONField>), (u'status', <django.db.models.fields.CharField>), (u'queued', <django.db.models.fields.DateTimeField>), (u'started', <django.db.models.fields.DateTimeField>), (u'ended', <django.db.models.fields.DateTimeField>), (u'created', <django.db.models.fields.DateTimeField>), (u'error', <django.db.models.fields.related.ForeignKey>), (u'job', <django.db.models.fields.related.ForeignKey>), (u'job_type', <django.db.models.fields.related.ForeignKey>), (u'node', <django.db.models.fields.related.ForeignKey>)], options={u'db_table': u'job_exe_end'}, name=u'JobExecutionEnd'>, <CreateModel fields=[(u'job_exe', <django.db.models.fields.related.OneToOneField>), (u'exe_num', <django.db.models.fields.IntegerField>), (u'output', <django.contrib.postgres.fields.jsonb.JSONField>), (u'created', <django.db.models.fields.DateTimeField>), (u'job', <django.db.models.fields.related.ForeignKey>), (u'job_type', <django.db.models.fields.related.ForeignKey>)], options={u'db_table': u'job_exe_output'}, name=u'JobExecutionOutput'>, <RenameField new_name=u'input_file_size', model_name=u'jobexecution', old_name=u'disk_in_scheduled'>, <AddField field=<django.db.models.fields.IntegerField>, name=u'exe_num', model_name=u'jobexecution'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'job_type', model_name=u'jobexecution'>, <AlterField field=<django.db.models.fields.CharField>, name=u'command_arguments', model_name=u'jobexecution'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'environment', model_name=u'jobexecution'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'job_metrics', model_name=u'jobexecution'>, <AlterField field=<django.db.models.fields.DateTimeField>, name=u'last_modified', model_name=u'jobexecution'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'results', model_name=u'jobexecution'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'results_manifest', model_name=u'jobexecution'>, <AlterField field=<django.db.models.fields.CharField>, name=u'status', model_name=u'jobexecution'>, <AlterIndexTogether name=u'jobexecution', index_together=set([(u'job', u'exe_num')])>, <AlterIndexTogether name=u'jobexecutionoutput', index_together=set([(u'job', u'exe_num')])>, <AlterIndexTogether name=u'jobexecutionend', index_together=set([(u'job', u'exe_num')])>]¶
-
job.migrations.0032_job_node module¶
-
class
job.migrations.0032_job_node.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'node', u'0004_auto_20170524_1639'), (u'job', u'0031_auto_20170822_1544')]¶
-
operations
= [<AddField field=<django.db.models.fields.related.ForeignKey>, name=u'node', model_name=u'job'>]¶
-
job.migrations.0033_auto_20180105_2113 module¶
-
class
job.migrations.0033_auto_20180105_2113.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0032_job_node')]¶
-
operations
= [<AddField field=<django.db.models.fields.DateTimeField>, name=u'source_ended', model_name=u'job'>, <AddField field=<django.db.models.fields.DateTimeField>, name=u'source_started', model_name=u'job'>]¶
-
job.migrations.0034_auto_20180112_1759 module¶
-
class
job.migrations.0034_auto_20180112_1759.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0033_auto_20180105_2113')]¶
-
operations
= [<AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'data', model_name=u'job'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'results', model_name=u'job'>, <RenameField new_name=u'input_file_size', model_name=u'job', old_name=u'disk_in_required'>, <RenameField new_name=u'input', model_name=u'job', old_name=u'data'>, <RenameField new_name=u'output', model_name=u'job', old_name=u'results'>, <RemoveField name=u'cpus_required', model_name=u'job'>, <RemoveField name=u'disk_out_required', model_name=u'job'>, <RemoveField name=u'mem_required', model_name=u'job'>]¶
-
job.migrations.0035_auto_20180122_1444 module¶
-
class
job.migrations.0035_auto_20180122_1444.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'batch', u'0004_auto_20180122_1444'), (u'recipe', u'0019_recipetype_is_system'), (u'job', u'0034_auto_20180112_1759')]¶
-
operations
= [<AddField field=<django.db.models.fields.related.ForeignKey>, name=u'batch', model_name=u'job'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'recipe', model_name=u'job'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'root_recipe', model_name=u'job'>]¶
-
job.migrations.0036_auto_20180123_2042 module¶
-
class
job.migrations.0036_auto_20180123_2042.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'batch', u'0004_auto_20180122_1444'), (u'recipe', u'0020_recipe_batch'), (u'job', u'0035_auto_20180122_1444')]¶
-
operations
= [<AddField field=<django.db.models.fields.related.ForeignKey>, name=u'batch', model_name=u'jobexecution'>, <AddField field=<django.db.models.fields.related.ForeignKey>, name=u'recipe', model_name=u'jobexecution'>]¶
-
job.migrations.0037_auto_20180314_1827 module¶
-
class
job.migrations.0037_auto_20180314_1827.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0036_auto_20180123_2042')]¶
-
operations
= [<AddField field=<django.db.models.fields.DateTimeField>, name=u'seed_ended', model_name=u'jobexecutionend'>, <AddField field=<django.db.models.fields.DateTimeField>, name=u'seed_started', model_name=u'jobexecutionend'>]¶
-
job.migrations.0038_auto_20180622_1510 module¶
-
class
job.migrations.0038_auto_20180622_1510.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0037_auto_20180314_1827')]¶
-
operations
= [<AlterField field=<django.db.models.fields.FloatField>, name=u'cpus_required', model_name=u'jobtype'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'custom_resources', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.FloatField>, name=u'disk_out_const_required', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.FloatField>, name=u'disk_out_mult_required', model_name=u'jobtype'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'docker_params', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.NullBooleanField>, name=u'docker_privileged', model_name=u'jobtype'>, <AlterField field=<django.contrib.postgres.fields.jsonb.JSONField>, name=u'error_mapping', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.FloatField>, name=u'mem_const_required', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.FloatField>, name=u'mem_mult_required', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.FloatField>, name=u'shared_mem_required', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.IntegerField>, name=u'timeout', model_name=u'jobtype'>, <AlterField field=<django.db.models.fields.NullBooleanField>, name=u'uses_docker', model_name=u'jobtype'>]¶
-
job.migrations.0039_auto_20180622_1827 module¶
-
class
job.migrations.0039_auto_20180622_1827.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0038_auto_20180622_1510')]¶
-
operations
= [<AlterField field=<django.db.models.fields.IntegerField>, name=u'priority', model_name=u'job'>, <AlterField field=<django.db.models.fields.IntegerField>, name=u'timeout', model_name=u'job'>]¶
-
job.migrations.0040_auto_20180709_1807 module¶
-
class
job.migrations.0040_auto_20180709_1807.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0039_auto_20180622_1827')]¶
-
operations
= [<RenameField new_name=u'deprecated', model_name=u'jobtype', old_name=u'archived'>, <RenameField new_name=u'manifest', model_name=u'jobtype', old_name=u'interface'>, <RenameField new_name=u'manifest', model_name=u'jobtyperevision', old_name=u'interface'>]¶
-
job.migrations.0041_jobtypetag module¶
-
class
job.migrations.0041_jobtypetag.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0040_auto_20180709_1807')]¶
-
operations
= [<CreateModel fields=[(u'id', <django.db.models.fields.AutoField>), (u'job_type', <django.db.models.fields.CharField>), (u'tag', <django.db.models.fields.CharField>)], name=u'JobTypeTag'>]¶
-
job.migrations.0042_auto_20180802_1830 module¶
job.migrations.0043_remove_jobtypetag_job_type module¶
job.migrations.0044_jobtypetag_job_type module¶
-
class
job.migrations.0044_jobtypetag_job_type.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0043_remove_jobtypetag_job_type')]¶
-
operations
= [<AddField field=<django.db.models.fields.related.ForeignKey>, preserve_default=False, name=u'job_type', model_name=u'jobtypetag'>]¶
-
job.migrations.0045_auto_20180830_1812 module¶
-
class
job.migrations.0045_auto_20180830_1812.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0044_jobtypetag_job_type')]¶
-
operations
= [<AddField field=<django.db.models.fields.TextField>, name=u'docker_image', model_name=u'jobexecution'>, <AddField field=<django.db.models.fields.TextField>, name=u'docker_image', model_name=u'jobtyperevision'>, <AlterField field=<django.db.models.fields.CharField>, name=u'docker_image', model_name=u'jobtype'>]¶
-
job.migrations.0046_jobtyperevision_docker_image module¶
-
class
job.migrations.0046_jobtyperevision_docker_image.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0045_auto_20180830_1812')]¶
-
operations
= [<RunPython <function populate_job_type_revision_docker_image>>]¶
-
populate_job_type_revision_docker_image
(apps, schema_editor)¶
-
-
job.migrations.0046_jobtyperevision_docker_image.
get_tagged_docker_image
(manifest, docker_image)¶ Constructs a complete Docker image and tag with the correct packageVersion value
job.migrations.0047_jobtype_versionarray module¶
-
class
job.migrations.0047_jobtype_versionarray.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0046_jobtyperevision_docker_image')]¶
-
operations
= [<AddField field=<django.contrib.postgres.fields.array.ArrayField>, name=u'version_array', model_name=u'jobtype'>]¶
-
job.migrations.0048_auto_20180913_1632 module¶
-
class
job.migrations.0048_auto_20180913_1632.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0047_jobtype_versionarray')]¶
-
operations
= [<RunPython <function populate_job_type_version_array>>]¶
-
populate_job_type_version_array
(apps, schema_editor)¶
-
-
job.migrations.0048_auto_20180913_1632.
get_version_array
(version)¶ Constructs a complete Docker image and tag with the correct packageVersion value
job.migrations.0049_auto_20180927_1531 module¶
-
class
job.migrations.0049_auto_20180927_1531.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0048_auto_20180913_1632')]¶
-
operations
= [<AddField field=<django.db.models.fields.TextField>, name=u'source_collection', model_name=u'job'>, <AddField field=<django.db.models.fields.TextField>, name=u'source_sensor', model_name=u'job'>, <AddField field=<django.db.models.fields.TextField>, name=u'source_sensor_class', model_name=u'job'>, <AddField field=<django.db.models.fields.TextField>, name=u'source_task', model_name=u'job'>, <AlterField field=<django.db.models.fields.DateTimeField>, name=u'source_ended', model_name=u'job'>, <AlterField field=<django.db.models.fields.DateTimeField>, name=u'source_started', model_name=u'job'>]¶
-
job.migrations.0050_job_configuration module¶
job.migrations.0051_auto_20190211_1500 module¶
-
class
job.migrations.0051_auto_20190211_1500.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'ingest', u'0015_ingestevent'), (u'job', u'0050_job_configuration')]¶
-
operations
= [<AddField field=<django.db.models.fields.related.ForeignKey>, name=u'ingest_event', model_name=u'job'>, <AlterField field=<django.db.models.fields.related.ForeignKey>, name=u'event', model_name=u'job'>]¶
-
job.migrations.0052_jobtype_is_published module¶
job.migrations.0053_jobtype_unmet_resources module¶
job.migrations.0054_convert_manifest module¶
-
class
job.migrations.0054_convert_manifest.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0053_jobtype_unmet_resources'), (u'recipe', u'0037_remove_recipetype_trigger_rule')]¶
-
operations
= [<RunPython <function convert_interface_to_manifest>>]¶
-
-
job.migrations.0054_convert_manifest.
convert_interface_to_manifest
(apps, schema_editor)¶
-
job.migrations.0054_convert_manifest.
get_unique_name
(name)¶
job.migrations.0055_jobtype_v5_deprecation module¶
-
class
job.migrations.0055_jobtype_v5_deprecation.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0054_convert_manifest')]¶
-
operations
= [<RemoveField name=u'priority', model_name=u'job'>, <RemoveField name=u'timeout', model_name=u'job'>, <RemoveField name=u'author_name', model_name=u'jobtype'>, <RemoveField name=u'author_url', model_name=u'jobtype'>, <RemoveField name=u'category', model_name=u'jobtype'>, <RemoveField name=u'cpus_required', model_name=u'jobtype'>, <RemoveField name=u'custom_resources', model_name=u'jobtype'>, <RemoveField name=u'disk_out_const_required', model_name=u'jobtype'>, <RemoveField name=u'disk_out_mult_required', model_name=u'jobtype'>, <RemoveField name=u'docker_params', model_name=u'jobtype'>, <RemoveField name=u'docker_privileged', model_name=u'jobtype'>, <RemoveField name=u'error_mapping', model_name=u'jobtype'>, <RemoveField name=u'is_operational', model_name=u'jobtype'>, <RemoveField name=u'mem_const_required', model_name=u'jobtype'>, <RemoveField name=u'mem_mult_required', model_name=u'jobtype'>, <RemoveField name=u'priority', model_name=u'jobtype'>, <RemoveField name=u'shared_mem_required', model_name=u'jobtype'>, <RemoveField name=u'timeout', model_name=u'jobtype'>, <RemoveField name=u'uses_docker', model_name=u'jobtype'>, <RemoveField name=u'description', model_name=u'jobtype'>, <RemoveField name=u'title', model_name=u'jobtype'>, <RemoveField name=u'trigger_rule', model_name=u'jobtype'>]¶
-
job.migrations.0056_convert_strike_jobs module¶
-
class
job.migrations.0056_convert_strike_jobs.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0055_jobtype_v5_deprecation')]¶
-
operations
= [<RunPython <function convert_strike_job_inputs>>, <RunPython <function convert_scan_job_inputs>>]¶
-
-
job.migrations.0056_convert_strike_jobs.
convert_scan_job_inputs
(apps, schema_editor)¶ Converts any pending/queued/blocked/running scan job inputs to contain the new ‘SCAN_ID’ key instead of ‘Scan ID’
-
job.migrations.0056_convert_strike_jobs.
convert_strike_job_inputs
(apps, schema_editor)¶ Converts any strike job inputs to contain the new ‘STRIKE_ID’ key instead of ‘Strike ID’
job.migrations.0057_auto_20190603_1846 module¶
-
class
job.migrations.0057_auto_20190603_1846.
Migration
(name, app_label)¶ Bases:
django.db.migrations.migration.Migration
-
dependencies
= [(u'job', u'0056_convert_strike_jobs')]¶
-
operations
= [<RemoveField name=u'command_arguments', model_name=u'jobexecution'>, <RemoveField name=u'cpus_scheduled', model_name=u'jobexecution'>, <RemoveField name=u'disk_out_scheduled', model_name=u'jobexecution'>, <RemoveField name=u'disk_total_scheduled', model_name=u'jobexecution'>, <RemoveField name=u'ended', model_name=u'jobexecution'>, <RemoveField name=u'environment', model_name=u'jobexecution'>, <RemoveField name=u'error', model_name=u'jobexecution'>, <RemoveField name=u'job_completed', model_name=u'jobexecution'>, <RemoveField name=u'job_exit_code', model_name=u'jobexecution'>, <RemoveField name=u'job_metrics', model_name=u'jobexecution'>, <RemoveField name=u'job_started', model_name=u'jobexecution'>, <RemoveField name=u'last_modified', model_name=u'jobexecution'>, <RemoveField name=u'mem_scheduled', model_name=u'jobexecution'>, <RemoveField name=u'post_completed', model_name=u'jobexecution'>, <RemoveField name=u'post_exit_code', model_name=u'jobexecution'>, <RemoveField name=u'post_started', model_name=u'jobexecution'>, <RemoveField name=u'pre_completed', model_name=u'jobexecution'>, <RemoveField name=u'pre_exit_code', model_name=u'jobexecution'>, <RemoveField name=u'pre_started', model_name=u'jobexecution'>, <RemoveField name=u'results', model_name=u'jobexecution'>, <RemoveField name=u'results_manifest', model_name=u'jobexecution'>, <RemoveField name=u'status', model_name=u'jobexecution'>, <RemoveField name=u'stderr', model_name=u'jobexecution'>, <RemoveField name=u'stdout', model_name=u'jobexecution'>, <AlterIndexTogether name=u'jobexecution', index_together=set([])>, <AlterIndexTogether name=u'jobexecutionend', index_together=set([])>, <AlterIndexTogether name=u'jobexecutionoutput', index_together=set([])>, <AlterUniqueTogether unique_together=set([(u'job', u'exe_num')]), name=u'jobexecution'>, <AlterUniqueTogether unique_together=set([(u'job', u'exe_num')]), name=u'jobexecutionend'>, <AlterUniqueTogether unique_together=set([(u'job', u'exe_num')]), name=u'jobexecutionoutput'>]¶
-