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
2aae0765
Commit
2aae0765
authored
Nov 16, 2020
by
Vladimir Shushlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable zip_pages_deployments by default
parent
e6c814b4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
app/services/projects/update_pages_service.rb
app/services/projects/update_pages_service.rb
+1
-5
changelogs/unreleased/zip_pages_deployments_true.yml
changelogs/unreleased/zip_pages_deployments_true.yml
+5
-0
config/feature_flags/development/zip_pages_deployments.yml
config/feature_flags/development/zip_pages_deployments.yml
+1
-1
No files found.
app/services/projects/update_pages_service.rb
View file @
2aae0765
...
...
@@ -125,7 +125,7 @@ module Projects
end
def
create_pages_deployment
(
artifacts_path
,
build
)
return
unless
Feature
.
enabled?
(
:zip_pages_deployments
,
project
)
return
unless
Feature
.
enabled?
(
:zip_pages_deployments
,
project
,
default_enabled:
true
)
# we're using the full archive and pages daemon needs to read it
# so we want the total count from entries, not only "public/" directory
...
...
@@ -146,10 +146,6 @@ module Projects
project
.
id
,
deployment
.
id
)
rescue
=>
e
# we don't want to break current pages deployment process if something goes wrong
# TODO: remove this rescue as part of https://gitlab.com/gitlab-org/gitlab/-/issues/245308
Gitlab
::
ErrorTracking
.
track_and_raise_for_dev_exception
(
e
)
end
def
latest?
...
...
changelogs/unreleased/zip_pages_deployments_true.yml
0 → 100644
View file @
2aae0765
---
title
:
Store pages content in zip format
merge_request
:
47763
author
:
type
:
added
config/feature_flags/development/zip_pages_deployments.yml
View file @
2aae0765
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/245308
milestone
:
'
13.5'
type
:
development
group
:
group::release management
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