summaryrefslogtreecommitdiff
path: root/spec/services/create_deployment_service_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Futher rename the CI variableszj-rename-ci-varsZ.J. van de Weg2017-03-161-4/+4
|
* Enable Style/MultilineHashBraceLayoutDouwe Maan2017-02-231-4/+7
|
* Prefer using `project.add_developer` in specsGrzegorz Bizon2017-02-151-1/+1
|
* Fix envs and deploys specs related to build retryGrzegorz Bizon2017-02-131-1/+5
|
* Merge remote-tracking branch 'origin/master' into 22191-delete-dynamic-envs-mr22191-delete-dynamic-envs-mrKamil Trzcinski2016-10-181-3/+3
|\
| * Add a be_like_time matcher and use it in specsNick Thomas2016-10-171-3/+3
| | | | | | | | | | | | The amount of precision times have in databases is variable, so we need tolerances when comparing in specs. It's better to have the tolerance defined in one place than several.
* | Fix environments specsKamil Trzcinski2016-10-171-3/+5
| |
* | Work on specsKamil Trzcinski2016-10-171-1/+60
|/
* Check if project exists before creating deploymentGrzegorz Bizon2016-10-141-3/+14
|
* Fix `CreateDeploymentService` spec.Timothy Andrew2016-09-211-1/+4
| | | | | | | | | | | | | 1. The spec tests that if: - The merge request is merged - The target branch is deployed to production - The `first_deployed_to_production_at` metric is `nil` (for some reason) - The target branch is deployed to production again - The `first_deployed_to_production_at` metric stays as `nil` (and is not overwritten). 2. Failure only on MySQL due to some datetime weirdness.
* Fix build.Timothy Andrew2016-09-211-3/+3
|
* Fix spec failures.Timothy Andrew2016-09-201-3/+3
|
* Merge remote-tracking branch 'origin/master' into 21170-cycle-analyticsTimothy Andrew2016-09-201-3/+40
|\
| * Fix specs failuresreview-appsKamil Trzcinski2016-09-191-1/+1
| |
| * Update support for dynamic environmentsKamil Trzcinski2016-09-191-7/+14
| |
| * Verify expandability of variables defined as part of environmentKamil Trzcinski2016-09-191-1/+31
| |
* | Test all cycle analytics pre-calculation code.Timothy Andrew2016-09-191-0/+76
|/ | | | | | | | | | | | | All the code that pre-calculates metrics for use in the cycle analytics page. - Ci::Pipeline -> build start/finish - Ci::Pipeline#merge_requests - Issue -> record default metrics after save - MergeRequest -> record default metrics after save - Deployment -> Update "first_deployed_to_production_at" for MR metrics - Git Push -> Update "first commit mention" for issue metrics - Merge request create/update/refresh -> Update "merge requests closing issues"
* Fix creation of deployment on build that is retried, redeployed or rollbackfix-deployment-creation-on-build-retryKamil Trzcinski2016-07-161-0/+16
|
* Make `project_id` and `environment_id` nullableenvironments-and-deploymentsKamil Trzcinski2016-06-151-0/+2
| | | | | This is done to make belongs_to with required to properly validate association. Otherwise `ActiveRecord::StatementInvalid` is raised.
* Properly create a new deployment after build successKamil Trzcinski2016-06-141-4/+62
|
* Add specs for models and servicesKamil Trzcinski2016-06-141-0/+59