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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
a8803a7d
Commit
a8803a7d
authored
Dec 13, 2017
by
Toon Claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document GitLab Geo with Object Storage
Closes gitlab-org/gitlab-ee#3944.
parent
752657df
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
6 deletions
+36
-6
changelogs/unreleased-ee/tc-geo-object-storage-docs.yml
changelogs/unreleased-ee/tc-geo-object-storage-docs.yml
+5
-0
doc/gitlab-geo/README.md
doc/gitlab-geo/README.md
+5
-0
doc/gitlab-geo/object_storage.md
doc/gitlab-geo/object_storage.md
+21
-0
doc/workflow/git_lfs.md
doc/workflow/git_lfs.md
+2
-3
doc/workflow/lfs/lfs_administration.md
doc/workflow/lfs/lfs_administration.md
+3
-3
No files found.
changelogs/unreleased-ee/tc-geo-object-storage-docs.yml
0 → 100644
View file @
a8803a7d
---
title
:
Document GitLab Geo with Object Storage
merge_request
:
3760
author
:
type
:
other
doc/gitlab-geo/README.md
View file @
a8803a7d
...
@@ -185,6 +185,11 @@ Read how to [update your Geo nodes to the latest GitLab version](updating_the_ge
...
@@ -185,6 +185,11 @@ Read how to [update your Geo nodes to the latest GitLab version](updating_the_ge
Read through the [Geo High Availability documentation](ha.md).
Read through the [Geo High Availability documentation](ha.md).
## Configuring GitLab Geo with Object storage
When you have object storage enabled, please consult the
[Geo with Object Storage](object_storage.md) documentation.
## Current limitations
## Current limitations
- You cannot push code to secondary nodes
- You cannot push code to secondary nodes
...
...
doc/gitlab-geo/object_storage.md
0 → 100644
View file @
a8803a7d
# GitLab Geo with Object storage
GitLab Geo can be used in combination with Object Storage (AWS S3, or
other compatible object storage).
## Configuration
At this time it is required that if object storage is enabled on the
primary, it must also be enabled on the secondary.
The secondary nodes can use the same storage bucket as the primary, or
they can use a replicated storage bucket. At this time GitLab does not
take care of content replication in object storage.
For LFS, you can follow the documentation to
[
set up LFS object storage
](
../workflow/lfs/lfs_administration.md#setting-up-s3-compatible-object-storage
)
.
For CI job artifacts, there is similar documentation to configure
[
jobs artifact object storage
](
../administration/job_artifacts.md#using-object-storage
)
Complete these steps on all nodes, primary
**and**
secondary.
doc/workflow/git_lfs.md
View file @
a8803a7d
...
@@ -47,8 +47,7 @@ In `config/gitlab.yml`:
...
@@ -47,8 +47,7 @@ In `config/gitlab.yml`:
*
Git LFS v1 original API is not supported since it was deprecated early in LFS development, starting with Git LFS version 0.6.0
*
Git LFS v1 original API is not supported since it was deprecated early in LFS development, starting with Git LFS version 0.6.0
*
When SSH is set as a remote, Git LFS objects still go through HTTPS
*
When SSH is set as a remote, Git LFS objects still go through HTTPS
*
Any Git LFS request will ask for HTTPS credentials to be provided so good Git credentials store is recommended
*
Any Git LFS request will
[
ask for HTTPS credentials
](
#credentials-are-always-required-when-pushing-an-object
)
*
Currently, storing GitLab Git LFS objects on a non-local storage (like S3 buckets) is not supported
*
Git LFS always assumes HTTPS so if you have GitLab server on HTTP you will have to add the URL to Git config manually (see #troubleshooting-tips)
*
Git LFS always assumes HTTPS so if you have GitLab server on HTTP you will have to add the URL to Git config manually (see #troubleshooting-tips)
## Using Git LFS
## Using Git LFS
...
...
doc/workflow/lfs/lfs_administration.md
View file @
a8803a7d
...
@@ -66,7 +66,7 @@ For source installations the following settings are nested under `lfs:` and then
...
@@ -66,7 +66,7 @@ For source installations the following settings are nested under `lfs:` and then
|
`background_upload`
| Set to false to disable automatic upload. Option may be removed once upload is direct to S3 |
`true`
|
|
`background_upload`
| Set to false to disable automatic upload. Option may be removed once upload is direct to S3 |
`true`
|
|
`connection`
| Various connection options described below | |
|
`connection`
| Various connection options described below | |
#### S3 compatible connection setti
gn
s
#### S3 compatible connection setti
ng
s
The connection settings match those provided by
[
Fog
](
https://github.com/fog
)
, and are as follows:
The connection settings match those provided by
[
Fog
](
https://github.com/fog
)
, and are as follows:
...
@@ -114,7 +114,7 @@ The connection settings match those provided by [Fog](https://github.com/fog), a
...
@@ -114,7 +114,7 @@ The connection settings match those provided by [Fog](https://github.com/fog), a
will be forwarded to object storage unless
will be forwarded to object storage unless
`gitlab_rails['lfs_object_store_background_upload']` is set to false.
`gitlab_rails['lfs_object_store_background_upload']` is set to false.
### In
omb
nibus
### In
Om
nibus
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the following lines by replacing with
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the following lines by replacing with
the values you want:
the values you want:
...
...
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