[buildbot] buildmaster: fix unpinned buildbot package version

LEDE Commits lede-commits at lists.infradead.org
Mon May 15 08:39:51 PDT 2023


ynezz pushed a commit to buildbot.git, branch master:
https://git.openwrt.org/f8ad1d16e86745e60d3cd93b87670ca188dd9735

commit f8ad1d16e86745e60d3cd93b87670ca188dd9735
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Mon May 15 08:53:58 2023 +0200

    buildmaster: fix unpinned buildbot package version
    
    It seems, that current pip3 install pinning doesnt work properly as it
    can result in the following package versions installation:
    
     buildbot-3.6.1 buildbot-console-view-3.5.0 buildbot-grid-view-3.5.0
     buildbot-waterfall-view-3.5.0 buildbot-worker-3.5.0 buildbot-www-3.5.0
    
    So lets pin the buildbot package itself to BUILDBOT_VERSION as well.
    
    References: https://gitlab.com/openwrt/buildbot/-/jobs/3324049571#L1158
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 docker/buildmaster/Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docker/buildmaster/Dockerfile b/docker/buildmaster/Dockerfile
index b2134ce..9e939d3 100644
--- a/docker/buildmaster/Dockerfile
+++ b/docker/buildmaster/Dockerfile
@@ -30,6 +30,7 @@ RUN \
 RUN pip3 install -U pip
 RUN \
 	pip3 install \
+		"buildbot=$BUILDBOT_VERSION" \
 		"buildbot-www==$BUILDBOT_VERSION" \
 		"buildbot-waterfall-view==$BUILDBOT_VERSION" \
 		"buildbot-console-view==$BUILDBOT_VERSION" \




More information about the lede-commits mailing list