feat(tests): Install salt-minion for integration tests

This commit is contained in:
Carlos Álvaro
2022-11-09 17:20:24 +01:00
committed by Carlos Álvaro
parent e59c3c082a
commit 468580a0a5
7 changed files with 103 additions and 9 deletions

View File

@@ -25,3 +25,10 @@ ok "salt-master version"
echo "==> Executing healthcheck ..."
docker-exec /usr/local/sbin/healthcheck | grep -i true || error "healthcheck"
ok "healthcheck"
# Test minion connection
setup_and_start_salt_minion || error "salt-minion started"
ok "salt-minion started"
salt "${TEST_MINION_ID}" test.ping || error "${TEST_MINION_ID} ping"
ok "${TEST_MINION_ID} ping"