-
- Downloads
Add environment auto stop worker
This commit adds environment auto stop worker
Showing
- app/models/deployment.rb 1 addition, 0 deletionsapp/models/deployment.rb
- app/models/environment.rb 39 additions, 0 deletionsapp/models/environment.rb
- app/services/ci/stop_environments_service.rb 16 additions, 0 deletionsapp/services/ci/stop_environments_service.rb
- app/services/environments/auto_stop_service.rb 38 additions, 0 deletionsapp/services/environments/auto_stop_service.rb
- app/workers/all_queues.yml 6 additions, 0 deletionsapp/workers/all_queues.yml
- app/workers/environments/auto_stop_cron_worker.rb 16 additions, 0 deletionsapp/workers/environments/auto_stop_cron_worker.rb
- config/gitlab.yml.example 3 additions, 0 deletionsconfig/gitlab.yml.example
- config/initializers/1_settings.rb 3 additions, 0 deletionsconfig/initializers/1_settings.rb
- db/migrate/20200131140428_create_index_on_auto_stop_in.rb 17 additions, 0 deletionsdb/migrate/20200131140428_create_index_on_auto_stop_in.rb
- db/schema.rb 2 additions, 0 deletionsdb/schema.rb
- spec/factories/environments.rb 1 addition, 1 deletionspec/factories/environments.rb
- spec/models/deployment_spec.rb 16 additions, 0 deletionsspec/models/deployment_spec.rb
- spec/models/environment_spec.rb 68 additions, 1 deletionspec/models/environment_spec.rb
- spec/services/ci/stop_environments_service_spec.rb 51 additions, 0 deletionsspec/services/ci/stop_environments_service_spec.rb
- spec/services/environments/auto_stop_service_spec.rb 94 additions, 0 deletionsspec/services/environments/auto_stop_service_spec.rb
- spec/support/helpers/create_environments_helpers.rb 13 additions, 0 deletionsspec/support/helpers/create_environments_helpers.rb
- spec/workers/environments/auto_stop_cron_worker_spec.rb 17 additions, 0 deletionsspec/workers/environments/auto_stop_cron_worker_spec.rb
Please register or sign in to comment