config file: /etc/gitlab/gitlab.rb
sudo gitlab-ctl reconfigure
Updating LXC-TurnKey Container image:
apt update && apt upgrade -y
Gitlab update: https://docs.gitlab.com/ee/update/index.html#version-specific-upgrading-instructions
Update Git version following: https://docs.gitlab.com/ee/install/installation.html#git
version of gitaly is always the gitlab version: v14.6.1 not 14.6-stable as mentioned above
cd existing_folder
git init
git remote add origin https://git.wieser-hv.de/smilebasti/test_wave.git
git add .
git commit -m "Initial commit"
git push -u origin master
https://docs.gitlab.com/ee/ci/quick_start/index.html
Trying to push from branch to registry doesn't work with preset variables
Error: Cannot perform an interactive login from a non TTY device
https://forum.gitlab.com/t/error-cannot-perform-an-interactive-login-from-a-non-tty-device/59936/2
Gitlab runner installation from admin account for every project or per project base.
Check on runners if still in use and delete if not with:
sudo gitlab-runner verify --delete
Follow instructions/command in admin panel. Submenu CI/CD - Runner
Shell Error: prepare environment: exit status 1
solve by: rm /home/gitlab-runner/.bash_logout
Server: ERROR: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock
solve by: sudo usermod -aG docker gitlab-runner
remote: HTTP Basic: Access denied.
solved by adding to /etc/gitlab-runner/config.toml clone_url because it tried to pull from http instead of https
[[runners]]
url = “https://gitlab.example.com”
clone_url = “https://gitlab.example.com”
Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown
Solution: check docker image version with buildx. My case docker used tag:stable
deprecated since 3 years.
https://docs.gitlab.com/runner/install/linux-manually.html#update-1
sudo gitlab-runner stop
sudo curl -L --output /usr/local/bin/gitlab-runner "https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64"
sudo chmod +x /usr/local/bin/gitlab-runner
sudo gitlab-runner start
After the Harbor integration is activated, global variables $HARBOR_USERNAME
, $HARBOR_HOST
, $HARBOR_OCI
, $HARBOR_PASSWORD
, $HARBOR_URL
and $HARBOR_PROJECT
will be created for CI/CD use.
Automated dependency updates mit Renovate Bot for Gitlab Runners.