codeamp / circuit

CodeAmp API. Built with Golang, GraphQL, GORM and Socket-IO
Apache License 2.0
21 stars 6 forks source link

Add database plugin with initial Postgres support #441

Closed drshrey closed 5 years ago

drshrey commented 5 years ago

Addresses the need for automated database provisioning with a database plugin. Also contains support for creating and destroying PostgreSQL databases

Database Plugin Spec

Required input artifacts:

SHARED_DATABASE_HOST
SHARED_DATABASE_ADMIN_USERNAME
SHARED_DATABASE_ADMIN_PASSWORD
SHARED_DATABASE_PORT
DB_TYPE

Outputs artifacts:

DB_NAME
DB_USER
DB_PASSWORD
codecov[bot] commented 5 years ago

Codecov Report

Merging #441 into master will increase coverage by 0.03%. The diff coverage is 59.18%.

@@            Coverage Diff             @@
##           master     #441      +/-   ##
==========================================
+ Coverage   57.98%   58.01%   +0.03%     
==========================================
  Files          52       56       +4     
  Lines        5612     5759     +147     
==========================================
+ Hits         3254     3341      +87     
- Misses       2036     2078      +42     
- Partials      322      340      +18