diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-02-16 17:47:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-20 12:58:19 +0000 |
commit | c368d83bd6b34c2420c3d1d7269d8dc2edba1ce9 (patch) | |
tree | d6a905444fe2ea0f0313bc4b848430108ac17388 /bitbake/lib/toaster/bldcontrol/models.py | |
parent | a574f293fe16612df446d3b7fef71adcab4773e9 (diff) | |
download | poky-c368d83bd6b34c2420c3d1d7269d8dc2edba1ce9.tar.gz |
bitbake: toaster: bitbake cooker log saving and downloading
This patch brings in cooker log saving and proper download links.
* toasterui will now write the cooker log file if running in managed
mode
* the BuildRequest has a new state, REQ_ARCHIVE, indicating that the
build is completed, and the artifacts are ready to be grabbed
* the runbuild test execution commands will gather needed artifacts,
and save them to a storage directory selected during Toaster setup.
* the build dashboard, project builds and all builds pages have
permanent links for the cooker log
[YOCTO #7220]
[YOCTO #7206]
(Bitbake rev: fad80e36c9da663b000cdf2cb3c75440c6431d84)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/models.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/models.py b/bitbake/lib/toaster/bldcontrol/models.py index dc4afca2f7..25d94cd3fe 100644 --- a/bitbake/lib/toaster/bldcontrol/models.py +++ b/bitbake/lib/toaster/bldcontrol/models.py | |||
@@ -94,6 +94,7 @@ class BuildRequest(models.Model): | |||
94 | REQ_COMPLETED = 3 | 94 | REQ_COMPLETED = 3 |
95 | REQ_FAILED = 4 | 95 | REQ_FAILED = 4 |
96 | REQ_DELETED = 5 | 96 | REQ_DELETED = 5 |
97 | REQ_ARCHIVE = 6 | ||
97 | 98 | ||
98 | REQUEST_STATE = ( | 99 | REQUEST_STATE = ( |
99 | (REQ_CREATED, "created"), | 100 | (REQ_CREATED, "created"), |
@@ -102,6 +103,7 @@ class BuildRequest(models.Model): | |||
102 | (REQ_COMPLETED, "completed"), | 103 | (REQ_COMPLETED, "completed"), |
103 | (REQ_FAILED, "failed"), | 104 | (REQ_FAILED, "failed"), |
104 | (REQ_DELETED, "deleted"), | 105 | (REQ_DELETED, "deleted"), |
106 | (REQ_ARCHIVE, "archive"), | ||
105 | ) | 107 | ) |
106 | 108 | ||
107 | search_allowed_fields = ("brtarget__target",) | 109 | search_allowed_fields = ("brtarget__target",) |