summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm/migrations
diff options
context:
space:
mode:
authorSujith H <sujith.h@gmail.com>2016-04-06 17:46:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-06 23:10:29 +0100
commitdfa85109d6022dce47983ef8e887448b4e3dc48f (patch)
treec9da1e3925b3a48b0e6f1e7591b3340eb7a88aab /bitbake/lib/toaster/orm/migrations
parent5f862bb5674b9db54d07c87b9505ce23acae07cb (diff)
downloadpoky-dfa85109d6022dce47983ef8e887448b4e3dc48f.tar.gz
bitbake: toaster: models Add cancelled state to build outcome
A new state CANCELLED is introduced to, distinguish the state of build. [YOCTO #6787] (Bitbake rev: 404f406fecae879703bcfe96f3b65086b115fa8a) Signed-off-by: Sujith H <sujith.h@gmail.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm/migrations')
-rw-r--r--bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.py b/bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.py
new file mode 100644
index 0000000000..91a32a9e00
--- /dev/null
+++ b/bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.py
@@ -0,0 +1,19 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('orm', '0005_task_field_separation'),
11 ]
12
13 operations = [
14 migrations.AlterField(
15 model_name='build',
16 name='outcome',
17 field=models.IntegerField(default=2, choices=[(0, b'Succeeded'), (1, b'Failed'), (2, b'In Progress'), (3, b'Cancelled')]),
18 ),
19 ]