Skip to content

bit4bit/ecto_sql_readiness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EctoSqlReadiness

How can we ensure that there are no pending migration during deployment? How can we ensure that Ecto is ready?

This library has been used with AWS Codedeploy, so we don't send any traffic to the containers unless we ensure that Ecto is ready to work.

Installation

If available in Hex, the package can be installed by adding ecto_sql_readiness to your list of dependencies in mix.exs:

def deps do
  [
    {:ecto_sql_readiness, "~> 0.2"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ecto_sql_readiness.

Contributing

  1. code
  2. MIX_ENV=test mix check

About

Is Ecto ready to handle connections?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages