Find a file
Bob Van Landuyt f1ae1e39ce Move the circuitbreaker check out in a separate process
Moving the check out of the general requests, makes sure we don't have
any slowdown in the regular requests.

To keep the process performing this checks small, the check is still
performed inside a unicorn. But that is called from a process running
on the same server.

Because the checks are now done outside normal request, we can have a
simpler failure strategy:

The check is now performed in the background every
`circuitbreaker_check_interval`. Failures are logged in redis. The
failures are reset when the check succeeds. Per check we will try
`circuitbreaker_access_retries` times within
`circuitbreaker_storage_timeout` seconds.

When the number of failures exceeds
`circuitbreaker_failure_count_threshold`, we will block access to the
storage.

After `failure_reset_time` of no checks, we will clear the stored
failures. This could happen when the process that performs the checks
is not running.
2017-12-08 09:11:39 +01:00
.github
.gitlab Simplify the DB changes checklist 2017-11-23 14:14:57 +01:00
app Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
bin Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
builds
changelogs Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
config Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
db Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
doc Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
docker Common Docker Documentation Location in gitlab-ce 2017-08-25 19:23:49 +00:00
features Rename artifacts_* to legacy_artifacts_* 2017-12-03 12:04:49 +01:00
fixtures/emojis Move :gay_pride_flag: to flags category 2017-11-15 07:36:19 -06:00
generator_templates
lib Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
locale Rename GKE as Kubernetes Engine 2017-12-06 15:09:30 -06:00
log
public Changed title on 404 page 2017-09-01 11:42:31 +02:00
qa Fix QA group creation by filling required fileds 2017-12-07 14:33:09 +01:00
rubocop Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master' 2017-11-20 09:22:14 +00:00
scripts Set EE variable 2017-12-01 10:57:12 +05:30
shared
spec Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
symbol Resolve "Better SVG Usage in the Frontend" 2017-09-22 08:39:47 +00:00
tmp Move Prometheus presentation logic to PrometheusText 2017-06-02 19:45:58 +02:00
vendor Merge branch 'es-module-copy-to-clipboard' into 'master' 2017-11-30 07:31:37 +00:00
.babelrc Update droplab 2017-04-07 13:57:03 +00:00
.codeclimate.yml Exclude more path from codeclimate job 2017-06-14 19:26:35 +03:00
.csscomb.json
.eslintignore Fix linting errors in locale/index.js 2017-09-27 13:55:41 +02:00
.eslintrc add global __webpack_public_path__ to eslint config 2017-08-18 16:05:53 -05:00
.flayignore Add OperationService.UserDeleteBranch Gitaly RPC 2017-10-03 21:06:34 -03:00
.foreman
.gitignore Git ignore po files ending in time_stamp 2017-10-02 08:09:58 +02:00
.gitlab-ci.yml Do not run qa:internal for docs only changes 2017-12-05 16:40:14 +01:00
.haml-lint.yml Add custom linter for inline JavaScript to haml_lint (!9742) 2017-08-07 11:37:16 +02:00
.mailmap
.nvmrc Update .nvmrc to current stable (v9.0.0) 2017-11-02 13:15:39 +01:00
.pkgr.yml
.rubocop.yml Decrease ABC threshold to 54.28 2017-10-22 17:12:35 +00:00
.rubocop_todo.yml exclude spec/ and features/ from Style/PredicateName cop 2017-08-29 11:51:15 +03:00
.ruby-version Upgrade Ruby to 2.3.5 2017-10-31 14:19:14 +01:00
.scss-lint.yml Enable UnnecessaryMantissa in scss-lint 2017-11-09 21:06:03 +09:00
CHANGELOG.md Update CHANGELOG.md for 10.2.3 2017-11-30 11:08:57 -08:00
config.ru set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ru 2017-06-15 23:41:47 +02:00
CONTRIBUTING.md Add documentation about using US-English 2017-12-07 20:46:05 +00:00
doc_styleguide.md
docker-compose.yml
Gemfile Bump redis-rails to 5.0.2 to get redis-store security updates 2017-12-06 09:27:06 -08:00
Gemfile.lock Update prometheus-client-mmap gem to highly optimized version 2017-12-07 17:47:23 +01:00
GITALY_SERVER_VERSION Use Gitaly 0.59.0 2017-12-07 18:02:46 +01:00
GITLAB_PAGES_VERSION Update GitLab Pages to v0.6.0 2017-10-02 15:30:15 +01:00
GITLAB_SHELL_VERSION Bump GITLAB_SHELL_VERSION 2017-12-06 10:41:52 -06:00
GITLAB_WORKHORSE_VERSION Update gitlab-workhorse to v3.3.1 2017-11-14 13:05:45 +00:00
LICENSE Update LICENSE to carve out third party licenses. 2017-09-19 17:38:48 +00:00
MAINTENANCE.md Change location of the maintenance policy document. Add version support information. [CI skip] 2017-10-11 15:01:55 +02:00
package.json Merge branch 'master' into multi-file-editor-dirty-diff-indicator 2017-11-30 09:52:58 +00:00
PROCESS.md Use the new simpler Pick into X.Y labels workflow after the 7th 2017-11-09 14:57:22 +01:00
Procfile
Rakefile
README.md Add badge for dependency status 2017-08-16 12:35:42 +02:00
VERSION Update VERSION to 10.3.0-pre 2017-11-21 15:49:50 -08:00
yarn.lock Add chevron to create dropdown on repository page 2017-12-06 22:20:32 +00:00

GitLab

Build status Overall test coverage Dependency Status Code Climate Core Infrastructure Initiative Best Practices Gitter

Test coverage

  • Ruby coverage Ruby
  • JavaScript coverage JavaScript

Canonical source

The canonical source of GitLab Community Edition is hosted on GitLab.com.

Open source software to collaborate on code

To see how GitLab looks please see the features page on our website.

  • Manage Git repositories with fine grained access controls that keep your code secure
  • Perform code reviews and enhance collaboration with merge requests
  • Complete continuous integration (CI) and CD pipelines to builds, test, and deploy your applications
  • Each project can also have an issue tracker, issue board, and a wiki
  • Used by more than 100,000 organizations, GitLab is the most popular solution to manage Git repositories on-premises
  • Completely free and open source (MIT Expat license)

Hiring

We're hiring developers, support people, and production engineers all the time, please see our jobs page.

Editions

There are two editions of GitLab:

  • GitLab Community Edition (CE) is available freely under the MIT Expat license.
  • GitLab Enterprise Edition (EE) includes extra features that are more useful for organizations with more than 100 users. To use EE and get official support please become a subscriber.

Website

On about.gitlab.com you can find more information about:

Requirements

Please see the requirements documentation for system requirements and more information about the supported operating systems.

Installation

The recommended way to install GitLab is with the Omnibus packages on our package server. Compared to an installation from source, this is faster and less error prone. Just select your operating system, download the respective package (Debian or RPM) and install it using the system's package manager.

There are various other options to install GitLab, please refer to the installation page on the GitLab website for more information.

You can access a new installation with the login root and password 5iveL!fe, after login you are required to set a unique password.

Contributing

GitLab is an open source project and we are very happy to accept community contributions. Please refer to CONTRIBUTING.md for details.

Install a development environment

To work on GitLab itself, we recommend setting up your development environment with the GitLab Development Kit. If you do not use the GitLab Development Kit you need to install and setup all the dependencies yourself, this is a lot of work and error prone. One small thing you also have to do when installing it yourself is to copy the example development unicorn configuration file:

cp config/unicorn.rb.example.development config/unicorn.rb

Instructions on how to start GitLab and how to run the tests can be found in the getting started section of the GitLab Development Kit.

Software stack

GitLab is a Ruby on Rails application that runs on the following software:

  • Ubuntu/Debian/CentOS/RHEL/OpenSUSE
  • Ruby (MRI) 2.3
  • Git 2.8.4+
  • Redis 2.8+
  • PostgreSQL (preferred) or MySQL

For more information please see the architecture documentation.

UX design

Please adhere to the UX Guide when creating designs and implementing code.

Third-party applications

There are a lot of third-party applications integrating with GitLab. These include GUI Git clients, mobile applications and API wrappers for various languages.

GitLab release cycle

For more information about the release process see the release documentation.

Upgrading

For upgrading information please see our update page.

Documentation

All documentation can be found on docs.gitlab.com/ce/.

Getting help

Please see Getting help for GitLab on our website for the many options to get help.

Is it any good?

Yes

Is it awesome?

Thanks for asking this question Joshua. These people seem to like it.