diff options
author | Helmut Grohne <helmut@subdivi.de> | 2020-10-07 16:48:12 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2020-10-07 16:48:12 +0200 |
commit | 7b5da3c5b65ee5633c42616d3e6ca3f3c7d4785c (patch) | |
tree | a39213ffa79f2189f7fb85f13bff524b650aa140 /build.py | |
parent | a52d12012b1befdf1f00d0fcd5101306c52271ff (diff) | |
download | crossqa-7b5da3c5b65ee5633c42616d3e6ca3f3c7d4785c.tar.gz |
add build architecture to schema of builds table
Diffstat (limited to 'build.py')
-rwxr-xr-x | build.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -93,10 +93,11 @@ def main(): do_build(source, version, architecture, args.server) with contextlib.closing(db.cursor()) as cur: cur.execute("""INSERT INTO builds - (source, version, architecture, success, starttime, - filename) VALUES (?, ?, ?, ?, ?, ?);""", - (source, version, architecture, success, timestamp, - filename)) + (source, version, buildarch, hostarch, success, + starttime, filename) + VALUES (?, ?, ?, ?, ?, ?);""", + (source, version, 'amd64', architecture, success, + timestamp, filename)) if requestid is not None: cur.execute("DELETE FROM buildrequests WHERE id = ?;", (requestid,)) |