Commit 3970fd2b
Changed files (4)
script/ci.sh
@@ -1,10 +1,4 @@
#!/bin/bash -x
-echo "load bashrc"
-#source ~/.bashrc
-[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
-
-echo 'switch gemset'
-rvm use ruby-2.1.1@cakeside --create
echo 'bundle install'
bundle install --without production
script/deploy-production.sh
@@ -1,10 +1,3 @@
#!/bin/bash -x
-echo "load bashrc"
-source ~/.bashrc
-
-echo 'switch gemset'
-rvm use ruby-2.1.1@cakeside --create
-
-echo 'bundle install'
git checkout master
bundle exec rake ci:deploy:production --trace
script/deploy-staging.sh
@@ -1,9 +1,2 @@
#!/bin/bash -x
-echo "load bashrc"
-source ~/.bashrc
-
-echo 'switch gemset'
-rvm use ruby-2.1.1@cakeside --create
-
-echo 'bundle install'
bundle exec rake ci:deploy:staging --trace
script/restart_delayed_job
@@ -1,10 +0,0 @@
-#!/usr/bin/env bash
-
-# example crontab entry
-# RAILS_ENV=production
-# SHELL=/usr/local/rvm/bin/rvm-shell
-# 0 * * * * /home/cakeside/apps/www.cakeside.com/current/script/restart_delayed_job >> /home/cakeside/apps/www.cakeside.com/current/log/cron.log 2>&1
-source /usr/local/rvm/environments/ruby-2.1.1@cakeside
-
-cd /home/cakeside/apps/www.cakeside.com/current/
-script/delayed_job restart