fix: adiciona sleep e corrige tag da imagem docker
DevSecOps Enterprise Pipeline / security-gate-and-deploy (pull_request) Failing after 1m21s
DevSecOps Enterprise Pipeline / security-gate-and-deploy (pull_request) Failing after 1m21s
This commit is contained in:
@@ -78,9 +78,10 @@ jobs:
|
||||
run: |
|
||||
echo ">>> Atualizando Produção..."
|
||||
docker rm -f portal-corporativo || true
|
||||
# AQUI: Alterado de production para latest
|
||||
docker run -d -p 3000:3000 --name portal-corporativo apex-solutions:latest
|
||||
sleep 3
|
||||
curl --silent --show-error --fail http://localhost:3000 || exit 1
|
||||
sleep 10
|
||||
curl http://localhost:3000
|
||||
|
||||
echo ">>> Publicando Relatório ZAP no servidor Web..."
|
||||
docker cp qatests/report.html portal-corporativo:/usr/src/app/frontend/zap-report.html || true
|
||||
|
||||
Reference in New Issue
Block a user