GitLab on VPS - a1k89/Blog GitHub Wiki
Before: Set you domain gitlab.xxx.com A-zone to your IP address
sudo apt-get update && sudo apt-get upgrade- sudo apt-get install -y curl openssh-server ca-certificates perl
- curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
- sudo apt-get install gitlab-ee
- sudo vim /etc/gitlab/gitlab.rb
- Set
external_urito your host (http://gitlab.xxx.com) - sudo gitlab-ctl reconfigure
- Next you may to go your https gitlab server (https://gitlab.xxx.com)
- sudo vim /etc/gitlab/initial_root_password. Copy password and enter to dashboard. Change current root password
- https://www.bitslovers.com/gitlab-ci-build-docker-image-and-push-to-ecr/
Далее, необходимо сделать подключение к кубернетис из гитлаба
- Заходим в консоль yc init
- Получаем креды yc managed-kubernetes cluster get-credentials <id кластера> --external и сохраняем