0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00
mongodb/evergreen/external_auth_oidc_teardown.sh
Adam Rayner 5da8f18c36 SERVER-86820 Clean up Azure and Okta integration test artifacts
GitOrigin-RevId: dbd2bee4c37e5ab05c9aff19b6dc8a96617c4ca5
2024-03-18 23:08:26 +00:00

16 lines
425 B
Bash

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
# Only run this script for the external_auth_oidc_azure task.
if [ "${task_name}" != "external_auth_oidc" ]; then
exit 0
fi
echo "Cleaning up OIDC Okta test artifacts"
#Clean up the config file, if it exists
if [ -f "${HOME}/oidc_e2e_setup.json" ]; then
rm -f $HOME/oidc_e2e_setup.json
echo "Cleaned up oidc_e2e_setup.json"
fi