Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: tyler-ball <[email protected]>
  • Loading branch information
tyler-ball committed Jan 27, 2020
1 parent 04265ec commit 9c8e925
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .expeditor/run_linux_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export USER="root"
apt-get update -y
apt-get install awscli -y

git config --global user.email "[email protected]"
git config --global user.name "Alan Smithee"

# grab the s3 bundler if it's there and use it for all operations in bundler
echo "Fetching bundle cache archive from s3://public-cd-buildkite-cache/${BUILDKITE_PIPELINE_SLUG}/${BUILDKITE_LABEL}/bundle.tar.gz"
aws s3 cp "s3://public-cd-buildkite-cache/${BUILDKITE_PIPELINE_SLUG}/${BUILDKITE_LABEL}/bundle.tar.gz" bundle.tar.gz || echo 'Could not pull the bundler archive from s3 for caching. Builds may be slower than usual as all gems will have to install.'
Expand Down Expand Up @@ -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.'
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.'
2 changes: 0 additions & 2 deletions features/support/stove/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ def fake_git_remote

FileUtils.mkdir_p(path)
cmd = [
'git config user.email "[email protected]"',
'git config user.name "User"',
'git init .',
'git config receive.denyCurrentBranch ignore',
'git config receive.denyNonFastforwards true',
Expand Down

0 comments on commit 9c8e925

Please sign in to comment.