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 bashsudo vim /etc/apt/sources.list.d/runner_gitlab-runner.list- replace content of this file with this
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 updatesudo apt install gitlab-runner
apt - how to install gitlab-runner on Debian 11 using package manager - Stack Overflow
GitLab on Debian 11?
I just upgraded my Debian to bullseye. It works, but I haven't used it much yet.
More on reddit.comGitlab VM to LXC migration
Bit of a show & tell.
Moved my gitlab install from a debian VM to a debian LXC to reduce memory overhead. Top is a VM, bottom is the LXC.
Note that about half the 8gb is caching so depending on how you look at it perhaps not 1:1 comparable.
Wouldn't read too much into the CPU usage numbers...it's just timing of screenshot.
edit: worth pointing out that to make gitlab play nice under lxc requires settings that are tangibly less isolated than a VM. So this entire thing is probably a bad idea if you're not inside a walled garden LAN where everything is trusted. Also if this comment drops below top of pile pls upvote to keep it essentially pinned for context...else the screenshot just doesn't make sense
More on reddit.comSetting up CI/CD for .NET Core in Docker?
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 bashsudo vim /etc/apt/sources.list.d/runner_gitlab-runner.list- replace content of this file with this
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 updatesudo 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