foreman_remote_execution 12.0.2 → 12.0.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ede59838c9c04b72c60f470fd80907bbaa1f74c8e22da68141fe73f57a400615
|
4
|
+
data.tar.gz: bb6a7af28e60648675c023c171fb0862d553f0d9efc731c3ae9d2cea2b05a4ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c64f0973da8c5fac27e348982534c05e53b41f7e6e50ecbd520a28727944c531aeaefd04b79a7c34d1d11f57aafddc11a9ee14cb66a1f6e4143843ef9190eb8
|
7
|
+
data.tar.gz: 3144ac48e0c92a76dd7fc4015259fb249b48a9cb265b0515f0a6fbf2ccf55963ee88a698578be51d8a272fbdb7cc8dcec2ad36068c39aa3ff607abdccf6b64c1
|
@@ -18,7 +18,7 @@ module RemoteExecutionHelper
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def template_invocation_status(task, parent_task)
|
21
|
-
return(parent_task.result == 'cancelled' ? _('cancelled') : '
|
21
|
+
return(parent_task.result == 'cancelled' ? _('cancelled') : _('Awaiting start')) if task.nil?
|
22
22
|
return task.state if task.state == 'running' || task.state == 'planned'
|
23
23
|
return _('error') if task.result == 'warning'
|
24
24
|
|
@@ -77,6 +77,11 @@ class JobInvocation < ApplicationRecord
|
|
77
77
|
:ext_method => :search_by_recurring_logic, :only_explicit => true,
|
78
78
|
:complete_value => { :true => true, :false => false }
|
79
79
|
|
80
|
+
validates :concurrency_level, :numericality => {
|
81
|
+
:allow_nil => true,
|
82
|
+
:greater_than => 0,
|
83
|
+
}
|
84
|
+
|
80
85
|
default_scope -> { order('job_invocations.id DESC') }
|
81
86
|
|
82
87
|
scope :latest_jobs, -> { unscoped.joins(:task).order('foreman_tasks_tasks.start_at DESC').authorized(:view_job_invocations).limit(5) }
|
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: 12.0.
|
4
|
+
version: 12.0.5
|
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-01-
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -575,7 +575,7 @@ homepage: https://github.com/theforeman/foreman_remote_execution
|
|
575
575
|
licenses:
|
576
576
|
- GPL-3.0
|
577
577
|
metadata: {}
|
578
|
-
post_install_message:
|
578
|
+
post_install_message:
|
579
579
|
rdoc_options: []
|
580
580
|
require_paths:
|
581
581
|
- lib
|
@@ -593,8 +593,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
593
593
|
- !ruby/object:Gem::Version
|
594
594
|
version: '0'
|
595
595
|
requirements: []
|
596
|
-
rubygems_version: 3.
|
597
|
-
signing_key:
|
596
|
+
rubygems_version: 3.3.26
|
597
|
+
signing_key:
|
598
598
|
specification_version: 4
|
599
599
|
summary: A plugin bringing remote execution to the Foreman, completing the config
|
600
600
|
management functionality with remote management functionality.
|