Sha256: 5ac56e01f89cb769107c8ae1bc15377c5e3e1eb86d4b3bea81898205785de3d9
Contents?: true
Size: 951 Bytes
Versions: 40
Compression:
Stored size: 951 Bytes
Contents
#!/usr/bin/env bash set -eux export PATH=~/.rubies/$RUBY/bin:$PATH rm -f .bundle/config if [ ! -f ~/.rubies/$RUBY/bin/bundle ]; then gem install bundler fi sed "s/^source 'https:\/\/rubygems\.intra\.local\.ch'*/source 'http\:\/\/52.29.7.59:9292'/g" Gemfile > Gemfile.tmp mv Gemfile.tmp Gemfile DIGEST=$(git ls-tree HEAD --\ cider-ci.yml cider-ci Gemfile.lock \ | openssl dgst -sha1 | cut -d ' ' -f 2) if [ ! -z ${ACTIVESUPPORT:-} ]; then DIGEST=$(echo "$DIGEST $ACTIVESUPPORT") fi DIGEST=$(echo "$DIGEST $PATH" \ | openssl dgst -sha1 | cut -d ' ' -f 2) CACHE_SIGNATURE_FILE="/tmp/bundle_cache_signature_${DIGEST}" if [ ! -f $CACHE_SIGNATURE_FILE ] ; then if [ ! -z ${ACTIVESUPPORT:-} ]; then echo "BUNDLE_GEMFILE=Gemfile.activesupport$ACTIVESUPPORT bundle install" BUNDLE_GEMFILE=Gemfile.activesupport$ACTIVESUPPORT bundle install else echo "bundle install" bundle install fi touch $CACHE_SIGNATURE_FILE fi
Version data entries
40 entries across 40 versions & 1 rubygems