summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-06-01 21:31:04 -0700
committerJohn Keiser <john@johnkeiser.com>2016-06-01 21:31:04 -0700
commitaf75a764e1f64032788ed218e28a396d8c1b733b (patch)
tree377801b327dcd4d6ad4d162ba25ec1aa714dd3df
parentb54fedd6d902b70442e7db1b77cd427ae8937937 (diff)
downloadchef-af75a764e1f64032788ed218e28a396d8c1b733b.tar.gz
Add set -evx to shell scripts
-rwxr-xr-x[-rw-r--r--]ci/bundle_install.sh2
-rwxr-xr-x[-rw-r--r--]ci/dependency_update.sh2
-rwxr-xr-x[-rw-r--r--]ci/version_bump.sh2
-rwxr-xr-x[-rw-r--r--]ci/version_show.sh2
4 files changed, 8 insertions, 0 deletions
diff --git a/ci/bundle_install.sh b/ci/bundle_install.sh
index 12d1cda333..4f6b6d7486 100644..100755
--- a/ci/bundle_install.sh
+++ b/ci/bundle_install.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+set -evx
+
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
index ad95aed5f5..3ab0c611b6 100644..100755
--- a/ci/dependency_update.sh
+++ b/ci/dependency_update.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+set -evx
+
. ci/bundle_install.sh
bundle exec rake dependencies
diff --git a/ci/version_bump.sh b/ci/version_bump.sh
index 690ac25088..bd365c712c 100644..100755
--- a/ci/version_bump.sh
+++ b/ci/version_bump.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+set -evx
+
. ci/bundle_install.sh
bundle exec rake version:bump
diff --git a/ci/version_show.sh b/ci/version_show.sh
index d591cb4661..c8917f2036 100644..100755
--- a/ci/version_show.sh
+++ b/ci/version_show.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+set -evx
+
. ci/bundle_install.sh
bundle exec rake version:show