Skip to content

Commit 7a9bcff

Browse files
classabbyampthe-maldridge
authored andcommitted
services/nomad/build/buildbot-worker: use the internal mirror
that way we can build stuff properly even if sync to repo-default has been stopped
1 parent 5f24da8 commit 7a9bcff

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

services/nomad/build/buildbot-worker.nomad

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ XBPS_DEBUG_PKGS=yes
140140
XBPS_USE_GIT_REVS=yes
141141
XBPS_DISTFILES_MIRROR=https://sources.voidlinux.org
142142
XBPS_PRESERVE_PKGS=yes
143+
{{ range service "root-pkgs-internal" }}
144+
XBPS_MIRROR=http://{{ .Address }}:{{ .Port }}
145+
{{ end }}
143146
EOF
144147
destination = "local/xbps-src.conf"
145148
}
@@ -169,8 +172,10 @@ repository=/hostdir/binpkgs/multilib
169172
repository=/hostdir/binpkgs/multilib/nonfree
170173
{{ end }}
171174
{{ if eq "${group.value.name}" "aarch64" }}
172-
repository=https://repo-default.voidlinux.org/current
173-
repository=https://repo-default.voidlinux.org/current/musl
175+
{{ range service "root-pkgs-internal" }}
176+
repository=http://{{ .Address }}:{{ .Port }}
177+
repository=http://{{ .Address }}:{{ .Port }}/musl
178+
{{ end }}
174179
{{ end }}
175180
EOF
176181
destination = "local/xbps-repos.conf"

0 commit comments

Comments
 (0)