Add default expiration to extra pages deployments
This commit adds an expire_at column to pages deployments
prefilled with the value set in admin settings
Changelog: added
EE: true
Signed-off-by:
janis <jaltherr@gitlab.com>
显示
- app/assets/javascripts/gitlab_pages/components/deployment.vue 17 个添加, 0 个删除...assets/javascripts/gitlab_pages/components/deployment.vue
- app/assets/javascripts/gitlab_pages/queries/get_project_pages_deployments.graphql 1 个添加, 0 个删除...itlab_pages/queries/get_project_pages_deployments.graphql
- app/graphql/types/pages_deployment_type.rb 2 个添加, 0 个删除app/graphql/types/pages_deployment_type.rb
- app/helpers/application_settings_helper.rb 1 个添加, 0 个删除app/helpers/application_settings_helper.rb
- app/models/application_setting.rb 6 个添加, 0 个删除app/models/application_setting.rb
- app/models/application_setting_implementation.rb 2 个添加, 1 个删除app/models/application_setting_implementation.rb
- app/models/pages_deployment.rb 2 个添加, 0 个删除app/models/pages_deployment.rb
- app/services/projects/update_pages_service.rb 9 个添加, 1 个删除app/services/projects/update_pages_service.rb
- app/validators/json_schemas/application_setting_pages.json 13 个添加, 0 个删除app/validators/json_schemas/application_setting_pages.json
- app/views/admin/application_settings/_pages.html.haml 6 个添加, 0 个删除app/views/admin/application_settings/_pages.html.haml
- app/workers/all_queues.yml 9 个添加, 0 个删除app/workers/all_queues.yml
- app/workers/pages/deactivate_expired_deployments_cron_worker.rb 23 个添加, 0 个删除...rkers/pages/deactivate_expired_deployments_cron_worker.rb
- config/initializers/1_settings.rb 3 个添加, 0 个删除config/initializers/1_settings.rb
- db/migrate/20240820133200_add_pages_setting_to_application_settings.rb 13 个添加, 0 个删除...240820133200_add_pages_setting_to_application_settings.rb
- db/migrate/20240822080620_add_expires_at_to_pages_deployments.rb 9 个添加, 0 个删除...ate/20240822080620_add_expires_at_to_pages_deployments.rb
- db/migrate/20240823114755_add_index_on_pages_deployment_expires_at.rb 20 个添加, 0 个删除...0240823114755_add_index_on_pages_deployment_expires_at.rb
- db/schema_migrations/20240820133200 1 个添加, 0 个删除db/schema_migrations/20240820133200
- db/schema_migrations/20240822080620 1 个添加, 0 个删除db/schema_migrations/20240822080620
- db/schema_migrations/20240823114755 1 个添加, 0 个删除db/schema_migrations/20240823114755
- db/structure.sql 4 个添加, 0 个删除db/structure.sql
加载中
想要评论请 注册 或 登录