foreman_remote_execution 9.1.0 → 10.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release.yml +14 -0
  3. data/.tx/config +3 -1
  4. data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +1 -0
  5. data/app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js +1 -0
  6. data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +1 -0
  7. data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +1 -0
  8. data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +1 -0
  9. data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +1 -0
  10. data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +1 -0
  11. data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +1 -0
  12. data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +1 -0
  13. data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +1 -0
  14. data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +1 -0
  15. data/app/assets/javascripts/foreman_remote_execution/template_invocation.js +10 -1
  16. data/app/controllers/job_invocations_controller.rb +20 -1
  17. data/app/controllers/ui_job_wizard_controller.rb +0 -3
  18. data/app/lib/actions/remote_execution/run_host_job.rb +1 -1
  19. data/app/views/job_invocations/_form.html.erb +1 -1
  20. data/app/views/templates/script/run_command.erb +1 -0
  21. data/config/routes.rb +1 -0
  22. data/lib/foreman_remote_execution/engine.rb +8 -8
  23. data/lib/foreman_remote_execution/tasks/explain_proxy_selection.rake +12 -3
  24. data/lib/foreman_remote_execution/version.rb +1 -1
  25. data/locale/Makefile +6 -3
  26. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  27. data/locale/de/foreman_remote_execution.po +53 -8
  28. data/locale/en/foreman_remote_execution.po +52 -7
  29. data/locale/en_GB/foreman_remote_execution.po +52 -7
  30. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  31. data/locale/es/foreman_remote_execution.po +56 -11
  32. data/locale/foreman_remote_execution.pot +193 -126
  33. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  34. data/locale/fr/foreman_remote_execution.po +56 -11
  35. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  36. data/locale/ja/foreman_remote_execution.po +56 -11
  37. data/locale/ko/foreman_remote_execution.po +52 -7
  38. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  39. data/locale/pt_BR/foreman_remote_execution.po +56 -11
  40. data/locale/ru/foreman_remote_execution.po +52 -7
  41. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  42. data/locale/zh_CN/foreman_remote_execution.po +56 -11
  43. data/locale/zh_TW/foreman_remote_execution.po +52 -7
  44. data/webpack/JobWizard/Footer.js +104 -0
  45. data/webpack/JobWizard/JobWizard.js +24 -16
  46. data/webpack/JobWizard/JobWizard.scss +6 -17
  47. data/webpack/JobWizard/JobWizardConstants.js +1 -1
  48. data/webpack/JobWizard/JobWizardPageRerun.js +2 -0
  49. data/webpack/JobWizard/__tests__/fixtures.js +8 -1
  50. data/webpack/JobWizard/__tests__/validation.test.js +9 -0
  51. data/webpack/JobWizard/steps/HostsAndInputs/HostPreviewModal.js +2 -0
  52. data/webpack/JobWizard/steps/HostsAndInputs/SelectedChips.js +28 -14
  53. data/webpack/JobWizard/steps/HostsAndInputs/__tests__/HostsAndInputs.test.js +3 -3
  54. data/webpack/JobWizard/steps/ReviewDetails/ReviewDetails.test.js +117 -0
  55. data/webpack/JobWizard/steps/ReviewDetails/helpers.js +43 -0
  56. data/webpack/JobWizard/steps/ReviewDetails/index.js +169 -18
  57. data/webpack/JobWizard/steps/Schedule/QueryType.js +1 -1
  58. data/webpack/JobWizard/steps/Schedule/RepeatHour.js +0 -1
  59. data/webpack/JobWizard/steps/Schedule/RepeatWeek.js +1 -1
  60. data/webpack/JobWizard/steps/Schedule/__tests__/Schedule.test.js +19 -5
  61. data/webpack/JobWizard/steps/form/DateTimePicker.js +0 -1
  62. data/webpack/JobWizard/steps/form/GroupedSelectField.js +0 -1
  63. data/webpack/JobWizard/steps/form/SelectField.js +0 -1
  64. data/webpack/react_app/components/RecentJobsCard/RecentJobsCard.js +4 -4
  65. data/webpack/react_app/components/RecentJobsCard/RecentJobsTable.js +2 -2
  66. data/webpack/react_app/components/RecentJobsCard/constants.js +2 -2
  67. data/webpack/react_app/components/RegistrationExtension/RexPull.js +0 -2
  68. metadata +21 -6
@@ -26,6 +26,9 @@ msgstr ""
26
26
  msgid "%s job has been invoked"
27
27
  msgstr ""
28
28
 
29
+ msgid "%s more"
30
+ msgstr ""
31
+
29
32
  msgid "%{description} on %{host}"
30
33
  msgstr ""
31
34
 
@@ -35,9 +38,6 @@ msgstr ""
35
38
  msgid "'Starts before' date must in the future"
36
39
  msgstr ""
37
40
 
38
- msgid ", and %s more"
39
- msgstr ""
40
-
41
41
  msgid "...and %s more"
42
42
  msgstr ""
43
43
 
@@ -97,6 +97,9 @@ msgstr ""
97
97
  msgid "After"
98
98
  msgstr ""
99
99
 
100
+ msgid "After %s occurences"
101
+ msgstr ""
102
+
100
103
  msgid "All fields are required."
101
104
  msgstr ""
102
105
 
@@ -154,7 +157,7 @@ msgstr ""
154
157
  msgid "Categories list failed with:"
155
158
  msgstr ""
156
159
 
157
- msgid "Category and Template"
160
+ msgid "Category and template"
158
161
  msgstr ""
159
162
 
160
163
  msgid "Choose a job template that is pre-selected in job invocation form"
@@ -166,7 +169,7 @@ msgstr ""
166
169
  msgid "Cleanup working directories"
167
170
  msgstr ""
168
171
 
169
- msgid "Clear filters"
172
+ msgid "Clear all filters"
170
173
  msgstr ""
171
174
 
172
175
  msgid "Clear input"
@@ -376,6 +379,18 @@ msgstr ""
376
379
  msgid "Evaluated at:"
377
380
  msgstr ""
378
381
 
382
+ msgid "Every day at %s"
383
+ msgstr ""
384
+
385
+ msgid "Every hour at minute %s"
386
+ msgstr ""
387
+
388
+ msgid "Every month on %s at %s"
389
+ msgstr ""
390
+
391
+ msgid "Every week on %s at %s"
392
+ msgstr ""
393
+
379
394
  msgid "Execute the job later, at a scheduled time."
380
395
  msgstr ""
381
396
 
@@ -736,6 +751,9 @@ msgstr ""
736
751
  msgid "Override the description format from the template for this invocation only"
737
752
  msgstr ""
738
753
 
754
+ msgid "Override the global time to pickup interval for this invocation only"
755
+ msgstr ""
756
+
739
757
  msgid "Override the timeout interval from the template for this invocation only"
740
758
  msgstr ""
741
759
 
@@ -763,9 +781,24 @@ msgstr ""
763
781
  msgid "Perform no more executions after this time"
764
782
  msgstr ""
765
783
 
784
+ msgid "Please enter a search query"
785
+ msgstr ""
786
+
787
+ msgid "Please go back to \\\"Schedule\\\" - \\\"Future execution\\\" step to fix the error"
788
+ msgstr ""
789
+
766
790
  msgid "Please refine your search."
767
791
  msgstr ""
768
792
 
793
+ msgid "Please select at least one host"
794
+ msgstr ""
795
+
796
+ msgid "Please select at least one host collection"
797
+ msgstr ""
798
+
799
+ msgid "Please select at least one host group"
800
+ msgstr ""
801
+
769
802
  msgid "Port to use for SSH communication. Default port 22. You may override per host by setting a parameter called remote_execution_ssh_port."
770
803
  msgstr ""
771
804
 
@@ -907,6 +940,12 @@ msgstr ""
907
940
  msgid "Run Puppet Once"
908
941
  msgstr ""
909
942
 
943
+ msgid "Run Script"
944
+ msgstr ""
945
+
946
+ msgid "Run a script"
947
+ msgstr ""
948
+
910
949
  msgid "Run at most N tasks at a time"
911
950
  msgstr ""
912
951
 
@@ -1057,6 +1096,9 @@ msgstr ""
1057
1096
  msgid "Starts"
1058
1097
  msgstr ""
1059
1098
 
1099
+ msgid "Starts Before"
1100
+ msgstr ""
1101
+
1060
1102
  msgid "Starts at"
1061
1103
  msgstr ""
1062
1104
 
@@ -1239,7 +1281,7 @@ msgstr ""
1239
1281
  msgid "Type has impact on when is the query evaluated to hosts."
1240
1282
  msgstr ""
1241
1283
 
1242
- msgid "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static</b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evaluates just before the execution is started, so if it's planed in future, targeted hosts set may change before it</li></ul>"
1284
+ msgid "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static</b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it</li></ul>"
1243
1285
  msgstr ""
1244
1286
 
1245
1287
  msgid "Type of execution"
@@ -1395,7 +1437,7 @@ msgstr ""
1395
1437
  msgid "evaluates just after you submit this form"
1396
1438
  msgstr ""
1397
1439
 
1398
- msgid "evaluates just before the execution is started, so if it's planed in future, targeted hosts set may change before it"
1440
+ msgid "evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it"
1399
1441
  msgstr ""
1400
1442
 
1401
1443
  msgid "failed"
@@ -1479,5 +1521,8 @@ msgstr ""
1479
1521
  msgid "using Smart Proxy"
1480
1522
  msgstr ""
1481
1523
 
1524
+ msgid "view host names"
1525
+ msgstr ""
1526
+
1482
1527
  msgid "yes"
1483
1528
  msgstr ""
@@ -27,6 +27,9 @@ msgstr "%s ago"
27
27
  msgid "%s job has been invoked"
28
28
  msgstr ""
29
29
 
30
+ msgid "%s more"
31
+ msgstr ""
32
+
30
33
  msgid "%{description} on %{host}"
31
34
  msgstr ""
32
35
 
@@ -36,9 +39,6 @@ msgstr ""
36
39
  msgid "'Starts before' date must in the future"
37
40
  msgstr ""
38
41
 
39
- msgid ", and %s more"
40
- msgstr ""
41
-
42
42
  msgid "...and %s more"
43
43
  msgstr ""
44
44
 
@@ -98,6 +98,9 @@ msgstr ""
98
98
  msgid "After"
99
99
  msgstr ""
100
100
 
101
+ msgid "After %s occurences"
102
+ msgstr ""
103
+
101
104
  msgid "All fields are required."
102
105
  msgstr ""
103
106
 
@@ -155,7 +158,7 @@ msgstr ""
155
158
  msgid "Categories list failed with:"
156
159
  msgstr ""
157
160
 
158
- msgid "Category and Template"
161
+ msgid "Category and template"
159
162
  msgstr ""
160
163
 
161
164
  msgid "Choose a job template that is pre-selected in job invocation form"
@@ -167,7 +170,7 @@ msgstr ""
167
170
  msgid "Cleanup working directories"
168
171
  msgstr ""
169
172
 
170
- msgid "Clear filters"
173
+ msgid "Clear all filters"
171
174
  msgstr ""
172
175
 
173
176
  msgid "Clear input"
@@ -377,6 +380,18 @@ msgstr ""
377
380
  msgid "Evaluated at:"
378
381
  msgstr ""
379
382
 
383
+ msgid "Every day at %s"
384
+ msgstr ""
385
+
386
+ msgid "Every hour at minute %s"
387
+ msgstr ""
388
+
389
+ msgid "Every month on %s at %s"
390
+ msgstr ""
391
+
392
+ msgid "Every week on %s at %s"
393
+ msgstr ""
394
+
380
395
  msgid "Execute the job later, at a scheduled time."
381
396
  msgstr ""
382
397
 
@@ -737,6 +752,9 @@ msgstr "Organisation"
737
752
  msgid "Override the description format from the template for this invocation only"
738
753
  msgstr ""
739
754
 
755
+ msgid "Override the global time to pickup interval for this invocation only"
756
+ msgstr ""
757
+
740
758
  msgid "Override the timeout interval from the template for this invocation only"
741
759
  msgstr ""
742
760
 
@@ -764,9 +782,24 @@ msgstr ""
764
782
  msgid "Perform no more executions after this time"
765
783
  msgstr ""
766
784
 
785
+ msgid "Please enter a search query"
786
+ msgstr ""
787
+
788
+ msgid "Please go back to \\\"Schedule\\\" - \\\"Future execution\\\" step to fix the error"
789
+ msgstr ""
790
+
767
791
  msgid "Please refine your search."
768
792
  msgstr ""
769
793
 
794
+ msgid "Please select at least one host"
795
+ msgstr ""
796
+
797
+ msgid "Please select at least one host collection"
798
+ msgstr ""
799
+
800
+ msgid "Please select at least one host group"
801
+ msgstr ""
802
+
770
803
  msgid "Port to use for SSH communication. Default port 22. You may override per host by setting a parameter called remote_execution_ssh_port."
771
804
  msgstr ""
772
805
 
@@ -908,6 +941,12 @@ msgstr ""
908
941
  msgid "Run Puppet Once"
909
942
  msgstr ""
910
943
 
944
+ msgid "Run Script"
945
+ msgstr ""
946
+
947
+ msgid "Run a script"
948
+ msgstr ""
949
+
911
950
  msgid "Run at most N tasks at a time"
912
951
  msgstr ""
913
952
 
@@ -1058,6 +1097,9 @@ msgstr ""
1058
1097
  msgid "Starts"
1059
1098
  msgstr ""
1060
1099
 
1100
+ msgid "Starts Before"
1101
+ msgstr ""
1102
+
1061
1103
  msgid "Starts at"
1062
1104
  msgstr ""
1063
1105
 
@@ -1240,7 +1282,7 @@ msgstr "Type"
1240
1282
  msgid "Type has impact on when is the query evaluated to hosts."
1241
1283
  msgstr ""
1242
1284
 
1243
- msgid "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static</b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evaluates just before the execution is started, so if it's planed in future, targeted hosts set may change before it</li></ul>"
1285
+ msgid "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static</b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it</li></ul>"
1244
1286
  msgstr ""
1245
1287
 
1246
1288
  msgid "Type of execution"
@@ -1396,7 +1438,7 @@ msgstr ""
1396
1438
  msgid "evaluates just after you submit this form"
1397
1439
  msgstr ""
1398
1440
 
1399
- msgid "evaluates just before the execution is started, so if it's planed in future, targeted hosts set may change before it"
1441
+ msgid "evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it"
1400
1442
  msgstr ""
1401
1443
 
1402
1444
  msgid "failed"
@@ -1480,5 +1522,8 @@ msgstr ""
1480
1522
  msgid "using Smart Proxy"
1481
1523
  msgstr ""
1482
1524
 
1525
+ msgid "view host names"
1526
+ msgstr ""
1527
+
1483
1528
  msgid "yes"
1484
1529
  msgstr "yes"
@@ -27,6 +27,9 @@ msgstr "Hace %s"
27
27
  msgid "%s job has been invoked"
28
28
  msgstr "%s se ha invocado el trabajo"
29
29
 
30
+ msgid "%s more"
31
+ msgstr ""
32
+
30
33
  msgid "%{description} on %{host}"
31
34
  msgstr "%{description} en %{host}"
32
35
 
@@ -36,9 +39,6 @@ msgstr ""
36
39
  msgid "'Starts before' date must in the future"
37
40
  msgstr ""
38
41
 
39
- msgid ", and %s more"
40
- msgstr "y %s más"
41
-
42
42
  msgid "...and %s more"
43
43
  msgstr "...y %s más"
44
44
 
@@ -98,6 +98,9 @@ msgstr "Campos avanzados"
98
98
  msgid "After"
99
99
  msgstr ""
100
100
 
101
+ msgid "After %s occurences"
102
+ msgstr ""
103
+
101
104
  msgid "All fields are required."
102
105
  msgstr "Todos los campos son obligatorios."
103
106
 
@@ -155,8 +158,8 @@ msgstr "No se pueden especificar bookmark_id y search_query."
155
158
  msgid "Categories list failed with:"
156
159
  msgstr "La lista de categorías falló con:"
157
160
 
158
- msgid "Category and Template"
159
- msgstr "Categoría y plantilla"
161
+ msgid "Category and template"
162
+ msgstr ""
160
163
 
161
164
  msgid "Choose a job template that is pre-selected in job invocation form"
162
165
  msgstr "Elija una plantilla de tarea que esté preseleccionada en el formulario de invocación de tarea"
@@ -167,8 +170,8 @@ msgstr "Dependencia circular detectada en el conjunto de entrada externo '%{temp
167
170
  msgid "Cleanup working directories"
168
171
  msgstr "Directorios de limpieza en ejecución"
169
172
 
170
- msgid "Clear filters"
171
- msgstr "Limpiar filtros"
173
+ msgid "Clear all filters"
174
+ msgstr ""
172
175
 
173
176
  msgid "Clear input"
174
177
  msgstr ""
@@ -377,6 +380,18 @@ msgstr "Errores:"
377
380
  msgid "Evaluated at:"
378
381
  msgstr "Evaluado en:"
379
382
 
383
+ msgid "Every day at %s"
384
+ msgstr ""
385
+
386
+ msgid "Every hour at minute %s"
387
+ msgstr ""
388
+
389
+ msgid "Every month on %s at %s"
390
+ msgstr ""
391
+
392
+ msgid "Every week on %s at %s"
393
+ msgstr ""
394
+
380
395
  msgid "Execute the job later, at a scheduled time."
381
396
  msgstr ""
382
397
 
@@ -737,6 +752,9 @@ msgstr "Organización"
737
752
  msgid "Override the description format from the template for this invocation only"
738
753
  msgstr "Sustituir el formato de descripción de la plantilla solo para esta invocación"
739
754
 
755
+ msgid "Override the global time to pickup interval for this invocation only"
756
+ msgstr ""
757
+
740
758
  msgid "Override the timeout interval from the template for this invocation only"
741
759
  msgstr "Anular el intervalo del tiempo de expiración desde la plantilla solo para esta invocación"
742
760
 
@@ -764,9 +782,24 @@ msgstr "Realizar una sola ejecución de Puppet"
764
782
  msgid "Perform no more executions after this time"
765
783
  msgstr "No ejecutar más después de esta cantidad de veces"
766
784
 
785
+ msgid "Please enter a search query"
786
+ msgstr ""
787
+
788
+ msgid "Please go back to \\\"Schedule\\\" - \\\"Future execution\\\" step to fix the error"
789
+ msgstr ""
790
+
767
791
  msgid "Please refine your search."
768
792
  msgstr "Afine su búsqueda."
769
793
 
794
+ msgid "Please select at least one host"
795
+ msgstr ""
796
+
797
+ msgid "Please select at least one host collection"
798
+ msgstr ""
799
+
800
+ msgid "Please select at least one host group"
801
+ msgstr ""
802
+
770
803
  msgid "Port to use for SSH communication. Default port 22. You may override per host by setting a parameter called remote_execution_ssh_port."
771
804
  msgstr "Puerto para usar para la comunicación SSH. Puerto predeterminado: 22. Puede sustituir por host al establecer un parámetro llamado remote_execution_ssh_port."
772
805
 
@@ -908,6 +941,12 @@ msgstr "Ejecutar trabajo"
908
941
  msgid "Run Puppet Once"
909
942
  msgstr "Ejecutar Puppet una vez"
910
943
 
944
+ msgid "Run Script"
945
+ msgstr ""
946
+
947
+ msgid "Run a script"
948
+ msgstr ""
949
+
911
950
  msgid "Run at most N tasks at a time"
912
951
  msgstr "Ejecutar un máximo de N tareas por vez"
913
952
 
@@ -1058,6 +1097,9 @@ msgstr "Inició"
1058
1097
  msgid "Starts"
1059
1098
  msgstr "Comienza"
1060
1099
 
1100
+ msgid "Starts Before"
1101
+ msgstr ""
1102
+
1061
1103
  msgid "Starts at"
1062
1104
  msgstr "Comienza en"
1063
1105
 
@@ -1241,8 +1283,8 @@ msgstr "Tipo"
1241
1283
  msgid "Type has impact on when is the query evaluated to hosts."
1242
1284
  msgstr "El tipo influye en el momento en que se evalúa la consulta a los hosts."
1243
1285
 
1244
- msgid "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static</b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evaluates just before the execution is started, so if it's planed in future, targeted hosts set may change before it</li></ul>"
1245
- msgstr "El tipo afecta el momento en que la consulta evalúa al host.<br><ul><li><b>Estático</b>: evalúa solo después de enviar este formulario</li><li><b>Dinámico</b>: evalúa solo antes de que comience la ejecución, por lo que si se planifica para el futuro, los hosts de destino establecidos pueden cambiar antes de que se realice</li></ul>"
1286
+ msgid "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static</b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it</li></ul>"
1287
+ msgstr ""
1246
1288
 
1247
1289
  msgid "Type of execution"
1248
1290
  msgstr ""
@@ -1397,8 +1439,8 @@ msgstr "error durante la reproducción: %s"
1397
1439
  msgid "evaluates just after you submit this form"
1398
1440
  msgstr "se evalúa justo después de enviar este formulario"
1399
1441
 
1400
- msgid "evaluates just before the execution is started, so if it's planed in future, targeted hosts set may change before it"
1401
- msgstr "evalúa justo antes de que se inicie la ejecución, por lo que si se planifica en el futuro, el conjunto de hosts objetivo puede cambiar antes de que"
1442
+ msgid "evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it"
1443
+ msgstr ""
1402
1444
 
1403
1445
  msgid "failed"
1404
1446
  msgstr "fallido"
@@ -1481,5 +1523,8 @@ msgstr "mediante"
1481
1523
  msgid "using Smart Proxy"
1482
1524
  msgstr "utilizando Smart Proxy"
1483
1525
 
1526
+ msgid "view host names"
1527
+ msgstr ""
1528
+
1484
1529
  msgid "yes"
1485
1530
  msgstr "sí"