run without agent alias
This commit is contained in:
parent
5a9cd831e4
commit
a6b53b4b7c
2 changed files with 22 additions and 24 deletions
1
.github/ci/docker-compose.yml
vendored
1
.github/ci/docker-compose.yml
vendored
|
|
@ -8,7 +8,6 @@ services:
|
||||||
- firefox
|
- firefox
|
||||||
environment:
|
environment:
|
||||||
TP_API_KEY: "${TP_API_KEY}"
|
TP_API_KEY: "${TP_API_KEY}"
|
||||||
TP_AGENT_ALIAS: "GitHub Action Agent"
|
|
||||||
TP_AGENT_TEMP: "true"
|
TP_AGENT_TEMP: "true"
|
||||||
TP_SDK_PORT: "8686"
|
TP_SDK_PORT: "8686"
|
||||||
CHROME: "chrome:4444"
|
CHROME: "chrome:4444"
|
||||||
|
|
|
||||||
45
.github/workflows/test-waylonwalker-com.yml
vendored
45
.github/workflows/test-waylonwalker-com.yml
vendored
|
|
@ -36,30 +36,29 @@ jobs:
|
||||||
max_attempts=100
|
max_attempts=100
|
||||||
mkdir -p build/reports/agent
|
mkdir -p build/reports/agent
|
||||||
docker-compose -f docker-compose.yml logs -f | tee build/reports/agent/log.txt&
|
docker-compose -f docker-compose.yml logs -f | tee build/reports/agent/log.txt&
|
||||||
sleep 20
|
until curl -s http://localhost:8585/api/status | jq '.registered' | grep true; do
|
||||||
# until curl -s http://localhost:8585/api/status | jq '.registered' | grep true; do
|
if [ ${attempt_counter} -eq ${max_attempts} ]; then
|
||||||
# if [ ${attempt_counter} -eq ${max_attempts} ]; then
|
echo "Agent failed to register. Terminating..."
|
||||||
# echo "Agent failed to register. Terminating..."
|
exit 1
|
||||||
# exit 1
|
fi
|
||||||
# fi
|
attempt_counter=$(($attempt_counter+1))
|
||||||
# attempt_counter=$(($attempt_counter+1))
|
echo
|
||||||
# echo
|
echo
|
||||||
# echo
|
echo ----------------------------------
|
||||||
# echo ----------------------------------
|
date
|
||||||
# date
|
echo attempt $attempt_counter
|
||||||
# echo attempt $attempt_counter
|
echo status
|
||||||
# echo status
|
curl -s http://localhost:8585/api/status || echo "8686 api not up"
|
||||||
# curl -s http://localhost:8585/api/status || echo "8686 api not up"
|
echo status
|
||||||
# echo status
|
curl -s http://localhost:8686/api/status || echo "8686 api not up"
|
||||||
# curl -s http://localhost:8686/api/status || echo "8686 api not up"
|
echo
|
||||||
# echo
|
echo home
|
||||||
# echo home
|
curl -s http://localhost:8585/ || echo "localhost:8585 is not up"
|
||||||
# curl -s http://localhost:8585/ || echo "localhost:8585 is not up"
|
echo home
|
||||||
# echo home
|
curl -s http://localhost:8686/ || echo "localhost:8686 is not up"
|
||||||
# curl -s http://localhost:8686/ || echo "localhost:8686 is not up"
|
|
||||||
|
|
||||||
# sleep 1
|
sleep 1
|
||||||
# done
|
done
|
||||||
- run: pytest > pytest.log
|
- run: pytest > pytest.log
|
||||||
env:
|
env:
|
||||||
TP_DEV_TOKEN: ${{ secrets.TP_DEV_TOKEN }}
|
TP_DEV_TOKEN: ${{ secrets.TP_DEV_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue