mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
trigger workflow
This commit is contained in:
5
.github/workflows/docker-crawlab.yml
vendored
5
.github/workflows/docker-crawlab.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user