summaryrefslogtreecommitdiff
path: root/.expeditor
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-03-19 09:58:31 -0700
committerTim Smith <tsmith@chef.io>2019-03-19 09:58:31 -0700
commit43ce817abbc69cfed03c72e24f68fcf1945441df (patch)
tree23de0557fb04d30022338544cf86b9fc9cac18eb /.expeditor
parentd5b23ad29829c0a822189c418dba1dec274b4c18 (diff)
downloadchef-43ce817abbc69cfed03c72e24f68fcf1945441df.tar.gz
Attempt a convervative bundle update when bumpin chef versions
This should keep out other deps. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.expeditor')
-rw-r--r--.expeditor/update_dep.sh3
-rwxr-xr-x.expeditor/update_version.sh2
2 files changed, 1 insertions, 4 deletions
diff --git a/.expeditor/update_dep.sh b/.expeditor/update_dep.sh
index e71c91276b..1041f7504a 100644
--- a/.expeditor/update_dep.sh
+++ b/.expeditor/update_dep.sh
@@ -11,9 +11,6 @@
set -evx
-# this attempts to work around the bundle update making unsolvable dep tree
-asdf local ruby 2.5.3
-
function new_gem_included() {
git diff | grep -E '^\+' | grep "${EXPEDITOR_GEM_NAME} (${EXPEDITOR_VERSION})"
}
diff --git a/.expeditor/update_version.sh b/.expeditor/update_version.sh
index 222ae5cf27..18c4a75747 100755
--- a/.expeditor/update_version.sh
+++ b/.expeditor/update_version.sh
@@ -15,7 +15,7 @@ sed -i -r "s/^(\s*)VERSION = \".+\"/\1VERSION = \"$(cat VERSION)\"/" chef-config
sed -i -r "s/VersionString\.new\(\".+\"\)/VersionString.new(\"$(cat VERSION)\")/" lib/chef/version.rb
# Update the version inside Gemfile.lock
-bundle update chef chef-config --jobs=7
+bundle update chef chef-config --jobs=7 --conservative
# Once Expeditor finshes executing this script, it will commit the changes and push
# the commit as a new tag corresponding to the value in the VERSION file.