Skip to content

Commit a60650b

Browse files
classabbyampthe-maldridge
authored andcommitted
services/pkg/buildbot{,-builder}: update to buildbot 4.2.1
1 parent 7ec2a82 commit a60650b

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

services/pkg/buildbot-builder/Dockerfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
FROM ghcr.io/void-linux/void-glibc-full:20240526R1 AS build
1+
FROM ghcr.io/void-linux/void-glibc-full:latest AS build
22

33
RUN xbps-install -Suy xbps && xbps-install -uy git go
4-
ARG GO_XBPS_SRC_VERSION=4c394976975f7e84062f56d437b41a0d48043792
4+
5+
ARG GO_XBPS_SRC_VERSION=0411f1b69a21103ec39ae6b0160b47cfc2c3e880
6+
57
RUN env GOBIN=/usr/local/bin GOMODCACHE=/tmp/go \
68
go install -v github.com/Duncaen/go-xbps-src/cmd/xbps-src-make@$GO_XBPS_SRC_VERSION
79

810
FROM build AS buildbot-builder
911
RUN xbps-install -Suy xbps && xbps-install -uy python3 tini git curl bash make rsync
1012
COPY --from=build /usr/local/bin/xbps-src-make /usr/local/bin/xbps-src-make
11-
RUN rm -rf /var/cache/xbps && \
13+
RUN rm -rf /var/cache/xbps /tmp/* && \
1214
groupadd --gid 418 void-builder && \
1315
useradd --uid 418 --gid 418 -G xbuilder -M -d /buildbot void-builder && \
1416
mkdir /venv /buildbot && \
1517
chown void-builder:void-builder /venv /buildbot
1618
USER void-builder
19+
1720
# version must be synced with ../buildbot
21+
ARG BUILDBOT_VERSION=4.2.1
22+
1823
RUN python3 -m venv /venv && \
1924
/venv/bin/pip3 install wheel && \
20-
/venv/bin/pip3 install 'buildbot-worker~=4.0.0'
25+
/venv/bin/pip3 install 'buildbot-worker~='$BUILDBOT_VERSION
2126
WORKDIR /buildbot
2227
RUN mkdir -p /buildbot && \
2328
ln -sf /local/info /buildbot/info && \

services/pkg/buildbot/Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
FROM ghcr.io/void-linux/void-glibc-full:20240526R1
1+
FROM ghcr.io/void-linux/void-glibc-full:latest
2+
3+
RUN xbps-install -Suy xbps && xbps-install -uy python3 tini git curl && rm -rf /var/cache/xbps /tmp/*
24

3-
RUN xbps-install -Suy xbps && xbps-install -uy python3 tini git curl
4-
ARG THEME_VERSION=v0.1.0
55
# version must be synced with ../buildbot-worker
6+
ARG BUILDBOT_VERSION=4.2.1
7+
ARG THEME_VERSION=v0.1.0
8+
69
RUN python3 -m venv /venv && \
710
/venv/bin/pip3 install wheel && \
8-
/venv/bin/pip3 install 'buildbot[tls,bundle]~=4.0.0' treq \
11+
/venv/bin/pip3 install 'buildbot[tls,bundle]~='$BUILDBOT_VERSION \
912
buildbot-prometheus buildbot-netauth \
1013
git+https://github.com/void-linux/buildbot-theme.git@$THEME_VERSION
1114
WORKDIR /buildbot

0 commit comments

Comments
 (0)