foreman_remote_execution 4.3.0 → 4.3.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 799c1e90dc4a413af8f803ce9cce5ba32fbb89bcff68413c1650cfdd94fae5c3
|
|
4
|
+
data.tar.gz: f804a0e85491bf08cb9500cf7e8376033b94aff50fb3027785f6e4bb64aee895
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dbe304879e6b23a473b6d25f11c7a2937b4aeb20a5053ae8824a04d2644f0794630e9d45f6d2065909fdac0044ec252a691a84d8d8c6b62283f6d9a5a2b17548
|
|
7
|
+
data.tar.gz: 2b019cc3d21335a63dae39d3dad2387fc4ce075fb5e51a50eb39957bb7cc0e979def38e401b81ff473552a46b6f588c7ad99158a98bfb76032cff4763633200f
|
|
@@ -199,7 +199,7 @@ module Actions
|
|
|
199
199
|
apipie :class, "An action representing execution of a job against a host" do
|
|
200
200
|
name 'Actions::RemoteExecution::RunHostJob'
|
|
201
201
|
refs 'Actions::RemoteExecution::RunHostJob'
|
|
202
|
-
sections only: %w[webhooks]
|
|
202
|
+
sections only: %w[all webhooks]
|
|
203
203
|
property :task, object_of: 'Task', desc: 'Returns the task to which this action belongs'
|
|
204
204
|
property :host_name, String, desc: "Returns the name of the host"
|
|
205
205
|
property :host_id, Integer, desc: "Returns the id of the host"
|
|
@@ -6,6 +6,7 @@ module ForemanRemoteExecution
|
|
|
6
6
|
extend ApipieDSL::Class
|
|
7
7
|
|
|
8
8
|
attr_reader :template, :host, :invocation, :input_template_instance, :current_user
|
|
9
|
+
attr_accessor :error_message
|
|
9
10
|
delegate :input, to: :input_template_instance
|
|
10
11
|
|
|
11
12
|
apipie :class, 'Macros related to template rendering' do
|
|
@@ -20,26 +20,9 @@ namespace :test do
|
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
22
|
|
|
23
|
-
namespace :foreman_remote_execution do
|
|
24
|
-
task :rubocop do
|
|
25
|
-
begin
|
|
26
|
-
require 'rubocop/rake_task'
|
|
27
|
-
RuboCop::RakeTask.new(:rubocop_foreman_remote_execution) do |task|
|
|
28
|
-
task.patterns = ["#{ForemanRemoteExecution::Engine.root}/app/**/*.rb",
|
|
29
|
-
"#{ForemanRemoteExecution::Engine.root}/lib/**/*.rb",
|
|
30
|
-
"#{ForemanRemoteExecution::Engine.root}/test/**/*.rb"]
|
|
31
|
-
end
|
|
32
|
-
rescue
|
|
33
|
-
puts 'Rubocop not loaded.'
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
Rake::Task['rubocop_foreman_remote_execution'].invoke
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
|
|
40
23
|
Rake::Task[:test].enhance ['test:foreman_remote_execution']
|
|
41
24
|
|
|
42
25
|
load 'tasks/jenkins.rake'
|
|
43
26
|
if Rake::Task.task_defined?(:'jenkins:unit')
|
|
44
|
-
Rake::Task['jenkins:unit'].enhance ['test:foreman_remote_execution'
|
|
27
|
+
Rake::Task['jenkins:unit'].enhance ['test:foreman_remote_execution']
|
|
45
28
|
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: 4.3.
|
|
4
|
+
version: 4.3.1
|
|
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: 2021-
|
|
11
|
+
date: 2021-04-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: deface
|