Add GitLab Pages
- The pages are created when build artifacts for `pages` job are uploaded
- Pages serve the content under: http://group.pages.domain.com/project
- Pages can be used to serve the group page, special project named as host: group.pages.domain.com
- User can provide own 403 and 404 error pages by creating 403.html and 404.html in group page project
- Pages can be explicitly removed from the project by clicking Remove Pages in Project Settings
- The size of pages is limited by Application Setting: max pages size, which limits the maximum size of unpacked archive (default: 100MB)
- The public/ is extracted from artifacts and content is served as static pages
- Pages asynchronous worker use `dd` to limit the unpacked tar size
- Pages needs to be explicitly enabled and domain needs to be specified in gitlab.yml
- Pages are part of backups
- Pages notify the deployment status using Commit Status API
- Pages use a new sidekiq queue: pages
- Pages use a separate nginx config which needs to be explicitly added
Showing
app/services/update_pages_service.rb
0 → 100644
app/workers/pages_worker.rb
0 → 100644
doc/pages/README.md
0 → 100644
lib/backup/pages.rb
0 → 100644
lib/support/nginx/gitlab-pages
0 → 100644
shared/pages/.gitkeep
0 → 100644
spec/fixtures/pages.tar.gz
0 → 100644
File added
spec/fixtures/pages_empty.tar.gz
0 → 100644
File added
spec/services/update_pages_service_spec.rb
0 → 100644
spec/workers/pages_worker_spec.rb
0 → 100644
Please
register
or
sign in
to comment