summaryrefslogtreecommitdiff
path: root/omnibus
diff options
context:
space:
mode:
authorEvan Ahlberg <evanahlberg@gmail.com>2023-02-02 14:54:33 -0500
committerGitHub <noreply@github.com>2023-02-02 14:54:33 -0500
commit625558f029d1503d03e7cc42ab9c69d210fa7fa3 (patch)
tree62eaac6fd14c66a7d5bb8ce6b767731d91be0b9d /omnibus
parent7cdf5c95b7d8caac8786584ea9bcd4de869eb68b (diff)
downloadchef-625558f029d1503d03e7cc42ab9c69d210fa7fa3.tar.gz
fix adhoc pipelines and centos 6 omnibus test (#13530)
* fix adhoc pipelines and centos 6 omnibus test * run on all validate/ pipelines * fix aws credentials on windows for canary Signed-off-by: Evan Ahlberg <evanahlberg@gmail.com>
Diffstat (limited to 'omnibus')
-rwxr-xr-xomnibus/omnibus-test.sh15
1 files changed, 2 insertions, 13 deletions
diff --git a/omnibus/omnibus-test.sh b/omnibus/omnibus-test.sh
index 83c64ff2a6..9bdaa7cdc5 100755
--- a/omnibus/omnibus-test.sh
+++ b/omnibus/omnibus-test.sh
@@ -120,16 +120,5 @@ export CHEF_LICENSE=accept-no-persist
cd "$chef_gem"
-# only add -E if not on centos 6
-sudo_path="$(command -v sudo)"
-# cspell:disable-next-line
-rhel_sudo="/opt/rh/devtoolset-7/root/usr/bin/sudo"
-sudo_args=""
-if [[ "$sudo_path" != "$rhel_sudo" ]]; then
- echo "HERE"
- sudo -E bundle install --jobs=3 --retry=3
- sudo -E bundle exec rspec --profile -f progress
-else
- sudo bundle install --jobs=3 --retry=3
- sudo bundle exec rspec --profile -f progress
-fi
+sudo -E bundle install --jobs=3 --retry=3
+sudo -E bundle exec rspec --profile -f progress \ No newline at end of file