mirror of
https://github.com/budtmo/docker-android.git
synced 2026-07-29 19:00:34 +00:00
Added SaltStack
This commit is contained in:
@@ -312,7 +312,19 @@ function ga(){
|
||||
fi
|
||||
}
|
||||
|
||||
function saltstack(){
|
||||
if [ ! -z "${SALT_MASTER}" ]; then
|
||||
echo "ENV SALT_MASTER it not empty, salt-minion will be prepared"
|
||||
echo "master: ${SALT_MASTER}" >> /etc/salt/minion
|
||||
salt-minion &
|
||||
echo "salt-minion is running..."
|
||||
else
|
||||
echo "SaltStack is disabled"
|
||||
fi
|
||||
}
|
||||
|
||||
ga
|
||||
saltstack
|
||||
if [ "$REAL_DEVICE" = true ]; then
|
||||
echo "Using real device"
|
||||
run_appium
|
||||
|
||||
Reference in New Issue
Block a user