This is an old revision of the document!
# cat /etc/gitlab/gitlab.rb
root@node2:~# gitlab-runner register shell root@node2:~# cat /etc/gitlab-runner/config.toml log_level = "debug" ... root@node2:~# mkdir /var/lib/gitlab-runner root@node2:~# chown gitlab-runner /var/lib/gitlab-runner
root@node2:~# systemctl start gitlab-runner
vagrant@node1:~/project1$ cat .gitlab-ci.yml before_script: - echo "Before script section" >> /tmp/Bash.gitlab-ci.log after_script: - echo "After script section" >> /tmp/Bash.gitlab-ci.log deploy1: stage: deploy script: - echo "Do your deploy here" >> /tmp/Bash.gitlab-ci.log - docker-compose up -d
# cat /etc/gitlab/gitlab.rb
... gitlab_rails['ldap_enabled'] = true gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' main: label: 'LDAP' host: 'server.corpX.un' port: 389 # port: 636 uid: 'uid' bind_dn: 'cn=admin,dc=corpX,dc=un' password: 'secret' encryption: 'plain' # encryption: 'simple_tls' active_directory: false base: 'ou=People,dc=corpX,dc=un' ...
# gitlab-ctl reconfigure
Admin Area-> Applications-> val-auth-test Callback URL: https://val.bmstu.ru/auth-test Trusted: Yes