GitOrigin-RevId: beae84e670af8bde7145a835386a9d38e229927d
This commit is contained in:
parent
7af4a575d1
commit
3a37c48ae6
@ -1,6 +1,9 @@
|
||||
test_kind: js_test
|
||||
|
||||
selector:
|
||||
exclude_files:
|
||||
# TODO: SERVER-109999 Remove this line.
|
||||
- src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/oidc_e2e_azure_machine.js
|
||||
roots:
|
||||
- src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/*.js
|
||||
|
||||
|
||||
@ -44,4 +44,5 @@ ls -al $HOME/azure_remote_key
|
||||
# This script enables ingress on the Azure Container App instance that we will use to obtain our managed identity token,
|
||||
# restrict ingress to the local, publicly-facing IP of the host we are running on, and then output the hostname of the container app into a local file
|
||||
# so that it can be dynamically consumed by subsequent test steps (such as get_token.py)
|
||||
python src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/lib/toggle_ingress.py enable --config_file=$HOME/azure_e2e_config.json --lock_file=/tmp/azure_oidc.lock | tee $HOME/azure_remote_host
|
||||
# TODO: SERVER-109999 Uncomment or remove the following.
|
||||
# python src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/lib/toggle_ingress.py enable --config_file=$HOME/azure_e2e_config.json --lock_file=/tmp/azure_oidc.lock | tee $HOME/azure_remote_host
|
||||
|
||||
@ -18,7 +18,8 @@ if [ -f "${HOME}/oidc_azure_container_key" ]; then
|
||||
echo "Cleaned up container key"
|
||||
fi
|
||||
|
||||
python src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/lib/toggle_ingress.py disable --config_file=$HOME/azure_e2e_config.json --lock_file=/tmp/azure_oidc.lock
|
||||
# TODO: SERVER-109999 Uncomment or remove this line.
|
||||
# python src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/lib/toggle_ingress.py disable --config_file=$HOME/azure_e2e_config.json --lock_file=/tmp/azure_oidc.lock
|
||||
|
||||
# Clean up the config file, if it exists
|
||||
if [ -f "${HOME}/azure_e2e_config.json" ]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user