Skip to content

Commit

Permalink
refs #3 delete db area
Browse files Browse the repository at this point in the history
  • Loading branch information
hamapu committed Sep 30, 2019
1 parent 9157437 commit 0c6e8e8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ jobs: # a collection of steps
PGHOST: 127.0.0.1
PGUSER: circleci-demo-ruby
RAILS_ENV: test
- image: circleci/mysql:latest # database image
environment: # environment variables for database
RAILS_ENV: test
DB_HOST: 127.0.0.1
steps: # a collection of executable commands
- checkout # special step to check out source code to working directory

Expand All @@ -40,10 +36,6 @@ jobs: # a collection of steps
paths:
- vendor/bundle

- run:
name: Wait for DB
command: dockerize -wait tcp://127.0.0.1:3306 -timeout 120s

- run:
name: Database setup
command: bin/rails db:create || bin/rails db:migrate RAILS_ENV=test || bin/rails db:seed RAILS_ENV=test
Expand Down

0 comments on commit 0c6e8e8

Please sign in to comment.