-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: enable testing remote environments with auth header (#247)
- Loading branch information
abalias
authored
Dec 13, 2022
1 parent
2490f73
commit 784ef50
Showing
4 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
echo "--------------------------------------" | ||
echo "Starting issuer using local/run.sh" | ||
echo "--------------------------------------" | ||
|
||
${SCRIPT_DIR}/../local/run.sh -p 8080 -n issuer -b | ||
|
||
echo "--------------------------------------" | ||
echo "Starting holder using local/run.sh" | ||
echo "--------------------------------------" | ||
|
||
${SCRIPT_DIR}/../local/run.sh -p 8090 -n holder -b | ||
|
||
echo "--------------------------------------" | ||
echo "Starting verifier using local/run.sh" | ||
echo "--------------------------------------" | ||
|
||
${SCRIPT_DIR}/../local/run.sh -p 8100 -n verifier -b | ||
|
||
echo "--------------------------------------" | ||
echo "Run e2e tests" | ||
echo "--------------------------------------" | ||
|
||
(cd ${SCRIPT_DIR}/../../tests/e2e-tests/; ./gradlew test reports) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
echo "--------------------------------------" | ||
echo "Run e2e tests" | ||
echo "--------------------------------------" | ||
|
||
export ACME_AGENT_URL=https://agent-df56h.atalaprism.io/prism-agent | ||
export BOB_AGENT_URL=https://agent-kj46b.atalaprism.io/prism-agent | ||
export MALLORY_AGENT_URL=https://agent-sd98k.atalaprism.io/prism-agent | ||
|
||
(cd ${SCRIPT_DIR}/../../tests/e2e-tests/; AGENT_AUTH_REQUIRED=true ./gradlew test reports) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters