Commit bf44938c authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Drop comments on cookbook installing from source now that it uses Omnibus.

parent 6290b75d
...@@ -13,7 +13,7 @@ You can only restore a backup to exactly the same version of GitLab that you cre ...@@ -13,7 +13,7 @@ You can only restore a backup to exactly the same version of GitLab that you cre
# use this command if you've installed GitLab with the Omnibus package # use this command if you've installed GitLab with the Omnibus package
sudo gitlab-rake gitlab:backup:create sudo gitlab-rake gitlab:backup:create
# if you've installed GitLab from source or using the cookbook # if you've installed GitLab from source
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
``` ```
...@@ -147,7 +147,7 @@ You can only restore a backup to exactly the same version of GitLab that you cre ...@@ -147,7 +147,7 @@ You can only restore a backup to exactly the same version of GitLab that you cre
# Omnibus package installation # Omnibus package installation
sudo gitlab-rake gitlab:backup:restore sudo gitlab-rake gitlab:backup:restore
# installation from source or cookbook # installation from source
bundle exec rake gitlab:backup:restore RAILS_ENV=production bundle exec rake gitlab:backup:restore RAILS_ENV=production
``` ```
...@@ -192,7 +192,7 @@ Deleting tmp directories...[DONE] ...@@ -192,7 +192,7 @@ Deleting tmp directories...[DONE]
For Omnibus package installations, see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#scheduling-a-backup . For Omnibus package installations, see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#scheduling-a-backup .
For installation from source or cookbook: For installation from source:
``` ```
cd /home/git/gitlab cd /home/git/gitlab
sudo -u git -H editor config/gitlab.yml # Enable keep_time in the backup section to automatically delete old backups sudo -u git -H editor config/gitlab.yml # Enable keep_time in the backup section to automatically delete old backups
......
...@@ -8,7 +8,7 @@ Remove namespaces(dirs) from `/home/git/repositories` if they don't exist in Git ...@@ -8,7 +8,7 @@ Remove namespaces(dirs) from `/home/git/repositories` if they don't exist in Git
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:cleanup:dirs sudo gitlab-rake gitlab:cleanup:dirs
# installation from source or cookbook # installation from source
bundle exec rake gitlab:cleanup:dirs RAILS_ENV=production bundle exec rake gitlab:cleanup:dirs RAILS_ENV=production
``` ```
...@@ -18,6 +18,6 @@ Remove repositories (global only for now) from `/home/git/repositories` if they ...@@ -18,6 +18,6 @@ Remove repositories (global only for now) from `/home/git/repositories` if they
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:cleanup:repos sudo gitlab-rake gitlab:cleanup:repos
# installation from source or cookbook # installation from source
bundle exec rake gitlab:cleanup:repos RAILS_ENV=production bundle exec rake gitlab:cleanup:repos RAILS_ENV=production
``` ```
...@@ -8,7 +8,7 @@ This command gathers information about your GitLab installation and the System i ...@@ -8,7 +8,7 @@ This command gathers information about your GitLab installation and the System i
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:env:info sudo gitlab-rake gitlab:env:info
# installation from source or cookbook # installation from source
bundle exec rake gitlab:env:info RAILS_ENV=production bundle exec rake gitlab:env:info RAILS_ENV=production
``` ```
...@@ -59,7 +59,7 @@ You may also have a look at our [Trouble Shooting Guide](https://github.com/gitl ...@@ -59,7 +59,7 @@ You may also have a look at our [Trouble Shooting Guide](https://github.com/gitl
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:check sudo gitlab-rake gitlab:check
# installation from source or cookbook # installation from source
bundle exec rake gitlab:check RAILS_ENV=production bundle exec rake gitlab:check RAILS_ENV=production
``` ```
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:import:user_to_projects[username@domain.tld] sudo gitlab-rake gitlab:import:user_to_projects[username@domain.tld]
# installation from source or cookbook # installation from source
bundle exec rake gitlab:import:user_to_projects[username@domain.tld] RAILS_ENV=production bundle exec rake gitlab:import:user_to_projects[username@domain.tld] RAILS_ENV=production
``` ```
...@@ -20,7 +20,7 @@ Notes: ...@@ -20,7 +20,7 @@ Notes:
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:import:all_users_to_all_projects sudo gitlab-rake gitlab:import:all_users_to_all_projects
# installation from source or cookbook # installation from source
bundle exec rake gitlab:import:all_users_to_all_projects RAILS_ENV=production bundle exec rake gitlab:import:all_users_to_all_projects RAILS_ENV=production
``` ```
...@@ -30,7 +30,7 @@ bundle exec rake gitlab:import:all_users_to_all_projects RAILS_ENV=production ...@@ -30,7 +30,7 @@ bundle exec rake gitlab:import:all_users_to_all_projects RAILS_ENV=production
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:import:user_to_groups[username@domain.tld] sudo gitlab-rake gitlab:import:user_to_groups[username@domain.tld]
# installation from source or cookbook # installation from source
bundle exec rake gitlab:import:user_to_groups[username@domain.tld] RAILS_ENV=production bundle exec rake gitlab:import:user_to_groups[username@domain.tld] RAILS_ENV=production
``` ```
...@@ -44,6 +44,6 @@ Notes: ...@@ -44,6 +44,6 @@ Notes:
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:import:all_users_to_all_groups sudo gitlab-rake gitlab:import:all_users_to_all_groups
# installation from source or cookbook # installation from source
bundle exec rake gitlab:import:all_users_to_all_groups RAILS_ENV=production bundle exec rake gitlab:import:all_users_to_all_groups RAILS_ENV=production
``` ```
...@@ -4,42 +4,42 @@ ...@@ -4,42 +4,42 @@
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook"
# source installations or cookbook # source installations
bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" RAILS_ENV=production
## Add a web hook for projects in a given **NAMESPACE**: ## Add a web hook for projects in a given **NAMESPACE**:
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme sudo gitlab-rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme
# source installations or cookbook # source installations
bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme RAILS_ENV=production
## Remove a web hook from **ALL** projects using: ## Remove a web hook from **ALL** projects using:
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook"
# source installations or cookbook # source installations
bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" RAILS_ENV=production
## Remove a web hook from projects in a given **NAMESPACE**: ## Remove a web hook from projects in a given **NAMESPACE**:
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme sudo gitlab-rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme
# source installations or cookbook # source installations
bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme RAILS_ENV=production
## List **ALL** web hooks: ## List **ALL** web hooks:
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:web_hook:list sudo gitlab-rake gitlab:web_hook:list
# source installations or cookbook # source installations
bundle exec rake gitlab:web_hook:list RAILS_ENV=production bundle exec rake gitlab:web_hook:list RAILS_ENV=production
## List the web hooks from projects in a given **NAMESPACE**: ## List the web hooks from projects in a given **NAMESPACE**:
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:web_hook:list NAMESPACE=/ sudo gitlab-rake gitlab:web_hook:list NAMESPACE=/
# source installations or cookbook # source installations
bundle exec rake gitlab:web_hook:list NAMESPACE=/ RAILS_ENV=production bundle exec rake gitlab:web_hook:list NAMESPACE=/ RAILS_ENV=production
> Note: `/` is the global namespace. > Note: `/` is the global namespace.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment