aboutsummaryrefslogtreecommitdiff
path: root/share/trashman/gitlab-runner/unix/linux/debian/install
blob: 0878d841584dbfa96ec9279de1d3ea3b05b1b80f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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