foreman_remote_execution 14.1.2 → 14.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 237cac074270280b4bab25b144716d3ddb515fe4d9159e3e86badfb2530dc667
4
- data.tar.gz: bcb74259222068245df6df8af2ff6a0d7e7cd58516d4654e2b3a3635f09176b4
3
+ metadata.gz: 5e583aa5a9aac3e6a34ae0f42fa35f154d56830ad88558dbe86513389fe1dbb5
4
+ data.tar.gz: 2cd7f2449b0e5a8b4925462c0fbb4bb02912586173d204db1d25d644f0fd1bdb
5
5
  SHA512:
6
- metadata.gz: 4a68f13a3060ef118f1d44f262cb4c6d072acb1abe88cdd0ef6bbcd03dcca716e7468aaa0526c7697ce99729b0cdabe7bbfe1e3ac2b16f282b87d7316cf984ca
7
- data.tar.gz: ce09bfa5f114f7cf0c43b4b880557b7394bff115e8d66750cea8bd5c861d8c89a06b0fa243a14ba57d899227bab655565a9b15c33fbcb4d21d6bcd7a02497b4e
6
+ metadata.gz: c8d3f21e337dee5e4102eeccdd4717539cf2422938302311953c6ac2bc37050c082c0cd5f68ad82041ea2b6bcebd89dd934708862694658632c5b941221b9ef4
7
+ data.tar.gz: 5dfcabcae4a0cf33e8806936b2e8b23ea5030be225cc0b1ff3b6f8f60c48eb2f4456feb7a5597b437d5f49d9d162295bfa5069fad950f73056afec35a1a166fb
@@ -0,0 +1,8 @@
1
+ class RemoveRemoteExecutionWorkersPoolSize < ActiveRecord::Migration[6.1]
2
+ def up
3
+ Setting.find_by(:name => 'remote_execution_workers_pool_size')&.delete
4
+ end
5
+
6
+ def down
7
+ end
8
+ end
@@ -28,7 +28,7 @@ module ForemanRemoteExecution
28
28
 
29
29
  initializer 'foreman_remote_execution.require_dynflow', :before => 'foreman_tasks.initialize_dynflow' do |app|
30
30
  ForemanTasks.dynflow.require!
31
- ForemanTasks.dynflow.config.queues.add(DYNFLOW_QUEUE, :pool_size => Setting['remote_execution_workers_pool_size']) if Setting.table_exists? rescue(false)
31
+ ForemanTasks.dynflow.config.queues.add(DYNFLOW_QUEUE)
32
32
  ForemanTasks.dynflow.config.eager_load_paths << File.join(ForemanRemoteExecution::Engine.root, 'app/lib/actions')
33
33
  end
34
34
 
@@ -117,11 +117,6 @@ module ForemanRemoteExecution
117
117
  default: nil,
118
118
  full_name: N_('Default SSH key passphrase'),
119
119
  encrypted: true
120
- setting 'remote_execution_workers_pool_size',
121
- type: :integer,
122
- description: N_('Amount of workers in the pool to handle the execution of the remote execution jobs. Restart of the dynflowd/foreman-tasks service is required.'),
123
- default: 5,
124
- full_name: N_('Workers pool size')
125
120
  setting 'remote_execution_cleanup_working_dirs',
126
121
  type: :boolean,
127
122
  description: N_('When enabled, working directories will be removed after task completion. You may override this per host by setting a parameter called remote_execution_cleanup_working_dirs.'),
@@ -1,3 +1,3 @@
1
1
  module ForemanRemoteExecution
2
- VERSION = '14.1.2'.freeze
2
+ VERSION = '14.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_remote_execution
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.2
4
+ version: 14.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Remote Execution team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-26 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -341,6 +341,7 @@ files:
341
341
  - db/migrate/20240312133027_extend_template_invocation_events.rb
342
342
  - db/migrate/20240522093412_add_smart_proxy_id_to_template_invocation.rb
343
343
  - db/migrate/20240522093413_migrate_smart_proxy_ids_to_template_invocations.rb
344
+ - db/migrate/20241126150849_remove_remote_execution_workers_pool_size.rb
344
345
  - db/seeds.d/100-assign_features_with_templates.rb
345
346
  - db/seeds.d/20-permissions.rb
346
347
  - db/seeds.d/50-notification_blueprints.rb