Closed jfudally closed 4 years ago
@jfudally this seems to work for me locally (outside of Docker) if I modify config/database.yml as follows
@@ -31,10 +31,12 @@ default: &default
development:
<<: *default
+ host: localhost
database: minutesmaid_development
test:
<<: *default
+ host: localhost
database: minutesmaid_test
Putting these here for my own reference: https://blog.codeship.com/running-rails-development-environment-docker/ https://circleci.com/docs/2.0/local-cli/
I tried out the Docker setup. All the tests pass, but there were some error messages. They were:
What do I need to do to address these errors?
Thanks @jhsu802701!
That output is expected. Those are logging statements generated during the tests when I have tests that test for error conditions.
I don't think I've got true logging in here yet (just puts
at this point). With a real logging scaffold in here we could probably suppress logging during test runs.
This PR builds on #85 by creating a
circleci
compatible build:docker-compose.yml
for remote docker access: https://circleci.com/docs/2.0/docker-compose/.circleci/config.yml
to use docker-compose and execute commands remotely using a docker container attached to the docker-compose network: