summaryrefslogtreecommitdiff
path: root/spec/services/ci
Commit message (Collapse)AuthorAgeFilesLines
* Make sure all pipelines would go to pending once39884-fix-pipeline-transition-with-single-manual-actionLin Jen-Shin2017-11-091-0/+24
| | | | | | | | | | | | Without this fix, pipeline could go from skipped to running directly, bypassing the transition for: [:created, :pending] => :running And this is responsible for setting up started_at. Without this fix, started_at would never be set. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/39884
* Revert back FetchKubernetesTokenServiceKamil Trzcinski2017-11-011-0/+64
|
* specs for services. Improved details.Shinya Maeda2017-10-307-372/+0
|
* Don't create build failed todo when build is retried38236-remove-build-failed-todo-if-it-has-been-auto-retriedSean McGivern2017-10-161-1/+2
| | | | | | | | | When a build is retried automatically, we close any open todos. However, we do that _before_ creating a new build failed todo. To solve this, we check if the build is retried before creating the todo. We also ensure that the build _instance_ has the correct attribute set, without needing to reload it from the database.
* Add a project forks spec helperBob Van Landuyt2017-10-071-5/+3
| | | | | The helper creates a fork of a project with all provided attributes, but skipping the creation of the repository on disk.
* Merge branch 'master' into '37970-ci-sections-tracking'Kamil Trzciński2017-10-077-0/+372
|\ | | | | | | # Conflicts: # db/schema.rb
| * fetch_kubernetes_token_service_spec. Fix static analysys.Shinya Maeda2017-10-051-6/+53
| |
| * integrate_cluster_service_spec. provision_cluster_service_spec. ↵Shinya Maeda2017-10-053-12/+125
| | | | | | | | update_cluster_service_spec.
| * Fix Rubocop failuresKamil Trzcinski2017-10-041-2/+2
| |
| * fetch_gcp_operation_service_spec. finalize_cluster_creation_service_spec. ↵Shinya Maeda2017-10-052-9/+72
| | | | | | | | wait_for_cluster_creation_worker_spec.
| * create_cluster_service_spec. cluster_provision_worker_spec. cluster_queue_spec.Shinya Maeda2017-10-041-2/+30
| |
| * Add spec/models/gcp/cluster_spec.rbShinya Maeda2017-10-047-0/+121
| |
* | Extract `Ci::Build#parse_trace_sections!` into a service37970-ci-sections-trackingAlessio Caiazza2017-10-061-0/+55
| |
* | Add CI build trace sections extractorAlessio Caiazza2017-10-051-1/+1
|/
* Add test for head pipeline assignment when skippedGrzegorz Bizon2017-09-261-0/+20
| | | | Closes gitlab-org/gitlab-ce#34415
* Fix code style offenses in pipeline create servicesGrzegorz Bizon2017-09-261-1/+0
|
* Extract pipeline chain builder classes from serviceGrzegorz Bizon2017-09-251-99/+0
|
* Merge branch 'backstage/gb/optimize-some-specs-with-rspec-set' into 'master'Rémy Coutable2017-09-131-4/+5
|\ | | | | | | | | Optimize some tests with RSpec Set See merge request !14047
| * Optimize CI/CD build retry service specsGrzegorz Bizon2017-09-131-4/+5
| |
* | Add change log. Fix spec.fix/sm/37559-pipeline-triggered-through-api-not-showing-trigger-variablesShinya Maeda2017-09-131-1/+1
| |
* | Fix PipelineTriggerService to associate trigger_request with buildsShinya Maeda2017-09-131-0/+2
|/
* Merge branch 'zj-auto-devops-table' into 'master'Kamil Trzciński2017-09-071-1/+1
|\ | | | | | | | | | | | | Implement the implied CI/CD config for AutoDevOps Closes #34777 See merge request !13923
| * Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵Kamil Trzcinski2017-09-061-0/+11
| |\ | | | | | | | | | zj/gitlab-ce-zj-auto-devops-table
| * \ Merge branch 'master' into zj-auto-devops-tableZeger-Jan van de Weg2017-09-064-73/+89
| |\ \
| * | | Use hook for setting Pipeline config_sourceZeger-Jan van de Weg2017-09-061-1/+1
| | | |
* | | | fix CIMaxim Rydkin2017-09-071-1/+1
| |_|/ |/| |
* | | Fix specShinya Maeda2017-09-071-1/+1
| | |
* | | Use before_save :set_protectedShinya Maeda2017-09-061-0/+11
| |/ |/|
* | Merge branch ↵Kamil Trzciński2017-09-051-52/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 'fix/sm/35650-remove-createtriggerrequestservice-and-forbid-to-persist-variables-on-ci-triggerrequest' into 'master' Removes `CreateTriggerRequestService` and add a blocker to prevent saving variables on `Ci::TriggerRequest` Closes #35650 See merge request !13792
| * | Remove CreateTriggerRequestService and forbit to save variables on ↵Shinya Maeda2017-09-041-52/+0
| | | | | | | | | | | | Ci::TriggerRequest
* | | - Allow runner API to pass failure_reasonShinya Maeda2017-09-051-1/+1
|/ / | | | | | | - Fix spec
* | Fix spec on egister_job_service_spec.rbfeature/sm/33281-protected-runner-executes-jobs-on-protected-branchShinya Maeda2017-09-031-32/+32
| |
* | Fix specShinya Maeda2017-09-031-1/+1
| |
* | Fix specShinya Maeda2017-09-032-14/+40
| |
* | Fix specShinya Maeda2017-09-031-2/+2
| |
* | Improve spec. Add validation for accel_level on runner.Shinya Maeda2017-09-031-2/+4
| |
* | Remove access_level index from runner. Add protected on ci_pipelines. Add ↵Shinya Maeda2017-09-031-0/+2
| | | | | | | | protected index on ci_builds.
* | Fix specShinya Maeda2017-09-031-2/+2
| |
* | Refactor access_level to not_protected and ref_protectedShinya Maeda2017-09-031-1/+1
| |
* | Fix specShinya Maeda2017-09-031-1/+1
| |
* | Add the rest of specsShinya Maeda2017-09-031-0/+38
|/
* Fix specfix/sm/37040-regression-pipeline-trigger-via-api-fails-with-500-internal-server-error-in-9-5-1Shinya Maeda2017-08-291-14/+10
|
* Fix specShinya Maeda2017-08-291-3/+3
|
* Make default trigger factory generate an ownerLin Jen-Shin2017-08-251-1/+2
| | | | And specify owners more clearly
* Update merge request pipeline even if if has errorsGrzegorz Bizon2017-08-181-1/+19
|
* Make create pipeline service specs more readableGrzegorz Bizon2017-08-181-11/+27
|
* Fix some tests and report the error messageLin Jen-Shin2017-08-091-1/+1
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-026-9/+9
|
* Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-012-2/+2
|
* fixfix/sm/remove-services-true-from-pipeline_trigger_service_specShinya Maeda2017-08-011-1/+1
|