I was trying to install GitLab-runner using apt package manager.
curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | sudo bash
but there is no GitLab runner package for debian11 right now.
I was trying to install GitLab-runner using apt package manager.
curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | sudo bash
but there is no GitLab runner package for debian11 right now.
for now there is no GitLab-runner package on Debian 11 so you should use Debian 10 packages to install from package manager:
curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | sudo bash
sudo vim /etc/apt/sources.list.d/runner_gitlab-runner.list
deb https://packages.gitlab.com/runner/gitlab-runner/debian/ buster main deb-src https://packages.gitlab.com/runner/gitlab-runner/debian/ buster main
sudo apt update
sudo apt install gitlab-runner
This processes are old just follow the gitlab orders:
# Download the binary for your system
sudo curl -L --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64
# Give it permission to execute
sudo chmod +x /usr/local/bin/gitlab-runner
# Create a GitLab Runner user
sudo useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash
# Install and run as a service
sudo gitlab-runner install --user=gitlab-runner --working-directory=/home/gitlab-runner
sudo gitlab-runner start