Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
bf44938c
Commit
bf44938c
authored
Jan 28, 2015
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop comments on cookbook installing from source now that it uses Omnibus.
parent
6290b75d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
17 deletions
+17
-17
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+3
-3
doc/raketasks/cleanup.md
doc/raketasks/cleanup.md
+2
-2
doc/raketasks/maintenance.md
doc/raketasks/maintenance.md
+2
-2
doc/raketasks/user_management.md
doc/raketasks/user_management.md
+4
-4
doc/raketasks/web_hooks.md
doc/raketasks/web_hooks.md
+6
-6
No files found.
doc/raketasks/backup_restore.md
View file @
bf44938c
...
@@ -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
...
...
doc/raketasks/cleanup.md
View file @
bf44938c
...
@@ -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
```
```
doc/raketasks/maintenance.md
View file @
bf44938c
...
@@ -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
```
```
...
...
doc/raketasks/user_management.md
View file @
bf44938c
...
@@ -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
```
```
doc/raketasks/web_hooks.md
View file @
bf44938c
...
@@ -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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment