summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
blob: af60fe6a6479a5be33ccea9b29c51e5b9b98129b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
echo "=================> STARTING TEST"
echo "=================> SETUP TEST ENVIRONMENT"
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 (latest)"
sudo docker-compose -f docker-compose-os.yml build
sudo docker-compose -f docker-compose-os.yml up -d
echo "========> TESTING SERVICES Containers (latest)"
sudo docker-compose -f docker-compose-sv.yml build
sudo docker-compose -f docker-compose-sv.yml up -d
#echo "========> TESTING APPLICATIONS Containers (latest)"
#sudo docker-compose -f docker-compose-app.yml build
#sudo docker-compose -f docker-compose-app.yml up -d
echo "=================> TEST ENDED SUCCESSFULLY"
exit 0;