diff options
author | Matt Wrock <matt@mattwrock.com> | 2016-06-01 14:47:47 -0700 |
---|---|---|
committer | Matt Wrock <matt@mattwrock.com> | 2016-06-01 14:47:47 -0700 |
commit | 36cbec36ae696b62bc8e9e2b84844851cdd5f3c5 (patch) | |
tree | 94a4bf886fb9505315d581c0235a3225ff59c4fa /ci | |
parent | fe86dd1a371ec3aaaa9b2aff9910602070d5eeac (diff) | |
download | chef-36cbec36ae696b62bc8e9e2b84844851cdd5f3c5.tar.gz |
adding shell scripts for the bump bot that will ensure the correct bundler version is installed
Diffstat (limited to 'ci')
-rw-r--r-- | ci/bundle_install.sh | 5 | ||||
-rw-r--r-- | ci/dependency_update.sh | 5 | ||||
-rw-r--r-- | ci/version_bump.sh | 5 | ||||
-rw-r--r-- | ci/version_show.sh | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/ci/bundle_install.sh b/ci/bundle_install.sh new file mode 100644 index 0000000000..12d1cda333 --- /dev/null +++ b/ci/bundle_install.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2) +gem install bundler -v $(grep bundler omnibus_overrides.rb | cut -d'"' -f2) +bundle install diff --git a/ci/dependency_update.sh b/ci/dependency_update.sh new file mode 100644 index 0000000000..ad95aed5f5 --- /dev/null +++ b/ci/dependency_update.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +. ci/bundle_install.sh + +bundle exec rake dependencies diff --git a/ci/version_bump.sh b/ci/version_bump.sh new file mode 100644 index 0000000000..690ac25088 --- /dev/null +++ b/ci/version_bump.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +. ci/bundle_install.sh + +bundle exec rake version:bump diff --git a/ci/version_show.sh b/ci/version_show.sh new file mode 100644 index 0000000000..d591cb4661 --- /dev/null +++ b/ci/version_show.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +. ci/bundle_install.sh + +bundle exec rake version:show |