Actualización
This commit is contained in:
parent
e03d63a32c
commit
0736f51332
13
aliases.sh
13
aliases.sh
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## Variables de ambiente
|
## Variables de ambiente
|
||||||
|
|
||||||
|
export EDITOR=vim
|
||||||
export PATH=/home/perro/.local/bin:$PATH
|
export PATH=/home/perro/.local/bin:$PATH
|
||||||
export PATH=/home/perro/.cargo/bin:$PATH
|
export PATH=/home/perro/.cargo/bin:$PATH
|
||||||
export VENV=.venv
|
export VENV=.venv
|
||||||
|
@ -621,18 +622,6 @@ compare () {
|
||||||
# Cfr. https://stackoverflow.com/a/65920577
|
# Cfr. https://stackoverflow.com/a/65920577
|
||||||
runner () {
|
runner () {
|
||||||
runner=gitlab-runner
|
runner=gitlab-runner
|
||||||
: '
|
|
||||||
case $1 in
|
|
||||||
-h | --help)
|
|
||||||
runner-help ;;
|
|
||||||
*)
|
|
||||||
sudo docker run --entrypoint bash --rm -w $PWD -v $PWD:$PWD \
|
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
||||||
gitlab/gitlab-runner:latest \
|
|
||||||
-c git config --global --add safe.directory "*" ; gitlab-runner exec docker $1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
'
|
|
||||||
case $1 in
|
case $1 in
|
||||||
-h | --help)
|
-h | --help)
|
||||||
runner-help ;;
|
runner-help ;;
|
||||||
|
|
Loading…
Reference in New Issue