Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
Put dependencies into vendor/package
Browse files Browse the repository at this point in the history
[#119348749](https://www.pivotaltracker.com/story/show/119348749)

Signed-off-by: Jan von Loewenstein <jan.von.loewenstein@sap.com>
  • Loading branch information
Kiemes authored and loewenstein-sap committed Jul 4, 2016
1 parent 8583259 commit 49b8ac5
Show file tree
Hide file tree
Showing 23 changed files with 16 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,4 +1,5 @@
.idea
*.rsa_id*
cpi.json
target/
target/
vendor/cache/
5 changes: 3 additions & 2 deletions src/main.sh
Expand Up @@ -51,10 +51,11 @@ bundle_cmd="$temp_dir/packages/ruby_openstack_cpi/bin/bundle"
gems_folder=$temp_dir/packages/ruby_openstack_cpi/lib/ruby/gems/*
path=$temp_dir/packages/ruby_openstack_cpi/bin/:$PATH

env -i PATH=$path \
env -i BUNDLE_CACHE_PATH="vendor/package" \
PATH=$path \
GEM_PATH=$gems_folder \
GEM_HOME=$gems_folder \
$bundle_cmd install 2>&1 > $temp_dir/logs/bundle_install.log
$bundle_cmd install --local 2>&1 > $temp_dir/logs/bundle_install.log

env -i \
BOSH_PACKAGES_DIR=$temp_dir/packages \
Expand Down
Binary file added vendor/package/bosh_common-1.3232.0.gem
Binary file not shown.
Binary file added vendor/package/bosh_cpi-1.3232.0.gem
Binary file not shown.
Binary file added vendor/package/builder-3.2.2.gem
Binary file not shown.
Binary file added vendor/package/diff-lcs-1.2.5.gem
Binary file not shown.
Binary file added vendor/package/excon-0.49.0.gem
Binary file not shown.
Binary file added vendor/package/fog-core-1.40.0.gem
Binary file not shown.
Binary file added vendor/package/fog-json-1.0.2.gem
Binary file not shown.
Binary file added vendor/package/fog-openstack-0.1.6.gem
Binary file not shown.
Binary file added vendor/package/formatador-0.2.5.gem
Binary file not shown.
Binary file added vendor/package/ipaddress-0.8.3.gem
Binary file not shown.
Binary file added vendor/package/little-plugger-1.1.4.gem
Binary file not shown.
Binary file added vendor/package/logging-1.8.2.gem
Binary file not shown.
Binary file added vendor/package/membrane-1.1.0.gem
Binary file not shown.
Binary file added vendor/package/multi_json-1.12.0.gem
Binary file not shown.
Binary file added vendor/package/rspec-3.0.0.gem
Binary file not shown.
Binary file added vendor/package/rspec-core-3.0.4.gem
Binary file not shown.
Binary file added vendor/package/rspec-expectations-3.0.4.gem
Binary file not shown.
Binary file added vendor/package/rspec-mocks-3.0.4.gem
Binary file not shown.
Binary file added vendor/package/rspec-support-3.0.4.gem
Binary file not shown.
Binary file added vendor/package/semi_semantic-1.1.0.gem
Binary file not shown.
11 changes: 11 additions & 0 deletions vendor_gems.sh
@@ -0,0 +1,11 @@
#!/bin/bash

set -ex

export BUNDLE_APP_CONFIG=$(mktemp -d $TMPDIR/bundler_config_XXXXXX)
export BUNDLE_CACHE_PATH="vendor/package"
export BUNDLE_WITHOUT="development:test"

bundle package

rm -rf $BUNDLE_APP_CONFIG

0 comments on commit 49b8ac5

Please sign in to comment.