summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun-tests.sh36
1 files changed, 33 insertions, 3 deletions
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;