Make sure not to accidentally include config/application.yml and
authorWard Vandewege <ward@curoverse.com>
Fri, 22 Jan 2016 15:27:59 +0000 (10:27 -0500)
committerWard Vandewege <ward@curoverse.com>
Fri, 22 Jan 2016 15:27:59 +0000 (10:27 -0500)
config/database.yml in our rails packages.

No issue #

jenkins/run-library.sh

index 3c62d7bb3248a1d58033d29fa1f94a25765cc79e..aed260e6dfa199c2c71487f84bfcb58ae1eeef7b 100755 (executable)
@@ -158,7 +158,9 @@ handle_rails_package() {
     # .git and packages are for the SSO server, which is built from its
     # repository root.
     for exclude in .git packages tmp log coverage \
-                        Capfile\* config/deploy\*; do
+                        Capfile\* config/deploy\* \
+                        config/application.yml \
+                        config/database.yml; do
         switches+=(-x "$exclude_root/$exclude")
     done
     fpm_build "${pos_args[@]}" "${switches[@]}" \