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 107fcdb2be - Show all commits

View file

@ -14,18 +14,18 @@ echo ${GREEN}Run checks...${RESET}
# TODO ghier noch check output mit haken dran in grün
if ! [ -f "./vault-pass" ]; then
echo "${RED}Vault-Pass File is missing!${RESET}"
echo -e "${RED}Vault-Pass File is missing!${RESET}"
exit 1
fi
if ! [ -f "./id_ed25519" ]; then
echo "${RED}SSH-Private-Key is missing!${RESET}"
echo -e "${RED}SSH-Private-Key is missing!${RESET}"
exit 1
fi
echo ${GREEN}Pull image...${RESET}
echo -e ${GREEN}Pull image...${RESET}
docker pull --quiet ${IMAGE}
echo ${GREEN}Start session...${RESET}
echo -e ${GREEN}Start session...${RESET}
docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver
# todo shellcheck