-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1173 from chef/cache_gems
Cache gems in testing using Expeditor gem caching
- Loading branch information
Showing
4 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# | ||
# This script runs a passed in command, but first setups up the bundler caching on the repo | ||
|
||
set -ue | ||
|
||
export USER="root" | ||
export LANG=C.UTF-8 LANGUAGE=C.UTF-8 | ||
|
||
echo "--- bundle install" | ||
|
||
bundle config --local path vendor/bundle | ||
bundle install --jobs=7 --retry=3 | ||
|
||
echo "+++ bundle exec task" | ||
bundle exec $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters