Sha256: ae598f05d27e0ddc562027abd0e0e5e37675d238e157e652233e63cdc56f0178

Contents?: true

Size: 641 Bytes

Versions: 120

Compression:

Stored size: 641 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)

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
  bundle install
  touch $CACHE_SIGNATURE_FILE
fi

Version data entries

120 entries across 120 versions & 3 rubygems

Version Path
lhc-10.0.0 cider-ci/bin/bundle
lhc-9.4.3 cider-ci/bin/bundle
lhc-9.4.2 cider-ci/bin/bundle
lhc-9.4.1 cider-ci/bin/bundle
lhc-9.4.0 cider-ci/bin/bundle
lhc-9.3.1 cider-ci/bin/bundle
lhc-9.3.0 cider-ci/bin/bundle
lhc-9.2.0 cider-ci/bin/bundle
lhc-9.1.2 cider-ci/bin/bundle
lhc-9.1.2.pre cider-ci/bin/bundle
lhc-9.1.1 cider-ci/bin/bundle
lhc-8.1.1 cider-ci/bin/bundle
lhc-9.1.0 cider-ci/bin/bundle
lhc-9.0.0 cider-ci/bin/bundle
lhc-8.1.0 cider-ci/bin/bundle
lhc-8.0.0 cider-ci/bin/bundle
lhc-7.3.3 cider-ci/bin/bundle
lhc-7.3.2 cider-ci/bin/bundle
lhc-7.3.1 cider-ci/bin/bundle
lhc-7.3.0 cider-ci/bin/bundle