0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-27 23:27:11 +01:00
mongodb/evergreen/external_auth_oidc_teardown.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
425 B
Bash
Raw Normal View History

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