@@ -66,14 +66,11 @@ Authenticate to GitLab using the Atlassian Crowd OmniAuth provider.
...
@@ -66,14 +66,11 @@ Authenticate to GitLab using the Atlassian Crowd OmniAuth provider.
1. Change `YOUR_APP_NAME` to the application name from Crowd applications page.
1. Change `YOUR_APP_NAME` to the application name from Crowd applications page.
1. Change `YOUR_APP_PASSWORD` to the application password you've set.
1. Change `YOUR_APP_PASSWORD` to the application password you've set.
1. Save the configuration file.
1. Save the configuration file.
1.[Reconfigure][] or [restart][] for the changes to take effect if you
1.[Reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure) or [restart](../restart_gitlab.md#installations-from-source) for the changes to take effect if you
installed GitLab via Omnibus or from source respectively.
installed GitLab via Omnibus or from source respectively.
On the sign in page there should now be a Crowd tab in the sign in form.
On the sign in page there should now be a Crowd tab in the sign in form.
If you see an error message like the one below when you sign in after Crowd authentication is configured, you may want to consult the Crowd administrator for the Crowd log file to know the exact cause:
If you see an error message like the one below when you sign in after Crowd authentication is configured, you may want to consult the Crowd administrator for the Crowd log file to know the exact cause:
@@ -64,7 +64,7 @@ JWT will provide you with a secret key for you to use.
...
@@ -64,7 +64,7 @@ JWT will provide you with a secret key for you to use.
1. Change `YOUR_APP_SECRET` to the client secret and set `auth_url` to your redirect URL.
1. Change `YOUR_APP_SECRET` to the client secret and set `auth_url` to your redirect URL.
1. Save the configuration file.
1. Save the configuration file.
1.[Reconfigure][] or [restart GitLab][] for the changes to take effect if you
1.[Reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure) or [restart GitLab](../restart_gitlab.md#installations-from-source) for the changes to take effect if you
installed GitLab via Omnibus or from source respectively.
installed GitLab via Omnibus or from source respectively.
On the sign in page there should now be a JWT icon below the regular sign in form.
On the sign in page there should now be a JWT icon below the regular sign in form.
...
@@ -72,9 +72,6 @@ Click the icon to begin the authentication process. JWT will ask the user to
...
@@ -72,9 +72,6 @@ Click the icon to begin the authentication process. JWT will ask the user to
sign in and authorize the GitLab application. If everything goes well, the user
sign in and authorize the GitLab application. If everything goes well, the user
will be redirected to GitLab and will be signed in.
will be redirected to GitLab and will be signed in.
@@ -14,12 +14,12 @@ ensure functionality is preserved across versions and covered by tests.
...
@@ -14,12 +14,12 @@ ensure functionality is preserved across versions and covered by tests.
NOTE: **Note:**
NOTE: **Note:**
File hooks must be configured on the filesystem of the GitLab server. Only GitLab
File hooks must be configured on the filesystem of the GitLab server. Only GitLab
server administrators will be able to complete these tasks. Explore
server administrators will be able to complete these tasks. Explore
[system hooks] or [webhooks] as an option if you do not have filesystem access.
[system hooks](../system_hooks/system_hooks.md) or [webhooks](../user/project/integrations/webhooks.md) as an option if you do not have filesystem access.
A file hook will run on each event so it's up to you to filter events or projects
A file hook will run on each event so it's up to you to filter events or projects
within a file hook code. You can have as many file hooks as you want. Each file hook will
within a file hook code. You can have as many file hooks as you want. Each file hook will
be triggered by GitLab asynchronously in case of an event. For a list of events
be triggered by GitLab asynchronously in case of an event. For a list of events
see the [system hooks] documentation.
see the [system hooks](../system_hooks/system_hooks.md) documentation.
## Setup
## Setup
...
@@ -35,7 +35,7 @@ Follow the steps below to set up a custom hook:
...
@@ -35,7 +35,7 @@ Follow the steps below to set up a custom hook:
`/home/git/gitlab/file_hooks/`. For Omnibus installs the path is
`/home/git/gitlab/file_hooks/`. For Omnibus installs the path is
usually `/opt/gitlab/embedded/service/gitlab-rails/file_hooks`.
usually `/opt/gitlab/embedded/service/gitlab-rails/file_hooks`.
For [highly available] configurations, your hook file should exist on each
For [highly available](availability/index.md) configurations, your hook file should exist on each
application server.
application server.
1. Inside the `file_hooks` directory, create a file with a name of your choice,
1. Inside the `file_hooks` directory, create a file with a name of your choice,
...
@@ -46,7 +46,7 @@ Follow the steps below to set up a custom hook:
...
@@ -46,7 +46,7 @@ Follow the steps below to set up a custom hook:
language type. For example, if the script is in Ruby the shebang will
language type. For example, if the script is in Ruby the shebang will
probably be `#!/usr/bin/env ruby`.
probably be `#!/usr/bin/env ruby`.
1. The data to the file hook will be provided as JSON on STDIN. It will be exactly
1. The data to the file hook will be provided as JSON on STDIN. It will be exactly
same as for [system hooks]
same as for [system hooks](../system_hooks/system_hooks.md).
That's it! Assuming the file hook code is properly implemented, the hook will fire
That's it! Assuming the file hook code is properly implemented, the hook will fire
as appropriate. The file hooks file list is updated for each event, there is no
as appropriate. The file hooks file list is updated for each event, there is no
...
@@ -110,7 +110,3 @@ Validating file hooks from /file_hooks directory
...
@@ -110,7 +110,3 @@ Validating file hooks from /file_hooks directory
> [Introduced][ee-2760] in [GitLab Premium][eep] 10.0. Brought to GitLab Core in 10.7.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/2760) in [GitLab Premium](https://about.gitlab.com/pricing/) 10.0. Brought to GitLab Core in 10.7.
It is possible to store LFS objects in remote object storage which allows you
It is possible to store LFS objects in remote object storage which allows you
to offload local hard disk R/W operations, and free up disk space significantly.
to offload local hard disk R/W operations, and free up disk space significantly.
...
@@ -177,7 +177,7 @@ On Omnibus installations, the settings are prefixed by `lfs_object_store_`:
...
@@ -177,7 +177,7 @@ On Omnibus installations, the settings are prefixed by `lfs_object_store_`:
}
}
```
```
1. Save the file and [reconfigure GitLab]s for the changes to take effect.
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
1. Migrate any existing local LFS objects to the object storage:
1. Migrate any existing local LFS objects to the object storage:
```shell
```shell
...
@@ -213,7 +213,7 @@ For source installations the settings are nested under `lfs:` and then
...
@@ -213,7 +213,7 @@ For source installations the settings are nested under `lfs:` and then
path_style:true
path_style:true
```
```
1. Save the file and [restart GitLab][] for the changes to take effect.
1. Save the file and [restart GitLab](../restart_gitlab.md#installations-from-source) for the changes to take effect.
1. Migrate any existing local LFS objects to the object storage:
1. Migrate any existing local LFS objects to the object storage:
```shell
```shell
...
@@ -268,8 +268,3 @@ See more information in [!19581](https://gitlab.com/gitlab-org/gitlab-foss/-/mer
...
@@ -268,8 +268,3 @@ See more information in [!19581](https://gitlab.com/gitlab-org/gitlab-foss/-/mer
- Only compatible with the Git LFS client versions 1.1.0 and up, or 1.0.2.
- Only compatible with the Git LFS client versions 1.1.0 and up, or 1.0.2.
- The storage statistics currently count each LFS object multiple times for
- The storage statistics currently count each LFS object multiple times for
every project linking to it.
every project linking to it.
[reconfigure gitlab]:../restart_gitlab.md#omnibus-gitlab-reconfigure"How to reconfigure Omnibus GitLab"
[restart gitlab]:../restart_gitlab.md#installations-from-source"How to restart GitLab"