diff --git a/.expeditor/run_linux_tests.sh b/.expeditor/run_linux_tests.sh index 0389c8f..9b6b097 100755 --- a/.expeditor/run_linux_tests.sh +++ b/.expeditor/run_linux_tests.sh @@ -19,8 +19,11 @@ echo "Restoring the bundle cache archive to vendor/bundle" if [ -f bundle.tar.gz ]; then tar -xzf bundle.tar.gz fi -bundle config --local path vendor/bundle +git config --global user.email "foo@example.com" +git config --global user.name "Foo Bar" + +bundle config --local path vendor/bundle bundle install --jobs=7 --retry=3 bundle exec $1 @@ -41,4 +44,4 @@ echo "Uploading the tar.gz of the vendor/bundle directory to s3" aws s3 cp bundle.tar.gz "s3://public-cd-buildkite-cache/${BUILDKITE_PIPELINE_SLUG}/${BUILDKITE_LABEL}/bundle.tar.gz" || echo 'Could not push the bundler directory to s3 for caching. Future builds may be slower if this continues.' echo "Uploading the sha256 hash of the vendor/bundle directory to s3" -aws s3 cp bundle.sha256 "s3://public-cd-buildkite-cache/${BUILDKITE_PIPELINE_SLUG}/${BUILDKITE_LABEL}/bundle.sha256" || echo 'Could not push the bundler directory to s3 for caching. Future builds may be slower if this continues.' \ No newline at end of file +aws s3 cp bundle.sha256 "s3://public-cd-buildkite-cache/${BUILDKITE_PIPELINE_SLUG}/${BUILDKITE_LABEL}/bundle.sha256" || echo 'Could not push the bundler directory to s3 for caching. Future builds may be slower if this continues.'