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
2017-09-25Fix locked shared runners problemTomasz Maczukin
2017-09-03Fix specShinya Maeda
2017-09-03Improve spec. Add validation for accel_level on runner.Shinya Maeda
2017-09-03Fix specShinya Maeda
2017-09-03Refactor access_level to not_protected and ref_protectedShinya Maeda
2017-09-03Extend can_pick?Shinya Maeda
2017-09-03Fix specShinya Maeda
2017-09-03Add spec. Fix runner setting page. It worked.Shinya Maeda
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-07-27Use described_class when possibleRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
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-11Support multiple Redis instances based on queue typePaul Charlton
2017-02-23Enable Style/WordArrayDouwe Maan
2017-02-03Merge remote-tracking branch 'upstream/master' into use-update-runner-serviceLin Jen-Shin
* upstream/master: (589 commits) Backport changes from EE squash Fix broken tests Rename Build to Job Adds changelog entry Change "Build" to "Job" in builds show page header and sidebar replace `find_with_namespace` with `find_by_full_path` PlantUML support for Markdown remove dateFormat global exception fix relative paths to xterm.js within fit.js use setFixtures instead of fixture.set prevent u2f tests from triggering a form submission while testing simplify test for focus state preload projects.json fixture preload projects.json fixture rework tests which rely on teaspoon-specific behavior Only render hr when user can't archive project. use setFixtures instead of fixture.set ensure helper classes and constants are exposed globally preload projects.json fixture fix fixture references in environments_spec allow console.xxx in tests, reorder eslint rules alphabetically ...
2017-01-27Use `:empty_project` where possible in model specsRobert Speicher
2017-01-20Remove the key from the queue when runner is deletedLin Jen-Shin
2017-01-20Prefer service object over after_save hookLin Jen-Shin
Closes #26921
2017-01-20Fix specsKamil Trzcinski
2017-01-04WIP: Add tests and make sure that headers are setLin Jen-Shin
* We realized that headers were not set whenever we give 204 because `render_api_error!` doesn't preserve the headers. * We also realized that `update_runner_info` would be called in POST /builds/register every time therefore runner is updated every time, ticking the queue, making this last_update didn't work very well, and the test would be failing due to that.
2016-06-20Rename according to:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12563922 For clarification and consistency
2016-06-16Use active tense, feedback from:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12501303
2016-06-16blank line between setup and expectation, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093/diffs#note_12501266 and: https://robots.thoughtbot.com/four-phase-test
2016-06-15Adopt the rename from ci_commits to ci_pipelinesLin Jen-Shin
2016-06-14Rename specific_for to available_for:Lin Jen-Shin
Feedback from: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12413950
2016-06-09Extra tests inside shared_examples:Lin Jen-Shin
Feedback from: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12321421 The advantage of this is that tests are less about logic and more straightforward, thus could be easier to reason about each individual tests. The disadvantage of this is that we write more duplicated codes and once something changed we might need to change all places and it's harder to reason all tests as a whole. Because now we need to look at more places to figure out how it should work under another option!
2016-06-09Remove Build#can_be_served? and rename Runner#can_serve? to can_pick?Lin Jen-Shin
This also moves tests from build_spec.rb to runner_spec.rb
2016-06-09Prefer string for describe, feedback from:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12321029
2016-06-09Prefer do and end for before/after:Lin Jen-Shin
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4404#note_12217415
2016-06-09Introduced Ci::Runner.specific_for for getting specific runners:Lin Jen-Shin
for a particular project.
2016-05-24Enable RSpec/NotToNot cop and auto-correct offensesRobert Speicher
Also removes the note from the development/testing.md guide
2016-05-19Extend CI runners specsGrzegorz Bizon
2016-05-09Remove the annotate gem and delete old annotationsJeroen van Baarsen
In 8278b763d96ef10c6494409b18b7eb541463af29 the default behaviour of annotation has changes, which was causing a lot of noise in diffs. We decided in #17382 that it is better to get rid of the whole annotate gem, and instead let people look at schema.rb for the columns in a table. Fixes: #17382
2016-03-11Use ILIKE/LIKE for searching CI runnersYorick Peterse
2016-02-19Fix old usages of `ci_runner` factoryTomasz Maczukin
2015-12-11Remove ci_ prefix from all ci related thingsKamil Trzcinski
2015-12-11Migrate CI::Project to ProjectKamil Trzcinski
2015-12-09Tag model specsDouwe Maan
2015-11-13Annotate modelsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-10-15Merge branch 'builds-view' into 'master' Kamil Trzciński
Added builds view ![Screen_Shot_2015-10-13_at_19.02.48](https://gitlab.com/gitlab-org/gitlab-ce/uploads/95bb3a7d9d603678fdd077558637045d/Screen_Shot_2015-10-13_at_19.02.48.png) /cc @dzaporozhets @vsizov See merge request !1593
2015-10-14Fix specsKamil Trzcinski
2015-10-14Show warning if build doesn't have runners with specified tags or runners ↵Kamil Trzcinski
didn't connect recently Slightly refactor runner status detection: moving it to Runner class Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
2015-09-15fix specs. Stage 7Valery Sizov
2015-09-10Fix commit specsDmitriy Zaporozhets
2015-09-10Fix some issues with ci models specsDmitriy Zaporozhets
2015-09-09Refactor CI testsDmitriy Zaporozhets