summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
blob: ba65ec5689e199e20b8af024dec9e556f0d7e509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/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 "========> BUILDING OS Container (latest)"
sudo docker-compose -f docker-compose-os.yml build
echo "========> BUILDING SERVICES Containers (latest)"
sudo docker-compose -f docker-compose-sv.yml build
echo "========> BUILDING APPLICATIONS Containers (latest)"
sudo docker-compose -f docker-compose-app.yml build
echo "========> TESTING OS Container (latest)"
sudo docker-compose -f docker-compose-os.yml up -d
echo "========> TESTING SERVICES Containers (latest)"
sudo docker-compose -f docker-compose-sv.yml up -d
echo "========> TESTING APPLICATIONS Containers (latest)"
sudo docker-compose -f docker-compose-app.yml up -d
echo "========> RESULT"
sudo docker-compose -f docker-compose-os.yml ps
sudo docker-compose -f docker-compose-sv.yml ps
sudo docker-compose -f docker-compose-app.yml ps
echo "=================> TEST ENDED SUCCESSFULLY"
exit 0;