Move scripts used by travis jobs under travis folder because when mirroring all scripts folders are excluded

(cherry picked from commit 9a3588220b)
This commit is contained in:
cagache
2021-04-01 18:44:35 +03:00
committed by Cezar.Leahu
parent 7d3a85a449
commit 60602a57b9
19 changed files with 44 additions and 44 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -x
#stop not needed containers
docker stop $(docker ps -a | grep '_zeppelin_' | awk '{print $1}')
docker stop $(docker ps -a | grep '_sync-service_' | awk '{print $1}')
shareContainerId=$(docker ps -a | grep '_share_' | awk '{print $1}')
if [ -n "$shareContainerId" ]; then
docker stop $(docker ps -a | grep '_transform-router_' | awk '{print $1}')
docker stop $(docker ps -a | grep '_shared-file-store_' | awk '{print $1}')
fi
# Display containers resources usage
docker stats --no-stream