Update paths to include ci

This commit is contained in:
Rohan Mitchell
2015-04-22 14:31:30 +10:00
parent 883a2e0a0e
commit 0c0be0112e
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ if [[ "$PROD_TEST" != *production* ]]; then
fi
echo "--- Saving baseline data for staging"
ssh ofn-staging2 "/home/openfoodweb/apps/openfoodweb/current/script/save_staging_baseline.sh $BUILDKITE_COMMIT"
ssh ofn-staging2 "/home/openfoodweb/apps/openfoodweb/current/script/ci/save_staging_baseline.sh $BUILDKITE_COMMIT"
echo "--- Pushing to production"
[[ $(git push production $BUILDKITE_COMMIT:master --force 2>&1) =~ "Done" ]]

View File

@@ -1,7 +1,7 @@
#!/bin/bash
set -e
source ./script/includes.sh
source ./script/ci/includes.sh
# Add staging git remote if required
ST2_TEST=`git remote | grep -s 'staging2' || true`
@@ -13,7 +13,7 @@ echo "--- Verifying branch is based on current master"
exit_unless_master_merged
echo "--- Loading baseline data"
ssh ofn-staging2 "/home/openfoodweb/apps/openfoodweb/current/script/load_staging_baseline.sh"
ssh ofn-staging2 "/home/openfoodweb/apps/openfoodweb/current/script/ci/load_staging_baseline.sh"
echo "--- Pushing to staging"
[[ $(git push staging2 $BUILDKITE_COMMIT:master --force 2>&1) =~ "Done" ]]

View File

@@ -3,7 +3,7 @@
set -e
echo "--- Loading environment"
source ./script/includes.sh
source ./script/ci/includes.sh
source /var/lib/jenkins/.rvm/environments/ruby-1.9.3-p392
if [ ! -f config/application.yml ]; then
ln -s application.yml.example config/application.yml