blob: 12f6e5612346f2c7f474298e6d7208cfe1a1a981 (
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
|
#!/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 "=================> TEST ENDED SUCCESSFULLY"
exit 0;
|