Browse Source

workaround db connection

Roy Kaldung 9 years ago
parent
commit
29020fc18a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .pkgr.yml

+ 6 - 0
.pkgr.yml

@@ -9,6 +9,12 @@ group: "zammad"
 
 after_install: packaging/hooks/postinstall.sh
 
+before:
+  - cp config/database.yml.unittest config/database.yml
+
+after:
+  - rm -f config/database.yml
+
 env:
   - RAILS_ENV=production
   - RAILS_GROUPS=assets