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

This commit is contained in:
cagache
2021-04-01 18:44:35 +03:00
parent 2e9f896df3
commit 9a3588220b
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