summaryrefslogtreecommitdiff
path: root/app/models/commit_status.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add failure reason for execution timeoutShinya Maeda2018-10-281-1/+2
|
* Support backward compatibility when introduce new failure reasonShinya Maeda2018-10-261-1/+1
|
* Rename failure reason to stale_scheduleShinya Maeda2018-10-021-1/+1
|
* Fix StuckCiJobsWorker and added testsShinya Maeda2018-10-021-1/+1
|
* Add cleanup mechanizm for stale scheduled jobsShinya Maeda2018-10-021-1/+2
|
* Remove whitespaceShinya Maeda2018-10-021-1/+1
|
* Add a new status to ci_builds.statusShinya Maeda2018-10-021-4/+4
|
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+4
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Merge branch 'frozen-string-enable-app-models' into 'master'Rémy Coutable2018-08-021-0/+2
|\ | | | | | | | | Enable frozen string in app/models/*.rb See merge request gitlab-org/gitlab-ce!20851
| * Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-modelsgfyoung2018-07-261-0/+2
| | | | | | | | Partially addresses #47424.
* | Fix spec failuresKamil Trzciński2018-08-011-1/+1
| |
* | Add `runner_unsupported` CI failureKamil Trzciński2018-08-011-1/+2
|/
* Enable mapping to nil in enumsJan Provaznik2018-06-061-8/+2
| | | | | | | | | | | | Enum in Rails 5 does not map nil values - IOW nil value remains nil, even if there is a key with nil value in the enum definition. This commit overrides the underlying Enum methods so nil value is still mapped. This solution is far from being ideal: it uses dynamic definition of methods which introduces more magic/confusion into the codebase. It would be better to get rid of the nil value in enums.
* Makes CommitStatus and GenericCommitStatus respond to presentableMayra Cabrera2018-05-151-0/+1
| | | | | | | | | methods Includes Presentable module into CommitStatus. This fixes presenter methods being called on those classes. Closes #46177
* [Rails5] Fix enum question mark methodsblackst0ne2018-05-021-0/+7
|
* Ensure that enqueuing a commit status always sets 'queued_at' valueTomasz Maczukin2018-04-101-1/+1
|
* Revert "Allow CI/CD Jobs being grouped on version strings"Zeger-Jan van de Weg2018-04-041-1/+1
| | | | This reverts commit 4f2cdb51df0f2729055ec4dc6960ae347163da16.
* Allow CI/CD Jobs being grouped on version stringsZeger-Jan van de Weg2018-03-011-1/+1
| | | | | This makes grouping on version number available. In general I'd like to group based on MAJOR.MINOR version numbers for Gitaly.
* Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-011-1/+1
|
* Fail jobs if its dependency is missingShinya Maeda2017-12-061-1/+2
|
* Allow to drop jobs for deleted projectsKamil Trzcinski2017-11-271-6/+10
|
* Extract ensure stage service from commit status classGrzegorz Bizon2017-11-061-27/+3
|
* Use existing pipeline stage if stage already existsGrzegorz Bizon2017-11-061-3/+11
|
* Make sure that every job has a stage assignedGrzegorz Bizon2017-11-061-1/+27
|
* Use script_failure. Add runner_system_failure. Improve spec.feature/sm/37239-implement-failure_reason-on-ci_buildsShinya Maeda2017-09-051-2/+3
|
* - Allow runner API to pass failure_reasonShinya Maeda2017-09-051-1/+1
| | | | - Fix spec
* Fix enum listsShinya Maeda2017-09-051-10/+4
|
* Fix enum wordingShinya Maeda2017-09-051-1/+1
|
* Implement `failure_reason` on `ci_builds`Shinya Maeda2017-09-051-0/+18
|
* Update related stage status when job status is changedGrzegorz Bizon2017-07-241-0/+1
|
* Do not implement CI/CD job to stage association yetGrzegorz Bizon2017-07-241-11/+4
|
* Use a new stage_id reference to a persisted stageGrzegorz Bizon2017-07-201-3/+1
|
* Add a workaround for a tmp job -> stage relationGrzegorz Bizon2017-07-041-0/+9
| | | | | | 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`.
* Handle legacy jobs without namezj-commit-status-sortable-nameZ.J. van de Weg2017-06-131-2/+2
| | | | | | | | Older pipelines can contain jobs without a name, in which case 'nameless' is used right now, so we can properly still handle other actions on these jobs. Fixes gitlab-org/gitlab-ce#33403
* Merge branch 'fix/import-commit-status-issue' into 'master'Douwe Maan2017-06-121-1/+1
|\ | | | | | | | | | | | | Ignore commit status name validation on importing Closes #33490 See merge request !12039
| * ignore name validation on importingfix/import-commit-status-issueJames Lopez2017-06-121-1/+1
| |
* | Improve Job detail view to make it refreshed in real-time instead of reloadingFilipa Lacerda2017-06-121-0/+5
|/
* Merge branch 'master' into feature/gb/persist-pipeline-stagesGrzegorz Bizon2017-06-051-2/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (524 commits) Improve user experience around slash commands in instant comments Fix LFS timeouts when trying to save large files retryable? is now available for CommitStatus Resolve "Documentation of `.gitlab-ci.yml` states incorrect example for variables" Fix test failures Add slugify project path to CI enviroment variables Fixed typo: craeted -> created 32118 Make New environment empty state btn lowercase Expose import_status in Projects API 32832 Remove overflow from comment form for confidential issues and vertically aligns confidential issue icon Fix test failures Allow manual bypass of auto_sign_in_with_provider Fix keys seed Allow users to be hard-deleted from the API fixup some classnames and media queries Enable the Style/PreferredHashMethods cop Lint our factories creation in addition to their build Don’t schedule workers from inside transactions Allow scheduling from after_commit hooks Forbid Sidekiq scheduling in transactions ... Conflicts: app/serializers/pipeline_entity.rb db/schema.rb spec/factories/ci/stages.rb spec/lib/gitlab/import_export/safe_model_attributes.yml spec/services/ci/create_pipeline_service_spec.rb spec/spec_helper.rb
| * Merge branch 'zj-job-view-goes-real-time' into 'master'Kamil Trzciński2017-06-051-0/+5
| |\ | | | | | | | | | | | | | | | | | | Initial implementation for real time job view Closes #31397 See merge request !11651
| | * retryable? is now available for CommitStatuszj-job-view-goes-real-timeZ.J. van de Weg2017-06-041-1/+6
| | |
| * | Don’t schedule workers from inside transactionsDouwe Maan2017-06-021-3/+4
| |/
* | Refine implementation of pipeline stage seedsGrzegorz Bizon2017-06-021-2/+2
|/
* Test the ExpireJobCacheWorker and related changeszj-fix-pipeline-etagZ.J. van de Weg2017-05-221-1/+1
| | | | These were untested by the cherry picked commit.
* Add MISSING e-tag refresh of resource for Job, and Pipeline GraphKamil Trzcinski2017-05-221-0/+1
|
* Merge branch 'retried-in-database-mysql' into 'master' Regis Boudinot2017-05-101-8/+3
|\ | | | | | | | | | | | | Retried in database Closes #25737 See merge request !11115
| * Make retried to be nullableKamil Trzcinski2017-05-091-1/+1
| |
| * Store retried in database for CI buildsretried-in-database-mysqlKamil Trzcinski2017-05-071-8/+3
| |
* | remove gl_project_id for I/E version updatefix/gl-project-idJames Lopez2017-05-021-6/+0
|/
* Also track auto-cancelling in jobs, detail:Lin Jen-Shin2017-04-061-0/+5
| | | | | | | | 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/+4
|