foreman_remote_execution 8.1.2 → 9.0.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 +4 -4
- data/.github/workflows/ruby_ci.yml +3 -1
- data/app/models/job_invocation.rb +3 -2
- data/app/models/template_invocation.rb +1 -0
- data/lib/foreman_remote_execution/engine.rb +1 -1
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/locale/action_names.rb +3 -3
- data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/de/foreman_remote_execution.po +260 -151
- data/locale/en/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en/foreman_remote_execution.po +129 -24
- data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en_GB/foreman_remote_execution.po +147 -42
- data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/es/foreman_remote_execution.po +311 -204
- data/locale/foreman_remote_execution.pot +387 -212
- data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/fr/foreman_remote_execution.po +348 -239
- data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ja/foreman_remote_execution.po +359 -255
- data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ko/foreman_remote_execution.po +157 -52
- data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/pt_BR/foreman_remote_execution.po +327 -220
- data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ru/foreman_remote_execution.po +157 -52
- data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_CN/foreman_remote_execution.po +456 -353
- data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_TW/foreman_remote_execution.po +158 -53
- data/test/unit/job_invocation_test.rb +1 -0
- data/webpack/JobWizard/JobWizard.scss +1 -5
- data/webpack/JobWizard/steps/AdvancedFields/__tests__/__snapshots__/AdvancedFields.test.js.snap +1 -1
- data/webpack/JobWizard/steps/HostsAndInputs/HostSearch.js +4 -28
- data/webpack/JobWizard/steps/HostsAndInputs/index.js +0 -4
- data/webpack/JobWizard/steps/form/Formatter.js +8 -30
- data/webpack/react_app/components/TargetingHosts/TargetingHostsLabelsRow.js +45 -0
- data/webpack/react_app/components/TargetingHosts/TargetingHostsLabelsRow.scss +26 -0
- data/webpack/react_app/components/TargetingHosts/TargetingHostsPage.js +13 -1
- data/webpack/react_app/components/TargetingHosts/TargetingHostsSelectors.js +5 -0
- data/webpack/react_app/components/TargetingHosts/__tests__/__snapshots__/TargetingHostsPage.test.js.snap +3 -0
- data/webpack/react_app/components/TargetingHosts/index.js +23 -3
- data/webpack/react_app/components/jobInvocations/AggregateStatus/index.js +25 -9
- data/webpack/react_app/components/jobInvocations/AggregateStatus/index.test.js +6 -2
- data/webpack/react_app/components/jobInvocations/index.js +19 -2
- data/webpack/react_app/redux/actions/jobInvocations/index.js +8 -0
- data/webpack/react_app/redux/reducers/jobInvocations/index.js +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 376cd3ce84a0abe7f0cf1f3ceaf214426f670c0baf18c9fa9e38d6a4fdddf243
|
|
4
|
+
data.tar.gz: de966d7e9b403c5ad383aa4710b324058fd416a17c5cbcee3873f48ec2e9d97b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff931232a32b165cc62176bf1f8e939143a9f6bb4536317060c6c9f4b85e286089ebcb386ac6bc3222521040bd19ec502c8fce11be60299b9c6f64f60fd3b52e
|
|
7
|
+
data.tar.gz: ba2ccd8b41bd70a9b3b657d2856b84999913dc1b07027a7a7dad004d4682b0f1e39b2d616ff2aef5a22804092dc3a89c0fb0cd239eec7a78c45a47554555d18b
|
|
@@ -13,6 +13,8 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
15
|
- uses: actions/checkout@v2
|
|
16
|
+
- run: sudo apt-get update
|
|
17
|
+
- run: sudo apt-get install libyaml-dev
|
|
16
18
|
- name: Setup Ruby
|
|
17
19
|
uses: ruby/setup-ruby@v1
|
|
18
20
|
with:
|
|
@@ -42,7 +44,7 @@ jobs:
|
|
|
42
44
|
node-version: [12]
|
|
43
45
|
steps:
|
|
44
46
|
- run: sudo apt-get update
|
|
45
|
-
- run: sudo apt-get install build-essential libcurl4-openssl-dev zlib1g-dev libpq-dev
|
|
47
|
+
- run: sudo apt-get install build-essential libcurl4-openssl-dev zlib1g-dev libpq-dev libyaml-dev
|
|
46
48
|
- uses: actions/checkout@v2
|
|
47
49
|
with:
|
|
48
50
|
repository: theforeman/foreman
|
|
@@ -253,8 +253,9 @@ class JobInvocation < ApplicationRecord
|
|
|
253
253
|
acc.merge(key => 0)
|
|
254
254
|
end
|
|
255
255
|
else
|
|
256
|
-
counts
|
|
257
|
-
|
|
256
|
+
counts = task.sub_tasks_counts
|
|
257
|
+
counts.default = 0
|
|
258
|
+
done = counts.values_at(*map.results).reduce(:+)
|
|
258
259
|
percent = progress(counts[:total], done)
|
|
259
260
|
counts.merge(:progress => percent, :failed => counts.values_at(*map.status_to_task_result(:failed)).reduce(:+))
|
|
260
261
|
end
|
|
@@ -47,7 +47,7 @@ module ForemanRemoteExecution
|
|
|
47
47
|
|
|
48
48
|
initializer 'foreman_remote_execution.register_plugin', before: :finisher_hook do |_app|
|
|
49
49
|
Foreman::Plugin.register :foreman_remote_execution do
|
|
50
|
-
requires_foreman '>= 3.
|
|
50
|
+
requires_foreman '>= 3.6'
|
|
51
51
|
register_global_js_file 'global'
|
|
52
52
|
|
|
53
53
|
apipie_documented_controllers ["#{ForemanRemoteExecution::Engine.root}/app/controllers/api/v2/*.rb"]
|
data/locale/action_names.rb
CHANGED
|
Binary file
|