standalone: add blessing to flights table.
PATCH 1/1 standalone: add blessing to flights table.
sg-check-tested wants this to exist.
I haven't implemented Osstest/JobDB/Standalone::job_ensure_started, which should transition from 'contructing' to 'running' because I'm not hitting that path.
Signed-off-by Ian Campbell <[email protected]>
--- Osstest/JobDB/Standalone.pm | 4 ++-- standalone-reset | 1 + 2 files changed, 3 insertions(+), 2 deletions(-)
Osstest/JobDB/Standalone.pm +2 -2
@@ -67,8 +67,8 @@ END } $dbh_tests->do(<<END, {}, $fl, $branch, $intended); INSERT INTO flights - (flight, branch, intended) - VALUES (?, ?, ?) + (flight, blessing, branch, intended) + VALUES (?, 'constructing', ?, ?) END return $fl }
standalone-reset +1 -0
@@ -131,6 +131,7 @@ else sqlite3 standalone.db <<END CREATE TABLE flights ( flight TEXT PRIMARY KEY, + blessing TEXT, intended TEXT, branch TEXT );
Signature · 1 line
1.8.5.2
ping
Quoted 39 lines · Ian Campbell
sg-check-tested wants this to exist.
I haven't implemented Osstest/JobDB/Standalone::job_ensure_started, which should transition from 'contructing' to 'running' because I'm not hitting that path.
Signed-off-by Ian Campbell <[email protected]>--- Osstest/JobDB/Standalone.pm | 4 ++-- standalone-reset | 1 + 2 files changed, 3 insertions(+), 2 deletions(-)Osstest/JobDB/Standalone.pm +2
-2@@ -67,8 +67,8 @@ END } $dbh_tests->do(<<END, {}, $fl, $branch, $intended); INSERT INTO flights - (flight, branch, intended) - VALUES (?, ?, ?) + (flight, blessing, branch, intended) + VALUES (?, 'constructing', ?, ?) END return $fl }standalone-reset +1
-0@@ -131,6 +131,7 @@ else sqlite3 standalone.db <<END CREATE TABLE flights ( flight TEXT PRIMARY KEY, + blessing TEXT, intended TEXT, branch TEXT );
Ian Jackson
Acked-byIan Campbell writes ("Re: [PATCH OSSTEST] standalone: add blessing to flights table."):
Quoted 10 lines
ping
Quoted 7 lines · Ian Campbell
sg-check-tested wants this to exist.
I haven't implemented Osstest/JobDB/Standalone::job_ensure_started, which should transition from 'contructing' to 'running' because I'm not hitting that path.
Signed-off-by Ian Campbell <[email protected]>
Acked-by Ian Jackson <[email protected]>