diff options
Diffstat (limited to 'share/trashman/gitlab-runner/unix/linux/debian/install')
-rwxr-xr-x | share/trashman/gitlab-runner/unix/linux/debian/install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/share/trashman/gitlab-runner/unix/linux/debian/install b/share/trashman/gitlab-runner/unix/linux/debian/install new file mode 100755 index 0000000..0878d84 --- /dev/null +++ b/share/trashman/gitlab-runner/unix/linux/debian/install @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Installs GitLab Runner. +# + +# Parameters +DIRNAME="`dirname $0`" +SHARE="$1" +LIB="$2" + +# Include basic functions +. $LIB/trashman/functions || exit 1 +. $LIB/trashman/debian || exit 1 + +# Setup GitLab Debian repositories +# See https://docs.gitlab.com/runner/install/linux-repository.html +$SUDO $DIRNAME/files/script.deb.sh + +# Install GitLab Runner +trashman_apt_install gitlab-runner |