packaging: factor the linux-wheels-x86_64 a bit stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 15 Nov 2024 16:27:41 +0100
branchstable
changeset 52263 391ddc987902
parent 52262 061bd7b06608
child 52264 c1a3e388b0e4
packaging: factor the linux-wheels-x86_64 a bit This will make introduction of more variant simpler and testing quicker
contrib/packaging/Makefile
--- a/contrib/packaging/Makefile	Fri Nov 15 16:25:38 2024 +0100
+++ b/contrib/packaging/Makefile	Fri Nov 15 16:27:41 2024 +0100
@@ -127,9 +127,14 @@
 .PHONY: linux-wheels
 linux-wheels: linux-wheels-x86_64
 
+
+img_reg="registry.heptapod.net/mercurial/ci-images"
+img_tag="v3.0"
+whl_sh="/src/contrib/packaging/build-linux-wheels.sh"
+
 .PHONY: linux-wheels-x86_64
 linux-wheels-x86_64:
-	docker run --rm -ti -v `pwd`/../..:/src registry.heptapod.net/mercurial/ci-images/core-wheel-x86_64-c:v3.0 /src/contrib/packaging/build-linux-wheels.sh
+	docker run --rm -ti -v `pwd`/../..:/src $(img_reg)/core-wheel-x86_64-c:$(img_tag) $(whl_sh)
 
 .PHONY: linux-wheels-i686
 linux-wheels-i686: