gitlab

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

GitLab runner

Register
sudo gitlab-runner register \
--non-interactive \
--url "http://gitlab.example.com/" \
--registration-token "abc1234567" \
--executor "shell" \
--description "docker-runner-shell" \
--tag-list "shell,runner1" \
--run-untagged \
--locked="false"

Links
https://docs.gitlab.com/ce/ci/runners/

GitLab: Web-based Git repository manager

Install
http://www.panticz.de/install-gitlab

# restart gitlab
gitlab-ctl restart

# git home directory
/var/opt/gitlab

Reset admin password
gitlab-rails console production
u = User.where(id: 1).first
u.password = 'secret'
u.password_confirmation = 'secret'
u.save!

backup
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/raketasks/backup_restore.md
# full backup
gitlab-rake gitlab:backup:create

# backup without reposiories
sudo gitlab-rake gitlab:backup:create SKIP=repositories

# backup target

Syndicate content