Guest User

Untitled

a guest
Aug 1st, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <% branch = `git branch | grep "*"`.sub('*', '').strip %>
  2. common: &common
  3. adapter: postgresql
  4. username:
  5. password:
  6. host: localhost
  7.  
  8. development:
  9. database: cp_<%= branch %>_development
  10. <<: *common
  11.  
  12. production:
  13. database: cp_<%= branch %>_production
  14. <<: *common
  15.  
  16. test: &test
  17. database: cp_<%= branch %>_test
  18. adapter: postgresql
  19. username:
  20. password:
  21. host: localhost
  22.  
  23. cucumber:
  24. <<: *test
Add Comment
Please, Sign In to add comment