aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2022-09-25 13:46:08 +0200
committerMagnus Granberg <zorry@gentoo.org>2022-09-25 13:46:08 +0200
commit3e54616897711b1958da178ca0578da08dd55cb3 (patch)
tree37701adf337b144353ae9af08b7c52c3a0d11e3d
parentAdd support for test on merge_request (diff)
downloadtinderbox-cluster-3e54616897711b1958da178ca0578da08dd55cb3.tar.gz
tinderbox-cluster-3e54616897711b1958da178ca0578da08dd55cb3.tar.bz2
tinderbox-cluster-3e54616897711b1958da178ca0578da08dd55cb3.zip
Fix a typo on setStausBuilds
Signed-off-by: Magnus Granberg <zorry@gentoo.org>
-rw-r--r--buildbot_gentoo_ci/db/builds.py2
-rw-r--r--buildbot_gentoo_ci/steps/builders.py2
-rw-r--r--buildbot_gentoo_ci/steps/logs.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/buildbot_gentoo_ci/db/builds.py b/buildbot_gentoo_ci/db/builds.py
index 6639ed5..57302ef 100644
--- a/buildbot_gentoo_ci/db/builds.py
+++ b/buildbot_gentoo_ci/db/builds.py
@@ -54,7 +54,7 @@ class BuildsConnectorComponent(base.DBConnectorComponent):
return self.db.pool.do(thd)
@defer.inlineCallbacks
- def setSatusBuilds(self, id, status):
+ def setStausBuilds(self, id, status):
updated_at = int(self.master.reactor.seconds())
def thd(conn, no_recurse=False):
diff --git a/buildbot_gentoo_ci/steps/builders.py b/buildbot_gentoo_ci/steps/builders.py
index 00980e3..aed9edb 100644
--- a/buildbot_gentoo_ci/steps/builders.py
+++ b/buildbot_gentoo_ci/steps/builders.py
@@ -333,7 +333,7 @@ class SetupPropertys(BuildStep):
project_build_data = self.getProperty('project_build_data')
project_build_data['status'] = 'in-progress'
project_build_data['buildbot_build_id'] = self.getProperty("buildnumber")
- yield self.gentooci.db.builds.setSatusBuilds(
+ yield self.gentooci.db.builds.setStausBuilds(
project_build_data['id'],
project_build_data['status'])
yield self.gentooci.db.builds.setBuildbotBuildIdBuilds(
diff --git a/buildbot_gentoo_ci/steps/logs.py b/buildbot_gentoo_ci/steps/logs.py
index 57f9394..becf7d1 100644
--- a/buildbot_gentoo_ci/steps/logs.py
+++ b/buildbot_gentoo_ci/steps/logs.py
@@ -596,7 +596,7 @@ class setBuildStatus(BuildStep):
def run(self):
self.gentooci = self.master.namedServices['services'].namedServices['gentooci']
project_build_data = self.getProperty('project_build_data')
- yield self.gentooci.db.builds.setSatusBuilds(
+ yield self.gentooci.db.builds.setStausBuilds(
project_build_data['id'],
self.getProperty('status')
)