Commit 14ae80c8 authored by Mateusz Kowalewski's avatar Mateusz Kowalewski
Browse files

built test environment

parent 101c53d4
Pipeline #120901441 passed with stages
in 80 minutes and 9 seconds
......@@ -37,7 +37,11 @@ if [ $? != 0 ]; then
PCMT_PROFILE=$profile PCMT_SECRET_CONF=$secret_conf docker-compose -f docker-compose.yml -f docker-compose.test.yml up -d
#PCMT_PROFILE=$DIR/../testup.sh up -d
source $DIR/wait-http.sh "http://localhost"
echo "$( docker logs pcmt_fpm_test_1 )"
#echo "$( docker ps )"
exit
#source $DIR/wait-http.sh "http://localhost:8080"
echo SUCCESS: PCMT Test now available at http://localhost:8080
#source $DIR/install-test-assets.sh
fi
exit
......@@ -50,12 +54,3 @@ fi
PCMT_PROFILE=$pcmt_profile $DIR/quick-up.sh $DIR/../ddev.sh up -d
source $DIR/wait-http.sh "http://localhost"
# install new assets
if [ 'test' == $pcmt_profile ]; then
echo Installing test database and assets
source $DIR/install-test-assets.sh
fi
echo SUCCESS: PCMT Test now available at http://localhost
\ No newline at end of file
......@@ -9,6 +9,8 @@ services:
fpm_test:
image: '${PCMT_REG}/pcmt:${PCMT_VER:-latest}'
restart: unless-stopped
ports:
- '8080:8080'
volumes:
- 'pim_test:/srv/pim'
- './pim/features:/srv/pim/features:rw'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment