summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Use a shorter socket path during testingtest-socket-pathJacob Vosmaer2017-05-031-1/+1
|
* adds timeout option to push branches and respective test suiteTiago Botelho2017-03-291-0/+80
|
* Remove git annex supportPawel Chojnacki2017-02-241-66/+0
|
* Use api/v4 for gitaly notification and add testsgitaly-post-receive-2Alejandro Rodríguez2017-02-102-3/+66
|
* Add gitaly notification on post-receive hookAlejandro Rodríguez2017-02-071-0/+10
|
* Set a 'Host' header on unix socketsJacob Vosmaer2017-01-031-14/+27
| | | | Workaround for a bug in the HTTPUNIX client.
* Make custom hooks dir configurableSean McGivern2016-12-121-14/+52
| | | | | | | | Add a new configuration option, custom_hooks_dir. When this is set, we will look for global custom hooks in: <custom_hooks_dir>/{pre-receive,update,post-receive}.d/* When this is not set, default to <REPO_PATH>/hooks.
* Make merge request text after push clearerLisanne Fellinger2016-12-081-2/+2
| | | | | | Add changelog entry Editing changelog entry version
* test expected hook orderElan Ruusamäe2016-12-011-0/+30
|
* DRY: add helpers for expect hook callsElan Ruusamäe2016-12-011-35/+31
|
* test gl_id_test_hook as global and as repo hook separatelyElan Ruusamäe2016-12-011-1/+24
|
* spec/custom_hook: ensure "before" does complete cleanupElan Ruusamäe2016-12-011-7/+6
| | | | | this fixes problem that tests succeeded locally but failed in ci where parent dirs were missing
* spec/custom_hooks: cleanup helpers not to repeat repo path parameterElan Ruusamäe2016-12-011-34/+34
|
* fix gl_id_test_hookElan Ruusamäe2016-12-011-10/+8
|
* cleanup dirs in before to fixup aborted testsElan Ruusamäe2016-12-011-4/+10
|
* move helpers to topElan Ruusamäe2016-12-011-29/+29
|
* improve wording by using successful instead of okElan Ruusamäe2016-12-011-4/+4
|
* remove unused create_global_hooksElan Ruusamäe2016-12-011-5/+0
|
* spec: updated tests to match current codeElan Ruusamäe2016-12-011-34/+67
|
* spec: add tests for global custom hooksDirk Hörner2016-12-013-15/+165
|
* custom_hook: refactor to pull repo_path into classDirk Hörner2016-12-011-4/+4
| | | | | | This commit takes the GitlabCustomHook a bit clother to the other hook handling classes by receiving the repo_path as argument to initialize() instead of passing it to each method.
* Use full repository path for API calls instead of extracting namedz-support-nested-namespacesDmitriy Zaporozhets2016-10-273-10/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Re-use the default logger for performance metricsYorick Peterse2016-10-121-8/+4
| | | | | | | This removes the need for configuring anything extra. To make scraping easier each line is prefixed by "metrics:". Fixes #64
* Instrument GitLab Shell and log metrics data to a filePaco Guzman2016-10-112-2/+32
|
* Fix rsync with ionice command buildingAlejandro Rodríguez2016-10-071-3/+3
|
* Fix short circuit logic between rsync with and without ionice forAlejandro Rodríguez2016-10-051-0/+35
| | | | storage migrations
* added GL_IDadd_gl_idValery Sizov2016-10-052-0/+35
|
* Enable GIT_TRACE/GIT_TRACE_PACKET/GIT_TRACE_PERFORMANCE by providing the ↵59-git-tracingPaco Guzman2016-09-271-1/+67
| | | | | | git_trace_log_file config key The value of the variable if present must be a writable absolute path. If it’s not the case we log a proper message and not enable tracing to not throw output to the users.
* Set a low IO priority for storage moves to lower performance impactionice-mvAlejandro Rodríguez2016-09-201-0/+3
|
* Style fixes and better tests.Patricio Cano2016-09-062-7/+22
|
* Refactored LFS auth logic to use its own API endpoint.Patricio Cano2016-09-067-10/+67
|
* Added test for old Git LFS clients that submit an extra :oid argument to ↵Patricio Cano2016-09-061-0/+13
| | | | `git-lfs-authenticate`
* Refactored JSON header generation to its own class and added tests for itPatricio Cano2016-09-061-0/+21
|
* Added LFS support to SSHPatricio Cano2016-09-065-5/+22
| | | | - Required changes to GitLab Shell include the actual handling of the `git-lfs-authenticate` command and the retrieval of the correct credentials.
* Add option to recover 2FA via SSHDrew Blessing2016-08-264-3/+165
|
* Remove useless `.and_call_origin` from specsfeature/redis-sentinelGabriel Mazetto2016-08-191-17/+5
|
* Added specs for sentinel supportGabriel Mazetto2016-08-183-11/+29
|
* Merge branch 'dup-frozen-argv-key' into 'master' Robert Speicher2016-08-111-1/+1
|\ | | | | | | | | | | | | | | | | In order to use chomp! on the input later, we need to dup the ARGV input string for keys Also updated the gitlab_key tests to freeze the ARGV variables. Fixes https://gitlab.com/gitlab-org/gitlab-shell/issues/56 See merge request !84
| * In order to use chomp! on the input later, we need to dup the ARGV input ↵dup-frozen-argv-keyDJ Mountney2016-08-101-1/+1
| | | | | | | | | | | | string for keys Also updated the gitlab_key tests to freeze the ARGV variables.
* | Merge branch 'feature/new-merge-request-url' into 'master' Douwe Maan2016-08-111-22/+102
|\ \ | |/ |/| | | | | | | | | Show Merge request link after pushing if new brach This is part of implementation for issue https://gitlab.com/gitlab-org/gitlab-ce/issues/18266 See merge request !77
| * print new merge request urls after push receivedScott Le2016-08-121-22/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update spec different text for new and existing merge request update spec fix style switch order of messages enhance message appearance remove extra spaces
* | Update the keys permission check to open the file in write mode.DJ Mountney2016-08-101-0/+7
| | | | | | | | That way the file is created if it does not exist.
* | Newline after "let"key-validationsJacob Vosmaer2016-08-101-0/+1
| |
* | Changes proposed during reviewJacob Vosmaer2016-08-101-2/+2
| |
* | Defense in depth for authorized_keys linesJacob Vosmaer2016-08-051-0/+26
| |
* | Add permission check tests, improve checkauthorized-keys-permission-checkJacob Vosmaer2016-08-031-1/+20
| |
* | Manage authorized_keys permissions continuouslykeys-chmodJacob Vosmaer2016-08-011-1/+1
|/ | | | | | We can lazily create authorized_keys and set its permissions. This adds negligible overhead and it allows us to remove a setup step from GitLab both on source and in omnibus-gitlab.
* Track ongoing pushes and reject mv-storage commands if there are push ↵mv-storageAlejandro Rodríguez2016-07-273-0/+78
| | | | running (after waiting some time)
* Add command to move repositories between repository storagesAlejandro Rodríguez2016-07-271-0/+37
|
* Allow gitlab-project's fork-project command to fork projects between ↵Alejandro Rodríguez2016-07-261-7/+32
| | | | different repository storages