From 6fc510f473fdf0428971e35e11e2987cce93e1fc Mon Sep 17 00:00:00 2001 From: Erik Flodin Date: Tue, 29 Dec 2020 19:49:41 +0100 Subject: [PATCH] Include released versions of yadm in docker images Make it easier to test upgrades (#276). --- test/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/Dockerfile b/test/Dockerfile index fd46452..8b5d4df 100644 --- a/test/Dockerfile +++ b/test/Dockerfile @@ -56,6 +56,11 @@ RUN mkdir /yadm \ && echo "\t@echo 'Try using a docker parameter like -v \"\$\$PWD:/yadm:ro\"'" >> /yadm/Makefile \ && echo "\t@false" >> /yadm/Makefile +# Include released versions of yadm to test upgrades +ADD https://raw.githubusercontent.com/TheLocehiliosan/yadm/1.12.0/yadm /usr/local/bin/yadm-1.12.0 +ADD https://raw.githubusercontent.com/TheLocehiliosan/yadm/2.5.0/yadm /usr/local/bin/yadm-2.5.0 +RUN chmod +x /usr/local/bin/yadm-* + # /yadm will be the work directory for all tests # docker commands should mount the local yadm project as /yadm WORKDIR /yadm