Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
gitlab
Compare revisions
dd1eadb1c739384123c0d7336125a4792062fcf6 to 1b8642e6ead407857c55523957889e749cdba6cf
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
ansible/roles/gitlab
Select target project
No results found
1b8642e6ead407857c55523957889e749cdba6cf
Select Git revision
Swap
Target
ansible/roles/gitlab
Select target project
ansible/roles/gitlab
1 result
dd1eadb1c739384123c0d7336125a4792062fcf6
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
docker/l3d#74
Move all documentation to devops-tools doc
· 1b8642e6
jurgenhaas
authored
4 years ago
1b8642e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+2
-52
2 additions, 52 deletions
README.md
with
2 additions
and
52 deletions
README.md
View file @
1b8642e6
Installs GitLab Community Edition
# GitLab
Links:
-
GitLab Install on Ubuntu 12.04: https://about.gitlab.com/downloads
-
sudo apt-get install curl openssh-server ca-certificates postfix
-
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
-
sudo apt-get install gitlab-ce
-
sudo nano /etc/gitlab/gitlab.rb
-
sudo gitlab-ctl restart
-
Configure Apache
-
sudo gitlab-ctl reconfigure
-
sudo service apache2 restart
*
Username: root
*
Password: 5iveL!fe
-
Trouble Shooting: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
-
Blog Install GitLab: http://paulshipley.id.au/blog/coding-tips/install-gitlab-on-ubuntu-14-04-using-apache2
-
GitLab / SSL / Apache: https://gitlab.com/gitlab-org/gitlab-recipes/blob/master/web-server/apache/gitlab-ssl.conf
-
GitLab other webserver: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md
-
Ansible Sample: https://gitlab.xarif.de/thomass/ansible_roles/tree/master/thomass.gitlab
-
CI Samples: http://doc.gitlab.com/ce/ci/yaml/README.html
-
Runner installation: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/tree/master
Additional issues that helped to resolve the configuration:
-
https://gitlab.com/gitlab-org/gitlab-ce/issues/3262
-
https://gitlab.com/gitlab-org/gitlab-ce/issues/3262
-
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/web-server/apache
Prepareing target hosts:
-
Copy pdevop:/home/gitlab-runner/.ssh/id_rsa.pub to authenticated keys on target host
-
ssh-keygen on target and paste the public key into deployment keys on gitlab
Preparing gitlab-runner:
-
Configure Ansible with vault and password
Preparing gitlab-lfs:
-
see http://doc.gitlab.com/ce/workflow/lfs/lfs_administration.html
-
gitlab_rails['lfs_enabled'] = false
-
gitlab_rails['lfs_storage_path'] = "/mnt/storage/lfs-objects"
GitLab LFS client install and usage:
-
https://packagecloud.io/github/git-lfs/install
-
http://doc.gitlab.com/ce/workflow/lfs/manage_large_binaries_with_git_lfs.html
Gitlab Kanban
-
http://kanban.leanlabs.io
-
https://gitlab.com/leanlabsio/kanban
Tips & Tricks
-
Database Console:
`sudo -u gitlab-psql /opt/gitlab/embedded/bin/psql -h /var/opt/gitlab/postgresql/ gitlabhq_production`
-
Mattermost CLI:
`/opt/gitlab/embedded/service/mattermost/i18n`
and then
`sudo -u mattermost /opt/gitlab/embedded/bin/mattermost -config=/var/opt/gitlab/mattermost/config.json -help`
-
[
Registry Garbage Collection
](
https://docs.gitlab.com/omnibus/maintenance/#removing-unused-layers-not-referenced-by-manifests
)
You find all the details in the
[
full documentation
](
https://devops-tools.docs.lakedrops.com/ansible/roles/gitlab/
)
.
This diff is collapsed.
Click to expand it.