summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorMatt Wrock <matt@mattwrock.com>2016-06-01 14:47:47 -0700
committerMatt Wrock <matt@mattwrock.com>2016-06-01 14:47:47 -0700
commit36cbec36ae696b62bc8e9e2b84844851cdd5f3c5 (patch)
tree94a4bf886fb9505315d581c0235a3225ff59c4fa /ci
parentfe86dd1a371ec3aaaa9b2aff9910602070d5eeac (diff)
downloadchef-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.sh5
-rw-r--r--ci/dependency_update.sh5
-rw-r--r--ci/version_bump.sh5
-rw-r--r--ci/version_show.sh5
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