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 f25ce8d59f - Show all commits

View file

@ -21,13 +21,11 @@ if ! [ -f "./id_ed25519" ]; then
exit 1 exit 1
fi fi
echo -e "${GREEN}Pull image...${RESET}"
docker pull --quiet ${IMAGE} docker pull --quiet ${IMAGE}
echo -e "${GREEN}Start session...${RESET}"
docker run -it \ docker run -it \
-v $PWD:/ansible-homeserver \ -v $PWD:/ansible-homeserver \
-w /ansible-homeserver ${IMAGE} \ -w /ansible-homeserver ${IMAGE} \
/bin/bash -c "git config --global --add safe.directory /ansible-homeserver && echo Branch: \$(git rev-parse --abbrev-ref HEAD) && /bin/bash" /bin/bash -c "git config --global --add safe.directory /ansible-homeserver && /bin/bash"
# todo shellcheck # todo shellcheck