Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-04[Rails5] Rename `sort` methods to `sort_by_attribute`blackst0ne
2018-03-01Adapt cycle analytics spec helper and cycle analytics usage data specTiago Botelho
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne
2017-10-20Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo
2017-09-07Removes default scope from sortableTiago Botelho
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-05Create and use project path helpers that only need a project, no namespaceDouwe Maan
2017-05-22Add transient head_pipeline_of to pipeline factoriesFelipe Artur
2017-05-08Fix SpecsFelipe Artur
2017-05-08Merge branch '28359-skip-process-commit-worker-unless-issues-referenced' ↵Dmitriy Zaporozhets
into 'master' Use regex to skip unnecessary reference processing in ProcessCommitWorker Closes #28359 See merge request !10867
2017-05-04Cycle analytics specs needed Commit to reference issueJames Edwards-Jones
The plan stage both measures time taken and lists related commits. We test for commits being listed, so needed to actually mention the issue in them. An alternative would have been adding “allow_any_instance_of(Commit).to receive(:matches_cross_reference_regex?).and_return(true)” but this felt too coupled to implementation.
2017-05-04Add artifact file page that uses the blob viewerDouwe Maan
2017-04-21Unnecessary "include WaitForAjax" and "include ApiHelpers"Jacopo
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
2017-01-27Use `:empty_project` where possible in request specsRobert Speicher
2017-01-25Fix spec failure due to timestamp ordering issue in mySQLJames Lopez
2017-01-16Make cycle_analytics_events_spec.rb side-effect freeRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-04Update effected testsZ.J. van de Weg
2016-12-01Pass commit data to ProcessCommitWorkerYorick Peterse
By passing commit data to this worker we remove the need for querying the Git repository for every job. This in turn reduces the time spent processing each job. The migration included migrates jobs from the old format to the new format. For this to work properly it requires downtime as otherwise workers may start producing errors until they're using a newer version of the worker code.
2016-11-29Fix a transient spec failureRémy Coutable
Sorting by created_at can lead to uncertainties if two records are created at the same time. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-17added custom date helper and spec and fixed some unrelated spec failuresJames Lopez
2016-11-17Refactor all query config stuff into separate classes and added specsJames Lopez
2016-11-17 fix issue with commits and also updated routesJames Lopez
2016-11-17fix authorization of builds and added relevant specJames Lopez
2016-11-17fixed and added missing scenario to events integration specJames Lopez
2016-11-17refactored duplicated code in controller, updated JSON array naming and ↵James Lopez
fixed specs
2016-11-17fixed integration spec after big refactoring of fields per stageJames Lopez
2016-11-17added missing fields to issue. Also, added a light url builder to add URLs ↵James Lopez
easily from arel. Updated specs.
2016-11-17added pipelines to integration specJames Lopez
2016-11-17some more integration scenarios testing order. Also, fixed bug in the ↵James Lopez
staging and test stages.
2016-11-17added the rest of the stages to the controller and relevant specsJames Lopez
2016-11-17added cycle analytics events controller and started integration specJames Lopez
2016-08-24Path could also have slashes! Feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14347729
2016-08-24Use only one before block, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142/diffs#note_14347758
2016-08-17Fixed a missing renameLin Jen-Shin
2016-08-15Fix tests, explicitly set the statusLin Jen-Shin
2016-08-10Empty lines around blocksLin Jen-Shin
2016-07-21Merge shared context into controller test and update accordinglyLin Jen-Shin
2016-07-18Use ci_commits.ref (Pipeline#ref) to find buildsLin Jen-Shin
2016-07-14It could be redirecting or downloading in Rails or APILin Jen-Shin
2016-07-14Update routes based on feedback from:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13058785 And note that job/build_name could contain `/`
2016-07-13rubocop likes this betterLin Jen-Shin
2016-07-13Share more stuffsLin Jen-Shin
2016-07-13Implement API for downloading artifacts from ref and build name:Lin Jen-Shin
Basically: GET /api/projects/:id/artifacts/:ref_name/:build_name Also added tests for it.
2016-07-13Introduce path_from_ref and save some typingLin Jen-Shin
2016-07-13No need for a separate line nowLin Jen-Shin
2016-07-12Add all the tests and fix stuffs along the way:Lin Jen-Shin
It turns out they are different: builds.success.latest.first and builds.latest.success.first If we put success first, that latest would also filter via success, and which is what we want here.