summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2016-06-28 01:57:04 +0200
committerstartxfr <clarue@startx.fr>2016-06-28 01:57:04 +0200
commit65af668c63096335aac30f92342981627c629410 (patch)
treec0026d13d476c3d7824c5b6be1baa53db46556cf
parent1dd8dd497f6e8f12cf607298ace355b7cbc5154a (diff)
downloadphpmyadmin-65af668c63096335aac30f92342981627c629410.tar.gz
phpmyadmin-65af668c63096335aac30f92342981627c629410.tar.bz2
phpmyadmin-65af668c63096335aac30f92342981627c629410.tar.xz
phpmyadmin-65af668c63096335aac30f92342981627c629410.zip
mise en place des test pour pma
-rw-r--r--Applications/phpmyadmin/docker-compose.yml4
-rw-r--r--docker-compose-app.yml5
-rwxr-xr-xrun-tests.sh13
3 files changed, 13 insertions, 9 deletions
diff --git a/Applications/phpmyadmin/docker-compose.yml b/Applications/phpmyadmin/docker-compose.yml
index 0610ee1..0eb2b59 100644
--- a/Applications/phpmyadmin/docker-compose.yml
+++ b/Applications/phpmyadmin/docker-compose.yml
@@ -14,5 +14,5 @@ application:
CONTAINER_INSTANCE: "application-phpmyadmin"
SERVER_NAME: "localhost"
volumes:
- - "/tmp/container/logs/phpmyadmin:/logs/apache"
- - "/tmp/container/phpmyadmin:/data/apache" \ No newline at end of file
+ - "/tmp/container/logs/phpmyadmin:/logs"
+ - "/tmp/container/phpmyadmin:/data" \ No newline at end of file
diff --git a/docker-compose-app.yml b/docker-compose-app.yml
index c4eba2a..cbb4b25 100644
--- a/docker-compose-app.yml
+++ b/docker-compose-app.yml
@@ -1,6 +1,7 @@
fedora_app_pma:
- build: Applications/phpmyadmin/
- container_name: "application-phpmyadmin"
+ extends:
+ file: Applications/phpmyadmin/docker-compose.yml
+ service: application
#fedora_app_rockmongo:
# build: Applications/rockmongo/
diff --git a/run-tests.sh b/run-tests.sh
index af60fe6..12f6e56 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -5,15 +5,18 @@ 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)"
+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 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 "========> TESTING APPLICATIONS Containers (latest)"
+sudo docker-compose -f docker-compose-app.yml up -d
echo "=================> TEST ENDED SUCCESSFULLY"
exit 0;