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 - docker
install: install:
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
- docker-compose build - docker-compose build
- mkdir -p ~/docker; docker save frappedocker_frappe > ~/docker/image.tar
- docker-compose up -d - docker-compose up -d
- ./dbench init -d - ./dbench init -d
- pip install --upgrade virtualenv - pip install --upgrade virtualenv
@ -30,8 +28,3 @@ script:
- docker-compose ps | grep -i mariadb - docker-compose ps | grep -i mariadb
- python test.py - python test.py
- docker-compose stop - docker-compose stop
cache:
directories:
- ~/docker

2
dbench
View file

@ -40,7 +40,7 @@ then
elif [[ $1 == 'init' && $2 == 'd' ]] elif [[ $1 == 'init' && $2 == 'd' ]]
then then
frappe_installer 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' ] elif [ $1 == 'init' ]
then then