summaryrefslogtreecommitdiff
path: root/spec/support/helpers/test_env.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'zj-regenerate-gitaly-config-rspec' into 'master'Douwe Maan2018-11-081-2/+3
|\ | | | | | | | | Regenerate Gitaly's config.toml each rspec run See merge request gitlab-org/gitlab-ce!22562
| * Regenerate Gitaly's config.toml each rspec runZeger-Jan van de Weg2018-10-261-2/+3
| | | | | | | | | | | | | | | | | | | | This behaviour I removed in 08cdf65b9e1f, but this reverts this specific line. In case storages, or other options changes which are set by the Rails environment, this will easier to migrate to. Storage paths is kept in plural, to support multiple storage in later release for just testing purposes. But its probable that multi Gitaly scenarios need to be tested.
* | Add submodule update API endpointFrancisco Javier López2018-11-071-1/+2
| | | | | | | | | | | | | | | | | | | | This new endpoint allow users to update a submodule's reference. The MR involves adding a new operation RPC operation in gitaly-proto (see gitlab-org/gitaly-proto!233) and change Gitaly to use this new version (see gitlab-org/gitaly!936). See gitlab-org/gitlab-ce!20949
* | Add reference for branch for simple file operationMark Chao2018-11-071-0/+3
|/ | | | Suitable for testing old and new paths involved for each file in diff
* Hotfix for Rspec and second storageZeger-Jan van de Weg2018-10-241-0/+2
| | | | | | | Rails requires a second storage for testing cross shard features. Gitaly will not boot if this second storage doesn't exist. So this will create this storage without adding it to the list of storages that Rails knows about.
* Remove broken git storage for testingZeger-Jan van de Weg2018-10-231-9/+0
| | | | | | | | | | | Broken storage used to be used to test situations where the Git storage wasn't being reached. These days we can just mock the Gitaly response. But given the broken storage is removed now, Gitaly can take over control of the storage being reachable. If it's not, Gitaly won't boot. That's nice for situations where a disk wasn't mounted for instance. Gitaly MR: https://gitlab.com/gitlab-org/gitaly/merge_requests/675
* Move ci_environments_status to a modelAlessio Caiazza2018-10-181-0/+2
| | | | | | | | GET :namespace/merge_requests/:id/ci_environments_status complexity already reached a limit for a direct serialization from an hash computed at within the controller function. Here we introduce a virtual model EnvironmentStatus and its serializer.
* Fix grammar (setup to set-up) in code comments, spec, views, etc.Marcel Amirault2018-09-171-2/+2
|
* Remove Rugged and shell code from Gitlab::GitAlejandro Rodríguez2018-09-121-4/+0
|
* Port changes for CODEOWNERS to CEBob Van Landuyt2018-09-061-1/+2
| | | | | | This ports the changes for the CODEOWNERS feature to CE: - It adds the CODEOWNERS file. - It adds the mention of the `with-codeowners` branch in TestEnv
* Merge branch 'gitaly-install-path' into 'master'Douwe Maan2018-08-141-3/+9
|\ | | | | | | | | Remove storage path dependency of gitaly install task See merge request gitlab-org/gitlab-ce!21101
| * Remove storage path dependency of gitaly install taskAlejandro Rodríguez2018-08-121-3/+9
| |
* | Merge branch 'winh-fix-gpg-regressions' into 'master'Rémy Coutable2018-08-071-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Fix GPG status badge loading regressions Closes #49878, #49870, gitlab-org/quality/nightly#6 et #49831 See merge request gitlab-org/gitlab-ce!20987
| * | Fix GPG status badge loading regressionsWinnie Hellmann2018-08-071-1/+1
| | |
* | | Backport some changes from gitlab-org/gitlab-ee!6767Rubén Dávila2018-08-071-1/+2
|/ /
* | Refactor gitlab:import:repos task to remove direct disk accessAlejandro Rodríguez2018-07-311-0/+8
|/
* Make sure ConflictsService does not raise for conflicting submodulesSean McGivern2018-07-101-1/+3
|
* Find and mark more Git disk access locations, part 2Jacob Vosmaer2018-06-121-0/+10
|
* Add 'squash and rebase' feature to CEblackst0ne-squash-and-merge-in-gitlab-core-ceblackst0ne2018-05-291-0/+1
|
* Fix gitaly-ruby bundle poisoning in CIJacob Vosmaer (out of office May 10-14)2018-05-141-1/+5
|
* Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg2018-04-251-2/+3
| | | | | | | | | | | Direct disk access is done through Gitaly now, so the legacy path was deprecated. This path was used in Gitlab::Shell however. This required the refactoring in this commit. Added is the removal of direct path access on the project model, as that lookup wasn't needed anymore is most cases. Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
* Move spec helpers/matchers/shared examples/contexts to their relevant folderRémy Coutable2018-04-231-0/+366
Signed-off-by: Rémy Coutable <remy@rymai.me>