~comcloudway/builds.sr.ht

2e39bafa4c15ea667f2342ef7e15e57ac560934d — Drew DeVault 5 years ago 3988eeb
Disable build cache during sanity check
1 files changed, 3 insertions(+), 0 deletions(-)

M images/alpine/functions
M images/alpine/functions => images/alpine/functions +3 -0
@@ 49,6 49,9 @@ sanity_check() {
	echo "Testing networking..."
	guest_ssh -p 8022 build@localhost curl https://example.org
	echo "Testing apk..."
	# repo cache doesn't work in this context
	guest_ssh -p 8022 build@localhost \
		sudo sed -i /etc/apk/repositories -e 's/repo-cache.local/dl-2.alpinelinux.org/g'
	guest_ssh -p 8022 build@localhost sudo apk update
	guest_ssh -p 8022 build@localhost sudo apk upgrade
	guest_ssh -p 8022 build@localhost sudo apk add htop