df
This commit is contained in:
parent
30fd6ba86b
commit
ffa7ab43a5
1 changed files with 5 additions and 5 deletions
10
devspace.sh
10
devspace.sh
|
@ -4,10 +4,10 @@ IMAGE="registry.mgrote.net/ansible-devspace:latest"
|
||||||
|
|
||||||
# Farben
|
# Farben
|
||||||
# https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux
|
# https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux
|
||||||
RESET='\033[0m' # Text Reset
|
RESET='\033[0m'
|
||||||
RED='\033[0;31m' # Red
|
RED='\033[0;31m'
|
||||||
GREEN='\033[0;32m' # Green
|
GREEN='\033[0;32m'
|
||||||
Yellow='\033[0;33m' # Yellow
|
Yellow='\033[0;33m'
|
||||||
|
|
||||||
echo ${GREEN}Run checks...${RESET}
|
echo ${GREEN}Run checks...${RESET}
|
||||||
|
|
||||||
|
@ -24,6 +24,6 @@ echo ${GREEN}Pull image...${RESET}
|
||||||
docker pull --quiet ${IMAGE}
|
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} tmux new -t ansible && git rev-parse --abbrev-ref HEAD && git config --global --add safe.directory /ansible-homeserver
|
||||||
|
|
||||||
# todo shellcheck
|
# todo shellcheck
|
||||||
|
|
Loading…
Reference in a new issue