Skip to content

Commit

Permalink
chore: ci update (#286)
Browse files Browse the repository at this point in the history
OKTA-819587 chore: ci update
  • Loading branch information
jaredperreault-okta authored Oct 17, 2024
1 parent 368cd05 commit ea42cf4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/e2e-v6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export ISSUER=https://samples-javascript.okta.com/oauth2/default
export CLIENT_ID=0oapmwm72082GXal14x6
export SPA_CLIENT_ID=0oapmwm72082GXal14x6
export [email protected]
get_vault_secret_key devex/samples-javascript password PASSWORD
get_terminus_secret "/" PASSWORD PASSWORD
export ORG_OIE_ENABLED=
export USE_INTERACTION_CODE=

Expand Down
2 changes: 1 addition & 1 deletion scripts/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export ISSUER=https://samples-javascript.okta.com/oauth2/default
export CLIENT_ID=0oapmwm72082GXal14x6
export SPA_CLIENT_ID=0oapmwm72082GXal14x6
export [email protected]
get_vault_secret_key devex/samples-javascript password PASSWORD
get_terminus_secret "/" PASSWORD PASSWORD
export ORG_OIE_ENABLED=
export USE_INTERACTION_CODE=

Expand Down
7 changes: 6 additions & 1 deletion scripts/utils/local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [ -z "${TEST_SUITE_ID}" ]; then
fi
}

get_vault_secret_key () {
get_terminus_secret () {
# ensures the env var is set
key="$3"
if [ -z "${!key}" ]; then
Expand All @@ -42,5 +42,10 @@ if [ -z "${TEST_SUITE_ID}" ]; then
fi
}

get_vault_secret_key () {
echo "'get_vault_secret_key' command has been deprecated!"
exit 1
}

set -x # when running locally, might as well see all the commands being ran
fi

0 comments on commit ea42cf4

Please sign in to comment.