Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-18Instead of adding master, stub_not_protect_default_branchLin Jen-Shin
2017-07-04Update tests due to permission changesLin Jen-Shin
2017-06-21Expand with all the variables so that things likeLin Jen-Shin
CI_ENVIRONMENT_SLUG is also available. It won't be recursive because we're not putting this value in the variables.
2017-06-21Move expanded_environment_url to CreateDeploymentServiceLin Jen-Shin
Because that's the only place we need it.
2017-06-14Correct RSpec/SingleLineHook cop offensesRobert Speicher
2017-06-02Only deploy if environment exists; Update tests accordinglyLin Jen-Shin
2017-06-01Fix other use of CreateDeploymentService and makeLin Jen-Shin
it a bit more robust against missing options, which we did guard on for some cases.
2017-06-01Simplify CreateDeploymentService so that it usesLin Jen-Shin
methods directly from job, avoid duplicating the works.
2017-05-10Enable the Style/TrailingCommaInLiteral copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-16Futher rename the CI variablesZ.J. van de Weg
2017-02-23Enable Style/MultilineHashBraceLayoutDouwe Maan
2017-02-15Prefer using `project.add_developer` in specsGrzegorz Bizon
2017-02-13Fix envs and deploys specs related to build retryGrzegorz Bizon
2016-10-18Merge remote-tracking branch 'origin/master' into 22191-delete-dynamic-envs-mrKamil Trzcinski
2016-10-17Fix environments specsKamil Trzcinski
2016-10-17Work on specsKamil Trzcinski
2016-10-17Add a be_like_time matcher and use it in specsNick Thomas
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.
2016-10-14Check if project exists before creating deploymentGrzegorz Bizon
2016-09-21Fix `CreateDeploymentService` spec.Timothy Andrew
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.
2016-09-21Fix build.Timothy Andrew
2016-09-20Fix spec failures.Timothy Andrew
2016-09-20Merge remote-tracking branch 'origin/master' into 21170-cycle-analyticsTimothy Andrew
2016-09-19Fix specs failuresKamil Trzcinski
2016-09-19Update support for dynamic environmentsKamil Trzcinski
2016-09-19Verify expandability of variables defined as part of environmentKamil Trzcinski
2016-09-19Test all cycle analytics pre-calculation code.Timothy Andrew
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"
2016-07-16Fix creation of deployment on build that is retried, redeployed or rollbackKamil Trzcinski
2016-06-15Make `project_id` and `environment_id` nullableKamil Trzcinski
This is done to make belongs_to with required to properly validate association. Otherwise `ActiveRecord::StatementInvalid` is raised.
2016-06-14Properly create a new deployment after build successKamil Trzcinski
2016-06-14Add specs for models and servicesKamil Trzcinski