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
0b7d14dd
Commit
0b7d14dd
authored
Mar 05, 2021
by
Vladimir Shushlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable pages_serve_from_migrated_zip by default
parent
a393e491
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/models/pages/lookup_path.rb
app/models/pages/lookup_path.rb
+1
-1
changelogs/unreleased/300021-rollout-serving-migrated-data-feature-flag-pages_serve_from_migrat.yml
...ng-migrated-data-feature-flag-pages_serve_from_migrat.yml
+5
-0
config/feature_flags/development/pages_serve_from_migrated_zip.yml
...ature_flags/development/pages_serve_from_migrated_zip.yml
+1
-1
No files found.
app/models/pages/lookup_path.rb
View file @
0b7d14dd
...
...
@@ -52,7 +52,7 @@ module Pages
return
if
deployment
.
file
.
file_storage?
&&
!
Feature
.
enabled?
(
:pages_serve_with_zip_file_protocol
,
project
,
default_enabled:
true
)
return
if
deployment
.
migrated?
&&
!
Feature
.
enabled?
(
:pages_serve_from_migrated_zip
,
project
)
return
if
deployment
.
migrated?
&&
!
Feature
.
enabled?
(
:pages_serve_from_migrated_zip
,
project
,
default_enabled:
true
)
global_id
=
::
Gitlab
::
GlobalId
.
build
(
deployment
,
id:
deployment
.
id
).
to_s
...
...
changelogs/unreleased/300021-rollout-serving-migrated-data-feature-flag-pages_serve_from_migrat.yml
0 → 100644
View file @
0b7d14dd
---
title
:
Enable serving GitLab Pages sites migrated to zip storage
merge_request
:
55847
author
:
type
:
added
config/feature_flags/development/pages_serve_from_migrated_zip.yml
View file @
0b7d14dd
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/300021
milestone
:
'
13.9'
type
:
development
group
:
group::release
default_enabled
:
fals
e
default_enabled
:
tru
e
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