trigger workflow

This commit is contained in:
Marvin Zhang
2022-06-10 22:29:25 +08:00
parent 1f889e380c
commit 8a0b7bf8e8

View File

@@ -146,12 +146,13 @@ jobs:
run: |
docker run -d --rm --name crawlab_master \
-e CRAWLAB_NODE_MASTER=Y \
-p 8080:8080 \
image
sleep 30
docker ps
docker logs crawlab_master
res=`docker exec crawlab_master curl http://localhost:8000/system-info -s`
echo $res
res=`curl http://localhost:8080/api/system-info -s`
echo "res: ${res}"
if [[ $res =~ "success" ]]; then
:
else