summaryrefslogtreecommitdiff
path: root/spec/models/commit_status_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Respect the inheritance chain between Ci::Build and CommitStatus46177-fix-present-on-generic-commit-statusMayra Cabrera2018-05-161-5/+2
| | | | Also moves the assertions were they belong
* Makes CommitStatus and GenericCommitStatus respond to presentableMayra Cabrera2018-05-151-0/+9
| | | | | | | | | methods Includes Presentable module into CommitStatus. This fixes presenter methods being called on those classes. Closes #46177
* Ensure that enqueuing a commit status always sets 'queued_at' valueTomasz Maczukin2018-04-101-0/+32
|
* Revert "Allow CI/CD Jobs being grouped on version strings"Zeger-Jan van de Weg2018-04-041-3/+1
| | | | This reverts commit 4f2cdb51df0f2729055ec4dc6960ae347163da16.
* Allow CI/CD Jobs being grouped on version stringsZeger-Jan van de Weg2018-03-011-1/+3
| | | | | This makes grouping on version number available. In general I'd like to group based on MAJOR.MINOR version numbers for Gitaly.
* Use existing pipeline stage if stage already existsGrzegorz Bizon2017-11-061-0/+23
|
* Make sure that every job has a stage assignedGrzegorz Bizon2017-11-061-2/+48
|
* Use script_failure. Add runner_system_failure. Improve spec.feature/sm/37239-implement-failure_reason-on-ci_buildsShinya Maeda2017-09-051-3/+3
|
* Fix specShinya Maeda2017-09-051-1/+4
|
* - Allow runner API to pass failure_reasonShinya Maeda2017-09-051-6/+4
| | | | - Fix spec
* Fix enum listsShinya Maeda2017-09-051-0/+20
|
* Merge branch 'master' into backstage/gb/migrate-stages-statusesGrzegorz Bizon2017-08-161-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (1000 commits) Fix username autocomplete group name with no avatar alignment Fix 'Projected tags' typo in protected_tags_spec.rb Many Repo Fixes Repo Editor Fixes Docs: New index for permissions link article from CI index link tech articles from the landing page new articles come first fix relative link fix date format Fixed changed files dropdown not being shown Update publication date Remove deprecated field from workhorse API responses Fix API responses when dealing with txt files Make sure MySQL would not use CURRENT_TIMESTAMP Add two more project templates Allow usage of any_projects? with an Array Copyedit Artifactory and GitLab article Rename Artifactory and GitLab article file Display GPG status loading spinner only when Ajax request is made ...
| * Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-copRémy Coutable2017-08-091-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge commit '9a3b283402b8cc1c86802c526f19a459ce09c2e3' into ↵Grzegorz Bizon2017-07-311-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backstage/gb/migrate-stages-statuses * commit '9a3b283402b8cc1c86802c526f19a459ce09c2e3': (270 commits) Add a note about EFS and GitLab log files Projects logo are not centered vertically on projects page Fix spec/features/projects/branches_spec Fixup POST /v3/:id/hooks and PUT /v3/:id/hooks/:hook_id Fix a spec that was assuming to be on the wrong page Add copy about search terms to ux guide Update documentation of user creation by replacing the 'confirm' param with 'skip_confirmation' Fix replying to commit comments on MRs from forks Fix 500 error when rendering avatar for deleted project creator Load and process at most 100 commits when pushing into default branch Ensure Gitlab::Application.routes.default_url_options are set correctly in Capybara + :js specs Add log messages to clarify log messages about API CSRF token verification failure Update gitlab_flow.md, Teatro seems to be completely dead, see also https://forum.gitlab.com/t/gitlab-flow-documentation-teatro/7774 Fix diff commenting results just after changing view Update CHANGELOG.md for 9.4.2 none is not a CSS Value for sizes ;-) Merge issuable "reopened" state into "opened" Make access level more compatible with EE Add link to JIRA article in docs Expand pipeline_trigger_service_spec by godfat request ...
| * Remove superfluous type defs in specsKeifer Furzland2017-07-271-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Do not implement CI/CD job to stage association yetGrzegorz Bizon2017-07-241-12/+0
| |
* | Use a new stage_id reference to a persisted stageGrzegorz Bizon2017-07-201-3/+4
| |
* | Freeze mutable constants in stages migration codeGrzegorz Bizon2017-07-111-1/+0
| |
* | Add a workaround for a tmp job -> stage relationGrzegorz Bizon2017-07-041-3/+15
|/ | | | | | We still didn't migrate `ci_builds.stage_id`, so we can't use a belongs_to association. We also have `ci_builds.stage` string attribute, that we need to phase out in favor of `ci_stages.name`.
* Check warnings when building compound status SQL queryGrzegorz Bizon2017-06-201-1/+1
|
* Add test for using overridden status method with scopesGrzegorz Bizon2017-06-201-0/+11
|
* Move custom compound status method to commit statusGrzegorz Bizon2017-06-201-0/+24
|
* Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-141-10/+32
|
* Test the ExpireJobCacheWorker and related changeszj-fix-pipeline-etagZ.J. van de Weg2017-05-221-0/+10
| | | | These were untested by the cherry picked commit.
* Store retried in database for CI buildsretried-in-database-mysqlKamil Trzcinski2017-05-071-4/+20
|
* Make sure that's canceledLin Jen-Shin2017-04-071-1/+1
|
* Fix typoLin Jen-Shin2017-04-071-1/+1
|
* Add missing tests and update test descriptionLin Jen-Shin2017-04-061-0/+1
|
* Also track auto-cancelling in jobs, detail:Lin Jen-Shin2017-04-061-0/+26
| | | | | | | | Not only tracking auto-cancelling in pipelines, we'll also track this in jobs because pipelines could be retried and the information would get lost when this happened. Also erase auto-cancelling relation for pipelines when they're retried.
* Make CI build to use optimistic locking only on status changeKamil Trzcinski2017-03-281-0/+36
|
* Fix Rubocop offenses in commit status/build specsGrzegorz Bizon2017-03-061-8/+8
|
* Ignore optional actions when calculating warningsGrzegorz Bizon2017-03-061-0/+19
|
* Improve specs for calculating pipeline result statusGrzegorz Bizon2017-03-061-2/+4
|
* Fix invalid description in commit status specsGrzegorz Bizon2017-03-061-1/+1
|
* Add specs for after_stage scope, update specs fileGrzegorz Bizon2017-02-141-4/+18
|
* Use `:empty_project` where possible in model specsrs-empty_project-modelsRobert Speicher2017-01-261-1/+1
|
* revise sortable_name test formattingMike Greiling2017-01-131-4/+1
|
* prefer unit test on model over view testfix-build-sort-orderMike Greiling2017-01-021-0/+22
|
* Add some missing tests for detailed status methodsbuild-statusesGrzegorz Bizon2016-12-141-0/+9
|
* Fix handling of allowed to failure jobsKamil Trzcinski2016-12-061-44/+1
|
* Add test for CommitStatus.exclude_ignoredLin Jen-Shin2016-10-031-15/+40
|
* Merge branch 'group-similar' into 'master' Rémy Coutable2016-09-151-0/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Group similar builds We group builds by removing from the builds name two numbers which are delimited by whitespace or colon: * `name 0 1` => `name` * `name 0:1` => `name` * `name 0/1` => `name` * `name 0:1 ruby` => `name ruby` * `name 0/1 ruby` => `name ruby` * `0 1 name ruby` => `name ruby` * `0:1 name ruby` => `name ruby` * `0/1 name ruby` => `name ruby` See merge request !6242
| * Add more regexp testsKamil Trzcinski2016-09-141-0/+2
| |
| * Add grouping testsKamil Trzcinski2016-09-141-0/+27
| |
* | Fix stylingLin Jen-Shin2016-09-131-7/+7
|/
* adds second batch of tests changed to active tenseactive-tense-test-coveragetiagonbotelho2016-08-091-6/+6
|
* Fix stage status shown for pipelinesfix-stage-status-show-for-pipelinesKamil Trzcinski2016-07-151-5/+19
|
* Avoid `describe`-ing symbols in specsrs-describe-symbolsRobert Speicher2016-07-121-7/+7
|
* Fix builds API response not including commit dataGrzegorz Bizon2016-06-211-4/+15
|
* Rename all `[ci_]commit` to `[ci_]pipeline` in specs and featuresKamil Trzcinski2016-06-031-22/+22
|