dsd
All checks were successful
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/pr/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline was successful
ci/woodpecker/pr/ansible-lint Pipeline was successful

This commit is contained in:
Michael Grote 2024-07-25 23:36:08 +02:00
parent fe9e52886b
commit 30fd6ba86b

View file

@ -1,16 +1,13 @@
#!/bin/bash #!/bin/bash
IMAGE=registry.mgrote.net/ansible-devspace:latest IMAGE="registry.mgrote.net/ansible-devspace:latest"
# Farben # Farben
BLUE='\[\e[34m\]' # https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux
GREEN='\[\e[32m\]' RESET='\033[0m' # Text Reset
RED='\[\e[31m\]' RED='\033[0;31m' # Red
YELLOW='\[\e[33m\]' GREEN='\033[0;32m' # Green
WHITE='\[\e[97m\]' Yellow='\033[0;33m' # Yellow
BLACK='\[\e[30m\]'
RESET='\[\e[0m\]'
ORANGE='\[\e[0;33m\]'
echo ${GREEN}Run checks...${RESET} echo ${GREEN}Run checks...${RESET}
@ -28,3 +25,5 @@ docker pull --quiet ${IMAGE}
echo ${GREEN}Start session...${RESET} echo ${GREEN}Start session...${RESET}
docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} /bin/bash && tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver docker run -it -v $PWD:/ansible-homeserver -w /ansible-homeserver ${IMAGE} /bin/bash && tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver
# todo shellcheck