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
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-06-06 20:09:46 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-06-06 20:09:46 +0300
commit78ae23045bae8a75775a11675afd5836fb8f318b (patch)
tree831f45fdbab4c639703ddde20c6fb1a6affef736 /app/models/project_auto_devops.rb
parent9738b0a42bdfca5b8fbf0a0ef2ade4d46be38c75 (diff)
Reverse logic of manual and continuous deploy strategies
Diffstat (limited to 'app/models/project_auto_devops.rb')
-rw-r--r--app/models/project_auto_devops.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_auto_devops.rb b/app/models/project_auto_devops.rb
index 3c468831e91..ed0428615a2 100644
--- a/app/models/project_auto_devops.rb
+++ b/app/models/project_auto_devops.rb
@@ -26,7 +26,7 @@ class ProjectAutoDevops < ActiveRecord::Base
value: domain.presence || instance_domain)
end
- if continuous?
+ if manual?
variables.append(key: 'STAGING_ENABLED', value: 1)
variables.append(key: 'INCREMENTAL_ROLLOUT_ENABLED', value: 1)
end