diff --git a/tests/test.sh b/tests/test.sh index 84ec774..9a98a55 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -119,6 +119,12 @@ MIRROR_COUNTRY="${MIRROR_COUNTRY:=US}" NO_CACHE="${NO_CACHE:=--no-cache}" +TEST_BUILDS=( + 'docker-osx:naked' + 'docker-osx:naked-auto' + 'docker-osx:auto' +) + TEST_BUILDS=( 'docker-osx:naked' 'docker-osx:naked-auto' @@ -133,6 +139,20 @@ VERSION_BUILDS=( 'monterey' ) +warning () { + clear + for j in {15..1}; do + echo "############# WARNING: THIS SCRIPT IS NOT INTENDED FOR USE BY ################" + echo "############# IT IS USED BY THE PROJECT TO BUILD AND PUSH TO DOCKERHUB #######" + echo "" + echo " Press Ctrl C to stop. " + MAX_COLS=$((${COLUMNS}/2)) + printf "$j %.0s" {1..20} + echo + sleep 1 + done +} + install_docker () { apt remove docker docker-engine docker.io containerd runc -y \ ; apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y \ @@ -270,6 +290,7 @@ EOF systemctl enable --now docker } +warning tee -a ~/.bashrc <