Add uploader for GitLab Pages deployments
Use GitLab uploader and override only dynamic_segment Add settings to gitlab.yml.examle Use pages path as root directory for local storage Add settings for pages object storage(not set anywhere ATM)
显示
- app/models/pages_deployment.rb 4 个添加, 0 个删除app/models/pages_deployment.rb
- app/uploaders/pages/deployment_uploader.rb 23 个添加, 0 个删除app/uploaders/pages/deployment_uploader.rb
- config/gitlab.yml.example 16 个添加, 0 个删除config/gitlab.yml.example
- config/initializers/1_settings.rb 4 个添加, 0 个删除config/initializers/1_settings.rb
- spec/factories/pages_deployments.rb 6 个添加, 3 个删除spec/factories/pages_deployments.rb
- spec/support/helpers/stub_object_storage.rb 7 个添加, 0 个删除spec/support/helpers/stub_object_storage.rb
- spec/uploaders/pages/deployment_uploader_spec.rb 39 个添加, 0 个删除spec/uploaders/pages/deployment_uploader_spec.rb
加载中
想要评论请 注册 或 登录