1 |
commit: 3e54616897711b1958da178ca0578da08dd55cb3 |
2 |
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 25 11:46:08 2022 +0000 |
4 |
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 25 11:46:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=3e546168 |
7 |
|
8 |
Fix a typo on setStausBuilds |
9 |
|
10 |
Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org> |
11 |
|
12 |
buildbot_gentoo_ci/db/builds.py | 2 +- |
13 |
buildbot_gentoo_ci/steps/builders.py | 2 +- |
14 |
buildbot_gentoo_ci/steps/logs.py | 2 +- |
15 |
3 files changed, 3 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/buildbot_gentoo_ci/db/builds.py b/buildbot_gentoo_ci/db/builds.py |
18 |
index 6639ed5..57302ef 100644 |
19 |
--- a/buildbot_gentoo_ci/db/builds.py |
20 |
+++ b/buildbot_gentoo_ci/db/builds.py |
21 |
@@ -54,7 +54,7 @@ class BuildsConnectorComponent(base.DBConnectorComponent): |
22 |
return self.db.pool.do(thd) |
23 |
|
24 |
@defer.inlineCallbacks |
25 |
- def setSatusBuilds(self, id, status): |
26 |
+ def setStausBuilds(self, id, status): |
27 |
updated_at = int(self.master.reactor.seconds()) |
28 |
def thd(conn, no_recurse=False): |
29 |
|
30 |
|
31 |
diff --git a/buildbot_gentoo_ci/steps/builders.py b/buildbot_gentoo_ci/steps/builders.py |
32 |
index 00980e3..aed9edb 100644 |
33 |
--- a/buildbot_gentoo_ci/steps/builders.py |
34 |
+++ b/buildbot_gentoo_ci/steps/builders.py |
35 |
@@ -333,7 +333,7 @@ class SetupPropertys(BuildStep): |
36 |
project_build_data = self.getProperty('project_build_data') |
37 |
project_build_data['status'] = 'in-progress' |
38 |
project_build_data['buildbot_build_id'] = self.getProperty("buildnumber") |
39 |
- yield self.gentooci.db.builds.setSatusBuilds( |
40 |
+ yield self.gentooci.db.builds.setStausBuilds( |
41 |
project_build_data['id'], |
42 |
project_build_data['status']) |
43 |
yield self.gentooci.db.builds.setBuildbotBuildIdBuilds( |
44 |
|
45 |
diff --git a/buildbot_gentoo_ci/steps/logs.py b/buildbot_gentoo_ci/steps/logs.py |
46 |
index 57f9394..becf7d1 100644 |
47 |
--- a/buildbot_gentoo_ci/steps/logs.py |
48 |
+++ b/buildbot_gentoo_ci/steps/logs.py |
49 |
@@ -596,7 +596,7 @@ class setBuildStatus(BuildStep): |
50 |
def run(self): |
51 |
self.gentooci = self.master.namedServices['services'].namedServices['gentooci'] |
52 |
project_build_data = self.getProperty('project_build_data') |
53 |
- yield self.gentooci.db.builds.setSatusBuilds( |
54 |
+ yield self.gentooci.db.builds.setStausBuilds( |
55 |
project_build_data['id'], |
56 |
self.getProperty('status') |
57 |
) |