fix: rm FTEST_USER. It is irrelevant for this test
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
97b1c04036
commit
8a67c20fe2
3 changed files with 1 additions and 4 deletions
|
@ -1,4 +1,3 @@
|
||||||
export FTEST_AUTH="foobar"
|
export FTEST_AUTH="foobar"
|
||||||
export FTEST_HOST="http://ftest.example.org"
|
export FTEST_HOST="http://ftest.example.org"
|
||||||
export FTEST_TARGET_HOST="http://localhost:3000"
|
export FTEST_TARGET_HOST="http://localhost:3000"
|
||||||
export FTEST_USER="john@example.org"
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ source .env
|
||||||
docker run \
|
docker run \
|
||||||
-e FTEST_AUTH=$FTEST_AUTH \
|
-e FTEST_AUTH=$FTEST_AUTH \
|
||||||
-e FTEST_TARGET_HOST=$FTEST_TARGET_HOST \
|
-e FTEST_TARGET_HOST=$FTEST_TARGET_HOST \
|
||||||
-e FTEST_HOST=FTEST_HOST forgeflux/nodeinfo-test
|
-e FTEST_HOST=$FTEST_HOST forgeflux/nodeinfo-test
|
||||||
```
|
```
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
2
run.py
2
run.py
|
@ -40,8 +40,6 @@ logger = configure_logger()
|
||||||
FTEST_AUTH = get_env("FTEST_AUTH")
|
FTEST_AUTH = get_env("FTEST_AUTH")
|
||||||
FTEST_HOST = get_env("FTEST_HOST")
|
FTEST_HOST = get_env("FTEST_HOST")
|
||||||
TARGET_HOST = get_env("FTEST_TARGET_HOST")
|
TARGET_HOST = get_env("FTEST_TARGET_HOST")
|
||||||
TEST_USER = get_env("FTEST_USER") # actor ex: john@example.org
|
|
||||||
print(f"TEST USER: {TEST_USER}")
|
|
||||||
TEST_HOST = urlparse(TARGET_HOST).netloc
|
TEST_HOST = urlparse(TARGET_HOST).netloc
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue