Skip to content

Commit

Permalink
check if passing task names is actually needed
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Oct 23, 2024
1 parent 8800a49 commit 35fb5af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion .evergreen/evergreen.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,6 @@ tasks:
mongosh_server_test_version: "<% out(mVersion) %>-enterprise"
mongosh_test_e2e_force_fips: "<% out(fipsVariant === 'fips' ? '1' : '') %>"
disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false}
task_name: ${task_name}
<% } } %>
- name: perf_tests_<% out(executableOsId.replace(/-/g, '_')) %>
tags: ["perf-test"]
Expand Down
7 changes: 2 additions & 5 deletions .evergreen/setup-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export IS_MONGOSH_EVERGREEN_CI=1
export DEBUG="mongodb*,$DEBUG"

if [ "$OS" != "Windows_NT" ]; then
if which realpath; then # No realpath on macOS, but also not needed there
if which realpath; then # No realpath on macOS, but also not needed there
export HOME="$(realpath "$HOME")" # Needed to de-confuse nvm when /home is a symlink
fi
export NVM_DIR="$BASEDIR/.nvm"
Expand Down Expand Up @@ -42,7 +42,7 @@ if [ "$OS" == "Windows_NT" ]; then
fi

# On RHEL hosts, we run as root for some reason
if [ $(uname) = Linux ]; then
if [ `uname` = Linux ]; then
export npm_config_unsafe_perm=true
fi

Expand All @@ -69,9 +69,6 @@ fi
echo "Running on:"
uname -a

echo "Running task"
echo $TASK_NAME

echo "Full path:"
echo $PATH

Expand Down

0 comments on commit 35fb5af

Please sign in to comment.