From 3e05b38cb25a22bfe60f74a7e6eea875266c0171 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 5 Dec 2015 19:22:15 +0100 Subject: adding flavour fc23 and fc22 to the testing script --- run-tests.sh | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) (limited to 'run-tests.sh') diff --git a/run-tests.sh b/run-tests.sh index 5906beb..31bbc69 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -5,15 +5,45 @@ set -ev mkdir /tmp/startx-docker-images; cd /tmp/startx-docker-images; git clone https://github.com/startxfr/docker-images.git . -echo "=================> TESTING OS Container" +echo " " +echo "=================> TESTING FLAVOUR 'latest' " +echo "========> TESTING 'latest' OS Container" sudo docker-compose -f docker-compose-os.yml build sudo docker-compose -f docker-compose-os.yml up -d -echo "=================> TESTING SERVICES Containers" +echo "========> TESTING 'latest' SERVICES Containers" sudo docker-compose -f docker-compose-sv.yml build sudo docker-compose -f docker-compose-sv.yml up -d -#echo "=================> TESTING APPLICATIONS Containers" +#echo "========> TESTING 'latest' APPLICATIONS Containers" #sudo docker-compose -f docker-compose-app.yml build #sudo docker-compose -f docker-compose-app.yml up -d +echo "=================> TEST FLAVOUR 'latest' ENDED SUCCESSFULLY" +echo " " +echo "=================> TESTING FLAVOUR 'fc23' " +git checkout fc23 +echo "========> TESTING 'fc23' OS Container" +sudo docker-compose -f docker-compose-os.yml build +sudo docker-compose -f docker-compose-os.yml up -d +echo "========> TESTING 'fc23' SERVICES Containers" +sudo docker-compose -f docker-compose-sv.yml build +sudo docker-compose -f docker-compose-sv.yml up -d +#echo "========> TESTING 'fc23' APPLICATIONS Containers" +#sudo docker-compose -f docker-compose-app.yml build +#sudo docker-compose -f docker-compose-app.yml up -d +echo "=================> TEST FLAVOUR 'fc23' ENDED SUCCESSFULLY" +echo " " +echo "=================> TESTING FLAVOUR 'fc22' " +git checkout fc22 +echo "========> TESTING 'fc22' OS Container" +sudo docker-compose -f docker-compose-os.yml build +sudo docker-compose -f docker-compose-os.yml up -d +echo "========> TESTING 'fc22' SERVICES Containers" +sudo docker-compose -f docker-compose-sv.yml build +sudo docker-compose -f docker-compose-sv.yml up -d +#echo "========> TESTING 'fc22' APPLICATIONS Containers" +#sudo docker-compose -f docker-compose-app.yml build +#sudo docker-compose -f docker-compose-app.yml up -d +echo "=================> TEST FLAVOUR 'fc22' ENDED SUCCESSFULLY" +echo " " echo "=================> TEST ENDED SUCCESSFULLY" exit 0; -- cgit v1.2.3