commit: 9e94e5e0e464ba589d25d60d6891c0a8dee0ecd7
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 22:54:39 2022 +0000
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 22:54:39 2022 +0000
URL:
https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=9e94e5e0
Add Merge Requeste test to projects_repositorys in db
Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org>
buildbot_gentoo_ci/db/model.py | 1 +
buildbot_gentoo_ci/db/projects.py | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/buildbot_gentoo_ci/db/model.py b/buildbot_gentoo_ci/db/model.py
index be305f2..3f1dc0a 100644
--- a/buildbot_gentoo_ci/db/model.py
+++ b/buildbot_gentoo_ci/db/model.py
@@ -144,6 +144,7 @@ class Model(base.DBConnectorComponent):
sa.Column('pkgcheck', sa.Enum('package','full','none'),
default='none'),
sa.Column('build', sa.Boolean, default=False),
sa.Column('test', sa.Boolean, default=False),
+ sa.Column('test_mr', sa.Boolean, default=False),
)
# projects etc/portage settings
diff --git a/buildbot_gentoo_ci/db/projects.py
b/buildbot_gentoo_ci/db/projects.py
index 8e2cd6f..9dcfa45 100644
--- a/buildbot_gentoo_ci/db/projects.py
+++ b/buildbot_gentoo_ci/db/projects.py
@@ -241,7 +241,8 @@ class ProjectsConnectorComponent(base.DBConnectorComponent):
auto=row.auto,
pkgcheck=pkgcheck,
build=row.build,
- test=row.test
+ test=row.test,
+ test_mr=row.test_mr
)
def _row2dict_projects_workers(self, conn, row):