buildmaster: fix unpinned buildbot package version
authorPetr Štetiar <ynezz@true.cz>
Mon, 15 May 2023 06:53:58 +0000 (08:53 +0200)
committerPetr Štetiar <ynezz@true.cz>
Mon, 15 May 2023 15:36:01 +0000 (17:36 +0200)
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@true.cz>
docker/buildmaster/Dockerfile

index b2134cee4ee6a5281e37868a4639f32dfd9bbd05..9e939d3c41d82c535bfbb0a3d8edd692934295ed 100644 (file)
@@ -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" \