summaryrefslogtreecommitdiff
path: root/app/models/ci
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'deprecated-class-methods-cop' into 'master' Robert Speicher2016-05-121-1/+1
|\ | | | | | | | | | | | | | | | | Enable the Rubocop DeprecatedClassMethods cop This reports uses of `File.exists?` and `Dir.exists?`, which were both deprecated in Ruby and will eventually be removed in favor of `.exist?`. Also fixes all existing uses of the deprecated methods. See merge request !4087
| * Enable the Rubocop DeprecatedClassMethods copConnor Shea2016-05-081-1/+1
| | | | | | | | | | | | This reports uses of `File.exists?` and `Dir.exists?`, which were both deprecated in Ruby and will eventually be removed in favor of `.exist?`. Also fixes all existing uses of the deprecated methods.
* | Merge branch 'send-incremental-build-log' into 'master' Jacob Schatz2016-05-121-2/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Update build log incrementally Proof of concept implementation of incremental sending of build log to browser. cc @jschatz1 @vsizov @grzesiek @tmaczukin See merge request !3737
| * | Fix specssend-incremental-build-logKamil Trzcinski2016-05-121-1/+1
| | |
| * | Merge remote-tracking branch 'origin/master' into send-incremental-build-logKamil Trzcinski2016-05-107-129/+0
| |\ \
| * | | Send trace to a browser incrementally when build is runningKamil Trzcinski2016-05-091-2/+6
| | |/ | |/| | | | | | | | | | We send a state of ansi2html to client, client needs to send this state back. The state describes the configuration of generator and position within trace.
* | | Merge branch 'fix/reuse-runner-edit-form-in-admin-area' into 'master' Rémy Coutable2016-05-121-1/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | Reuse runners edit form in admin and project area Reuse runners edit form in admin and project area. ![reuse_runner_form](/uploads/d16e3ee196151b68f584d947f38a7c29/reuse_runner_form.png) See merge request !4094
| * | Use % notation for arrays in runner model constantsfix/reuse-runner-edit-form-in-admin-areaGrzegorz Bizon2016-05-111-2/+2
| | |
| * | Share form editable attributes mf runner via modelGrzegorz Bizon2016-05-101-0/+1
| |/
* | Remove the annotate gem and delete old annotationsJeroen van Baarsen2016-05-097-129/+0
|/ | | | | | | | | 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
* Annotate the modelsZeger-Jan van de Weg2016-05-065-21/+25
|
* Merge branch 'ci-commit-as-pipeline' into 'master' Kamil Trzciński2016-04-212-103/+61
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ci::Commit becomes a Pipeline object 1. Ci::Commit receives context: ref, :tag. 1. One Ci::Commit describes a one Pipeline 1. Pipeline is created from `.gitlab-ci.yml` 1. Pipeline is a ordered group of builds 1. We test MR against Pipeline 1. Pipelines have a separate view (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Pipeline can be triggered from UI (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Later we change `Trigger -> TriggerRequest -> Build` to `Trigger -> Pipeline` (future) 1. We add a Pipeline Hook that will be triggered on Pipeline status change (future) 1. We extend notifications to use `Pipeline Hook` to send summary on pipeline changes (future) After merging that I'll prepare a separate MR that will unify naming, database columns, table names: ``` Ci::Commit -> Pipeline Ci::Build -> Build CommitStatus -> Job GenericCommitStatus -> ExternalJob ci_commits -> pipelines ci_builds -> jobs ``` This MR implements first 5 points. This is made to solve this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/14149. See merge request !3653
| * Merge remote-tracking branch 'origin/master' into ci-commit-as-pipelineci-commit-as-pipelineKamil Trzcinski2016-04-191-3/+15
| |\ | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * | Write specs for this featureKamil Trzcinski2016-04-161-5/+4
| | |
| * | Rename CiStatus to StatusableKamil Trzcinski2016-04-161-1/+1
| | |
| * | Fix implementation of config_processor and ci_yaml_fileKamil Trzcinski2016-04-131-10/+15
| | |
| * | Update handling of skipped statusKamil Trzcinski2016-04-132-16/+9
| | |
| * | Simplify state update of Ci::Commit objectKamil Trzcinski2016-04-131-61/+11
| | |
| * | Remove the use of default scope for BuildsKamil Trzcinski2016-04-131-11/+0
| | |
| * | Optimise CI status accessorKamil Trzcinski2016-04-121-1/+5
| | |
| * | Fix create_next_builds methodKamil Trzcinski2016-04-121-3/+3
| | |
| * | Fix rest of rspec and spinach testsKamil Trzcinski2016-04-121-5/+5
| | |
| * | Fix specsKamil Trzcinski2016-04-111-6/+21
| | |
| * | Use Ci::Commit as PipelineKamil Trzcinski2016-04-112-66/+69
| | |
* | | Fix Build#append_trace method usage when trace file doesn't exists yetTomasz Maczukin2016-04-201-1/+1
| | |
* | | Make sure that appending is done on a valid lengthTomasz Maczukin2016-04-201-4/+5
| | |
* | | Add range checkingTomasz Maczukin2016-04-201-0/+8
| | |
* | | Add incremental build trace update APITomasz Maczukin2016-04-201-1/+13
| |/ |/|
* | Remove code that removes duplicate CI variablesGrzegorz Bizon2016-04-181-2/+1
| | | | | | | | | | At this point this is being handled by GitLab Runner and we need to introduce this as a separate merge request.
* | Rename method that returns global envs in CI confGrzegorz Bizon2016-04-181-1/+1
| |
* | Read job variables directly from gitlab CI configGrzegorz Bizon2016-04-181-2/+6
| |
* | Make it possible to override build variablesGrzegorz Bizon2016-04-181-1/+2
| |
* | Add `variables` keyword to job in CI config YAMLGrzegorz Bizon2016-04-181-2/+10
|/
* Fix review commentsfix-commit-status-renderingKamil Trzcinski2016-03-142-2/+6
| | | | | | | - Remove unused Gitlab::Application.routes.url_helpers from Ci::Build - Remove too much logic from a view, use Ci::Commit.matrix_builds - Use ci_status_with_icon - Don't describe symbols
* Cleanup CiCommit and CiBuildKamil Trzcinski2016-03-142-58/+6
| | | | | | - Remove all view related methods from Ci::Build and CommitStatus - Remove unused Ci::Commit and Ci::Build methods - Use polymorphism to render different types of CommitStatus
* Removed arel_table receiver from search methodsYorick Peterse2016-03-111-1/+1
| | | | | We can just use "arel_table" in these cases instead of "SomeClass.arel_table".
* Use ILIKE/LIKE for searching CI runnersYorick Peterse2016-03-111-3/+17
|
* Fix Merge When Succeeded for multiple stagesKamil Trzcinski2016-02-191-4/+9
| | | | Use around_transition to trigger build creation for next stages
* Merge branch 'commit-status-fix' into 'master' Kamil Trzciński2016-02-191-4/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix missing ignored? for GenericCommitStatus This is pretty important fix. We should not release 8.5 without this. It critical error when handling GenericCommitStatus: ``` undefined method `ignored?' for #<GenericCommitStatus:0x007fe1a2a20fe0> ``` cc @grzesiek See merge request !2899
| * Fix missing ignored? for GenericCommitStatuscommit-status-fixKamil Trzcinski2016-02-191-4/+0
| |
* | Move build erasable implementation from concern to modelGrzegorz Bizon2016-02-192-39/+28
| | | | | | | | | | Discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2560#note_3659905
* | Fix name of build erasable, remove superfluous method from itGrzegorz Bizon2016-02-192-10/+4
| |
* | Create method that checks if build has been erasedGrzegorz Bizon2016-02-191-4/+6
| | | | | | | | + minor improvements
* | Remove boolean erase column from ci build and foreign keyGrzegorz Bizon2016-02-192-2/+0
| |
* | Update relevant build fields when build is erasedGrzegorz Bizon2016-02-192-6/+19
| |
* | Add build eraseable columns to ci builds tableGrzegorz Bizon2016-02-191-0/+3
| |
* | Make CI build eraseable only if build is completedGrzegorz Bizon2016-02-192-1/+5
| |
* | Add build eraseable feature implementationGrzegorz Bizon2016-02-191-3/+18
| |
* | Move eraseable implementation to build concernGrzegorz Bizon2016-02-192-3/+17
| |
* | Add methods to build eraseable componentGrzegorz Bizon2016-02-191-0/+3
|/