CI + Dev-Workspace: disable automatic rollout and setup new Workspace #145

Merged
mg merged 73 commits from image into master 2024-07-30 20:58:25 +02:00
Showing only changes of commit c9bc1701ce - Show all commits

View file

@ -7,6 +7,7 @@ IMAGE="registry.mgrote.net/ansible-devspace:latest"
RESET='\033[0m'
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
echo -e "${GREEN}Run checks...${RESET}"
@ -20,11 +21,12 @@ if ! [ -f "./id_ed25519" ]; then
exit 1
fi
if ! [ -f "~/.git-credentials" ]; then
echo -e "${RED}~/.git-credentials not Found!${RESET}"
echo -e "${YELLOW}~/.git-credentials not Found!${RESET}"
fi
docker pull ${IMAGE}
docker run -it \
-v "$PWD:/ansible-homeserver" \
-v "~/.git-credentials:/root/.git-credentials" \
-w /ansible-homeserver ${IMAGE}