fixing dbench and removing cache, its not worth it

This commit is contained in:
chabad360 2018-08-01 16:04:33 -07:00
parent e421a9a23c
commit 3546d01053
2 changed files with 2 additions and 9 deletions

View file

@ -12,9 +12,7 @@ services:
- docker
install:
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
- docker-compose build
- mkdir -p ~/docker; docker save frappedocker_frappe > ~/docker/image.tar
- docker-compose up -d
- ./dbench init -d
- pip install --upgrade virtualenv
@ -29,9 +27,4 @@ script:
- docker-compose ps | grep -i redis-socketio
- docker-compose ps | grep -i mariadb
- python test.py
- docker-compose stop
cache:
directories:
- ~/docker
- docker-compose stop

2
dbench
View file

@ -40,7 +40,7 @@ then
elif [[ $1 == 'init' && $2 == 'd' ]]
then
frappe_installer
cat frappe-bench/sites/site1/site_config.json
docker exec -it frappe bash -c "cat frappe-bench/sites/site1/site_config.json"
elif [ $1 == 'init' ]
then