I encounter this error occasionally, table name can be an arbitrary table in the database. It can usually be fixed by rebuild without cache
a couple of times. BTW, I have never run into this on my local machine.
Here’s my circle.yml
, what am I doing wrong?
machine:
python:
version: 2.7.6
node:
version: 4.0
services:
- docker
dependencies:
pre:
- pip install awscli
- npm install npm -g
override:
- docker info
- docker build -t myorg/myrepo:$CIRCLE_SHA1 .
test:
pre:
- sudo sed -i "s/bind-address.*/bind-address = 0.0.0.0/" /etc/mysql/my.cnf
- sudo /etc/init.d/mysql restart
- npm i
override:
- ./node_modules/.bin/lab -c -t 100 -L -v -r html -o $CIRCLE_ARTIFACTS/coverage.html
- docker run -d --net=host -e CI=true -e NODE_ENV=test myorg/myrepo:$CIRCLE_SHA1; sleep 10
- curl --retry 10 --retry-delay 5 -v http://localhost:8378
deployment:
production:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push myorg/myrepo:$CIRCLE_SHA1
- chmod u+x eb-deploy.sh && ./eb-deploy.sh
staging:
branch: staging
commands:
- chmod u+x eb-deploy.sh && ./eb-deploy.sh