foreman_remote_execution 14.1.2 → 14.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 237cac074270280b4bab25b144716d3ddb515fe4d9159e3e86badfb2530dc667
4
- data.tar.gz: bcb74259222068245df6df8af2ff6a0d7e7cd58516d4654e2b3a3635f09176b4
3
+ metadata.gz: 2a300266f1fb00313f0bc59f37573802bbcf230fca5e9867bcee11bdc8279a93
4
+ data.tar.gz: bc52a77d346cd77c834fd134a872fab19c8b12fc98c30f27deba4a7a64a776b0
5
5
  SHA512:
6
- metadata.gz: 4a68f13a3060ef118f1d44f262cb4c6d072acb1abe88cdd0ef6bbcd03dcca716e7468aaa0526c7697ce99729b0cdabe7bbfe1e3ac2b16f282b87d7316cf984ca
7
- data.tar.gz: ce09bfa5f114f7cf0c43b4b880557b7394bff115e8d66750cea8bd5c861d8c89a06b0fa243a14ba57d899227bab655565a9b15c33fbcb4d21d6bcd7a02497b4e
6
+ metadata.gz: ba0a20114b7d30cf6cc7fe236b34794ab98163cc9bbd6d78a02e3573c996b2fb0eaccdf96af081cfc96afb0c8a95af8ad9ec906d2b8e103806ebe6d1d74bc413
7
+ data.tar.gz: fe6aa4f48b414729aa0678589b4dc55eab153b5c6505edb21700601d7bb993b4cae2465ccb33eeb24becb12c7b68be45d7a88bea67507b8917b2ad23acf738ba
@@ -5,7 +5,20 @@ model: JobTemplate
5
5
  job_category: Convert 2 RHEL
6
6
  provider_type: script
7
7
  kind: job_template
8
+ template_inputs:
9
+ - name: ELS
10
+ required: true
11
+ input_type: user
12
+ description: Use an Extended Lifecycle Support (ELS) add-on subscription
13
+ advanced: false
14
+ value_type: plain
15
+ options: "true\nfalse"
16
+ default: "true"
17
+ hidden_value: false
8
18
  %>
19
+ <%-
20
+ els = input('ELS') == "true" ? "--els" : ""
21
+ -%>
9
22
  <% if @host.operatingsystem.family == 'Redhat' -%>
10
23
  if ! [ $(id -u) -eq 0 ]; then
11
24
  echo "You must run convert2rhel as a root user."
@@ -18,7 +31,7 @@ fi
18
31
 
19
32
  export CONVERT2RHEL_THROUGH_FOREMAN=1
20
33
 
21
- /usr/bin/convert2rhel analyze -y
34
+ /usr/bin/convert2rhel analyze -y <%= els %>
22
35
 
23
36
  # Workaround for https://issues.redhat.com/browse/RHELC-1280
24
37
  subscription-manager facts --update
@@ -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.4'.freeze
3
3
  end
@@ -25,7 +25,7 @@ const TargetingHostsPage = ({
25
25
  }) => (
26
26
  <div id="targeting_hosts">
27
27
  <Grid.Row>
28
- <Grid.Col md={6} className="title_filter">
28
+ <Grid.Col md={6}>
29
29
  <SearchBar
30
30
  onSearch={query => handleSearch(query, statusFilter)}
31
31
  data={{
@@ -10,7 +10,6 @@ exports[`TargetingHostsPage renders 1`] = `
10
10
  >
11
11
  <Col
12
12
  bsClass="col"
13
- className="title_filter"
14
13
  componentClass="div"
15
14
  md={6}
16
15
  >
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.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Remote Execution team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-26 00:00:00.000000000 Z
11
+ date: 2024-12-18 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
@@ -578,7 +579,7 @@ homepage: https://github.com/theforeman/foreman_remote_execution
578
579
  licenses:
579
580
  - GPL-3.0
580
581
  metadata: {}
581
- post_install_message:
582
+ post_install_message:
582
583
  rdoc_options: []
583
584
  require_paths:
584
585
  - lib
@@ -597,7 +598,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
597
598
  version: '0'
598
599
  requirements: []
599
600
  rubygems_version: 3.3.27
600
- signing_key:
601
+ signing_key:
601
602
  specification_version: 4
602
603
  summary: A plugin bringing remote execution to the Foreman, completing the config
603
604
  management functionality with remote management functionality.