Add test scripts for mars
This commit is contained in:
@@ -59,6 +59,17 @@ test_neptune() {
|
|||||||
'
|
'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
test_mars() {
|
||||||
|
docker pull docker.io/library/ubuntu:20.04
|
||||||
|
docker run -ti --rm -v ${tmpdir}/dotfiles.tar.gz:/tmp/dotfiles.tar.gz:ro --hostname mars docker.io/library/ubuntu:20.04 sh -c '
|
||||||
|
set -o errexit
|
||||||
|
|
||||||
|
cd $(mktemp -d)
|
||||||
|
tar xf /tmp/dotfiles.tar.gz -C .
|
||||||
|
ANSIBLE_EXTRA_ARGS="-e manage_services=false" ./install.sh
|
||||||
|
'
|
||||||
|
}
|
||||||
|
|
||||||
case "${1:-all}" in
|
case "${1:-all}" in
|
||||||
ares)
|
ares)
|
||||||
test_ares
|
test_ares
|
||||||
@@ -66,8 +77,12 @@ case "${1:-all}" in
|
|||||||
neptune)
|
neptune)
|
||||||
test_neptune
|
test_neptune
|
||||||
;;
|
;;
|
||||||
|
mars)
|
||||||
|
test_mars
|
||||||
|
;;
|
||||||
all)
|
all)
|
||||||
test_ares
|
test_ares
|
||||||
test_neptune
|
test_neptune
|
||||||
|
test_mars
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user