Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
755fe174
Commit
755fe174
authored
Nov 13, 2020
by
Amy Troschinetz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes fetaure flag environment_auto_stop_start_on_create
parent
d89f1742
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
21 deletions
+6
-21
changelogs/unreleased/281449-feature-flag-enable-environment-auto-stop-start-on-create.yml
...ure-flag-enable-environment-auto-stop-start-on-create.yml
+5
-0
config/feature_flags/development/environment_auto_stop_start_on_create.yml
...ags/development/environment_auto_stop_start_on_create.yml
+0
-8
lib/gitlab/ci/pipeline/seed/environment.rb
lib/gitlab/ci/pipeline/seed/environment.rb
+1
-3
spec/lib/gitlab/ci/pipeline/seed/environment_spec.rb
spec/lib/gitlab/ci/pipeline/seed/environment_spec.rb
+0
-10
No files found.
changelogs/unreleased/281449-feature-flag-enable-environment-auto-stop-start-on-create.yml
0 → 100644
View file @
755fe174
---
title
:
Begin auto-stop countdown for environment after initial creation
merge_request
:
47702
author
:
type
:
changed
config/feature_flags/development/environment_auto_stop_start_on_create.yml
deleted
100644 → 0
View file @
d89f1742
---
name
:
environment_auto_stop_start_on_create
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47239
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/281449
milestone
:
'
13.6'
type
:
development
group
:
group::release
default_enabled
:
false
lib/gitlab/ci/pipeline/seed/environment.rb
View file @
755fe174
...
...
@@ -24,9 +24,7 @@ module Gitlab
end
def
auto_stop_in
if
Feature
.
enabled?
(
:environment_auto_stop_start_on_create
)
job
.
environment_auto_stop_in
end
job
.
environment_auto_stop_in
end
def
expanded_environment_name
...
...
spec/lib/gitlab/ci/pipeline/seed/environment_spec.rb
View file @
755fe174
...
...
@@ -85,16 +85,6 @@ RSpec.describe Gitlab::Ci::Pipeline::Seed::Environment do
end
it_behaves_like
'returning a correct environment'
context
'but the environment auto_stop_in on create flag is disabled'
do
let
(
:expected_auto_stop_in
)
{
nil
}
before
do
stub_feature_flags
(
environment_auto_stop_start_on_create:
false
)
end
it_behaves_like
'returning a correct environment'
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment