Skip to content

CSHARP-5004: Invoke all Drivers Evergreen Tools Scripts with Bash #1296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion evergreen/build-apidocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -o errexit # Exit the script with error if any of the commands fail

if [ -z "$PACKAGE_VERSION" ]; then
PACKAGE_VERSION=$(sh ./evergreen/get-version.sh)
PACKAGE_VERSION=$(bash ./evergreen/get-version.sh)
echo Calculated PACKAGE_VERSION value: "$PACKAGE_VERSION"
fi

Expand Down
2 changes: 1 addition & 1 deletion evergreen/build-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -o errexit # Exit the script with error if any of the commands fail

if [ -z "$PACKAGE_VERSION" ]; then
PACKAGE_VERSION=$(sh ./evergreen/get-version.sh)
PACKAGE_VERSION=$(bash ./evergreen/get-version.sh)
echo Calculated PACKAGE_VERSION value: "$PACKAGE_VERSION"
fi

Expand Down
8 changes: 4 additions & 4 deletions evergreen/evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ functions:
fi

if [ "${BUILD_TARGET}" = "release" ]; then
PACKAGE_VERSION=$(sh ./evergreen/get-version.sh)
PACKAGE_VERSION=$(bash ./evergreen/get-version.sh)
fi

export DOTNET_SDK_PATH="$(pwd)/../.dotnet"
Expand Down Expand Up @@ -101,7 +101,7 @@ functions:
params:
script: |
${PREPARE_SHELL}
sh ${PROJECT_DIRECTORY}/evergreen/install-dotnet.sh
bash ${PROJECT_DIRECTORY}/evergreen/install-dotnet.sh

prepare-resources:
- command: shell.exec
Expand Down Expand Up @@ -229,7 +229,7 @@ functions:
STORAGE_ENGINE=${STORAGE_ENGINE} \
ORCHESTRATION_FILE=${ORCHESTRATION_FILE} \
SKIP_LEGACY_SHELL=${SKIP_LEGACY_SHELL} \
sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
# run-orchestration generates expansion file with the MONGODB_URI for the cluster
- command: expansions.update
params:
Expand All @@ -245,7 +245,7 @@ functions:
AUTH=${AUTH} \
SSL=${SSL} \
ORCHESTRATION_FILE=${ORCHESTRATION_FILE} \
sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
- command: expansions.update
params:
file: mo-expansion.yml
Expand Down