2015-12-03 09:03:08 +00:00
|
|
|
targets:
|
2015-12-03 09:24:22 +00:00
|
|
|
centos-6:
|
2015-12-03 09:03:08 +00:00
|
|
|
dependencies:
|
|
|
|
- httpd
|
2016-05-30 07:12:01 +00:00
|
|
|
- postgresql
|
|
|
|
- postgresql-server
|
|
|
|
- postgresql-devel
|
|
|
|
centos-7:
|
|
|
|
dependencies:
|
|
|
|
- httpd
|
|
|
|
- postgresql
|
|
|
|
- postgresql-server
|
|
|
|
- postgresql-devel
|
2015-12-03 09:03:08 +00:00
|
|
|
|
2015-12-03 14:49:22 +00:00
|
|
|
before:
|
2015-12-03 15:39:52 +00:00
|
|
|
- uname -a
|
2016-05-30 07:12:01 +00:00
|
|
|
- ruby -v
|
|
|
|
- env
|
|
|
|
- cp config/database.yml.pkgr config/database.yml
|
2016-10-19 03:54:18 +00:00
|
|
|
- echo "gem 'mysql2'" >> Gemfile.local
|
|
|
|
- "cat Gemfile.lock"
|
2016-09-07 06:49:52 +00:00
|
|
|
- contrib/cleanup.sh
|
2015-12-03 14:43:18 +00:00
|
|
|
|
2015-12-03 09:03:08 +00:00
|
|
|
env:
|
2015-12-03 14:34:40 +00:00
|
|
|
- RAILS_ENV=production
|
2016-05-30 07:12:01 +00:00
|
|
|
- PORT=3000
|
|
|
|
- RAILS_SERVE_STATIC_FILES=true
|
2015-12-03 09:03:08 +00:00
|
|
|
|
2016-05-30 07:12:01 +00:00
|
|
|
services:
|
|
|
|
- postgres
|
2015-12-03 09:03:08 +00:00
|
|
|
|
2016-05-30 07:12:01 +00:00
|
|
|
notifications: false
|