Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check grep conditions #339

Open
azarouski opened this issue Sep 12, 2024 · 0 comments
Open

Check grep conditions #339

azarouski opened this issue Sep 12, 2024 · 0 comments

Comments

@azarouski
Copy link
Contributor

https://github.com/zebrunner/mcloud-agent/blob/master/roles/devices/templates/zebrunner-farm#L459

docker ps -a | grep -v appium | grep $container > /dev/null
if [ $? -eq 0 ]; then
  stfState=`docker inspect --format='{{ '{{' }}json .State.Health.Status{{ '}}' }}' $container`
fi

why we use -v appium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant