Skip to content

Commit

Permalink
clean script
Browse files Browse the repository at this point in the history
Signed-off-by: kasif <[email protected]>
  • Loading branch information
kasif-adnan committed Apr 29, 2022
1 parent 1079cac commit 13e3250
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .expeditor/run_linux_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,3 @@ bundle config --local path vendor/bundle
bundle install --jobs=7 --retry=3
echo "bundle exec task"
bundle exec $1

# if [[ -f bundle.tar.gz && -f bundle.sha256 ]]; then # dont' check the sha if we're missing either file
# if shasum --check bundle.sha256 --status; then # if the the sha matches we're done
# echo "Bundled gems have not changed. Skipping upload to s3"
# exit
# fi
# fi

# echo "Generating sha256 hash file of the vendor/bundle directory to ship to s3"
# shasum -a 256 vendor/bundle > bundle.sha256

# echo "Creating the tar.gz to of the vendor/bundle directory to ship to s3"
# tar -czf bundle.tar.gz vendor/

# 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.'

0 comments on commit 13e3250

Please sign in to comment.