foreman_remote_execution 3.2.2 → 3.3.4
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/.eslintrc +5 -30
- data/.github/workflows/ci.yml +101 -0
- data/.gitignore +1 -0
- data/.rubocop_todo.yml +3 -0
- data/Gemfile +1 -0
- data/app/assets/stylesheets/foreman_remote_execution/job_invocations.scss +6 -5
- data/app/controllers/api/v2/job_invocations_controller.rb +17 -0
- data/app/helpers/remote_execution_helper.rb +38 -33
- data/app/lib/actions/remote_execution/run_host_job.rb +3 -2
- data/app/models/remote_execution_provider.rb +5 -0
- data/app/services/default_proxy_proxy_selector.rb +20 -0
- data/app/views/api/v2/job_invocations/main.json.rabl +6 -0
- data/app/views/job_invocations/_card_target_hosts.html.erb +1 -1
- data/app/views/job_invocations/_tab_hosts.html.erb +3 -23
- data/app/views/job_invocations/index.html.erb +2 -1
- data/app/views/job_invocations/show.html.erb +0 -6
- data/app/views/job_invocations/show.json.erb +4 -0
- data/app/views/templates/ssh/package_action.erb +1 -0
- data/app/views/templates/ssh/puppet_agent_disable.erb +3 -0
- data/app/views/templates/ssh/puppet_agent_enable.erb +3 -0
- data/app/views/templates/ssh/puppet_install_modules_from_forge.erb +3 -0
- data/app/views/templates/ssh/puppet_run_once.erb +3 -0
- data/db/seeds.d/70-job_templates.rb +1 -1
- data/foreman_remote_execution.gemspec +4 -5
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/locale/action_names.rb +0 -1
- data/package.json +16 -33
- data/webpack/__mocks__/foremanReact/common/I18n.js +1 -0
- data/webpack/__mocks__/foremanReact/components/common/ActionButtons/ActionButtons.js +3 -0
- data/webpack/__mocks__/foremanReact/constants.js +3 -0
- data/webpack/index.js +9 -7
- data/webpack/react_app/components/TargetingHosts/TargetingHosts.js +52 -0
- data/webpack/react_app/components/TargetingHosts/TargetingHostsActions.js +8 -0
- data/webpack/react_app/components/TargetingHosts/TargetingHostsConsts.js +1 -0
- data/webpack/react_app/components/TargetingHosts/TargetingHostsSelectors.js +12 -0
- data/webpack/react_app/components/TargetingHosts/__tests__/HostItem.test.js +6 -0
- data/webpack/react_app/components/TargetingHosts/__tests__/HostStatus.test.js +6 -0
- data/webpack/react_app/components/TargetingHosts/__tests__/TargetingHosts.test.js +6 -0
- data/webpack/react_app/components/TargetingHosts/__tests__/__snapshots__/HostItem.test.js.snap +31 -0
- data/webpack/react_app/components/TargetingHosts/__tests__/__snapshots__/HostStatus.test.js.snap +12 -0
- data/webpack/react_app/components/TargetingHosts/__tests__/__snapshots__/TargetingHosts.test.js.snap +81 -0
- data/webpack/react_app/components/TargetingHosts/__tests__/fixtures.js +43 -0
- data/webpack/react_app/components/TargetingHosts/components/HostItem.js +39 -0
- data/webpack/react_app/components/TargetingHosts/components/HostStatus.js +54 -0
- data/webpack/react_app/components/TargetingHosts/index.js +37 -0
- data/webpack/react_app/components/jobInvocations/AggregateStatus/index.js +10 -0
- data/webpack/react_app/components/jobInvocations/AggregateStatus/index.test.js +6 -3
- data/webpack/react_app/components/jobInvocations/index.js +19 -7
- data/webpack/react_app/redux/actions/jobInvocations/index.js +12 -8
- data/webpack/react_app/redux/consts.js +1 -2
- data/webpack/react_app/redux/reducers/jobInvocations/index.fixtures.js +8 -40
- data/webpack/react_app/redux/reducers/jobInvocations/index.test.js +17 -11
- data/webpack/test_setup.js +2 -1
- metadata +26 -12
- data/.hound.yml +0 -19
- data/.travis.yml +0 -6
- data/app/views/job_invocations/_host_actions_td.html.erb +0 -3
- data/app/views/job_invocations/_host_name_td.html.erb +0 -8
- data/app/views/job_invocations/_host_status_td.html.erb +0 -1
- data/app/views/job_invocations/show.js.erb +0 -23
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { ActionButtons } from 'foremanReact/components/common/ActionButtons/ActionButtons';
|
|
4
|
+
import HostStatus from './HostStatus';
|
|
5
|
+
|
|
6
|
+
const HostItem = ({ name, link, status, actions }) => {
|
|
7
|
+
const hostLink = link ? (
|
|
8
|
+
<a href={link}>{name}</a>
|
|
9
|
+
) : (
|
|
10
|
+
<a href="#" className="disabled">
|
|
11
|
+
{name}
|
|
12
|
+
</a>
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<tr id={`targeting-host-${name}`}>
|
|
17
|
+
<td className="host_name">{hostLink}</td>
|
|
18
|
+
<td className="host_status">
|
|
19
|
+
<HostStatus status={status} />
|
|
20
|
+
</td>
|
|
21
|
+
<td className="host_actions">
|
|
22
|
+
<ActionButtons buttons={[...actions]} />
|
|
23
|
+
</td>
|
|
24
|
+
</tr>
|
|
25
|
+
);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
HostItem.propTypes = {
|
|
29
|
+
name: PropTypes.string.isRequired,
|
|
30
|
+
link: PropTypes.string.isRequired,
|
|
31
|
+
status: PropTypes.string.isRequired,
|
|
32
|
+
actions: PropTypes.array,
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
HostItem.defaultProps = {
|
|
36
|
+
actions: [],
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export default HostItem;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'patternfly-react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { translate as __ } from 'foremanReact/common/I18n';
|
|
5
|
+
|
|
6
|
+
const HostStatus = ({ status }) => {
|
|
7
|
+
switch (status) {
|
|
8
|
+
case 'cancelled':
|
|
9
|
+
return (
|
|
10
|
+
<div>
|
|
11
|
+
<Icon type="pf" name="warning-triangle-o" /> {status}
|
|
12
|
+
</div>
|
|
13
|
+
);
|
|
14
|
+
case 'N/A':
|
|
15
|
+
return (
|
|
16
|
+
<div>
|
|
17
|
+
<Icon type="fa" name="question" /> {status}
|
|
18
|
+
</div>
|
|
19
|
+
);
|
|
20
|
+
case 'running':
|
|
21
|
+
return (
|
|
22
|
+
<div>
|
|
23
|
+
<Icon type="pf" name="running" /> {status}
|
|
24
|
+
</div>
|
|
25
|
+
);
|
|
26
|
+
case 'planned':
|
|
27
|
+
return (
|
|
28
|
+
<div>
|
|
29
|
+
<Icon type="pf" name="build" /> {status}
|
|
30
|
+
</div>
|
|
31
|
+
);
|
|
32
|
+
case 'warning':
|
|
33
|
+
case 'error':
|
|
34
|
+
return (
|
|
35
|
+
<div>
|
|
36
|
+
<Icon type="pf" name="error-circle-o" /> {__('failed')}
|
|
37
|
+
</div>
|
|
38
|
+
);
|
|
39
|
+
case 'success':
|
|
40
|
+
return (
|
|
41
|
+
<div>
|
|
42
|
+
<Icon type="pf" name="ok" /> {status}
|
|
43
|
+
</div>
|
|
44
|
+
);
|
|
45
|
+
default:
|
|
46
|
+
return <span>{status}</span>;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
HostStatus.propTypes = {
|
|
51
|
+
status: PropTypes.string.isRequired,
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export default HostStatus;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import { useSelector, useDispatch } from 'react-redux';
|
|
3
|
+
import { stopInterval } from 'foremanReact/redux/middlewares/IntervalMiddleware';
|
|
4
|
+
import TargetingHosts from './TargetingHosts';
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
selectItems,
|
|
8
|
+
selectStatus,
|
|
9
|
+
selectAutoRefresh,
|
|
10
|
+
} from './TargetingHostsSelectors';
|
|
11
|
+
import { getData } from './TargetingHostsActions';
|
|
12
|
+
import { TARGETING_HOSTS } from './TargetingHostsConsts';
|
|
13
|
+
|
|
14
|
+
const WrappedTargetingHosts = () => {
|
|
15
|
+
const dispatch = useDispatch();
|
|
16
|
+
const autoRefresh = useSelector(selectAutoRefresh);
|
|
17
|
+
const items = useSelector(selectItems);
|
|
18
|
+
const status = useSelector(selectStatus);
|
|
19
|
+
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
dispatch(getData());
|
|
22
|
+
|
|
23
|
+
return () => {
|
|
24
|
+
dispatch(stopInterval(TARGETING_HOSTS));
|
|
25
|
+
};
|
|
26
|
+
}, [dispatch]);
|
|
27
|
+
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
if (autoRefresh === 'false') {
|
|
30
|
+
dispatch(stopInterval(TARGETING_HOSTS));
|
|
31
|
+
}
|
|
32
|
+
}, [autoRefresh, dispatch]);
|
|
33
|
+
|
|
34
|
+
return <TargetingHosts status={status} items={items} />;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export default WrappedTargetingHosts;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
2
3
|
|
|
3
4
|
const AggregateStatus = ({ statuses }) => (
|
|
4
5
|
<div id="aggregate_statuses">
|
|
@@ -31,4 +32,13 @@ const AggregateStatus = ({ statuses }) => (
|
|
|
31
32
|
</div>
|
|
32
33
|
);
|
|
33
34
|
|
|
35
|
+
AggregateStatus.propTypes = {
|
|
36
|
+
statuses: PropTypes.shape({
|
|
37
|
+
cancelled: PropTypes.number,
|
|
38
|
+
failed: PropTypes.number,
|
|
39
|
+
pending: PropTypes.number,
|
|
40
|
+
success: PropTypes.number,
|
|
41
|
+
}).isRequired,
|
|
42
|
+
};
|
|
43
|
+
|
|
34
44
|
export default AggregateStatus;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { shallow } from '
|
|
3
|
-
import AggregateStatus from './index
|
|
2
|
+
import { shallow } from '@theforeman/test';
|
|
3
|
+
import AggregateStatus from './index';
|
|
4
4
|
|
|
5
5
|
jest.unmock('./index.js');
|
|
6
6
|
|
|
@@ -20,7 +20,10 @@ describe('AggregateStatus', () => {
|
|
|
20
20
|
|
|
21
21
|
it('renders cards with props passed', () => {
|
|
22
22
|
const statuses = {
|
|
23
|
-
success: 19,
|
|
23
|
+
success: 19,
|
|
24
|
+
failed: 20,
|
|
25
|
+
cancelled: 31,
|
|
26
|
+
pending: 3,
|
|
24
27
|
};
|
|
25
28
|
const chartNumbers = shallow(<AggregateStatus statuses={statuses} />);
|
|
26
29
|
const success = chartNumbers.find('#success_count').text();
|
|
@@ -4,14 +4,18 @@ import Immutable from 'seamless-immutable';
|
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
6
6
|
import DonutChart from 'foremanReact/components/common/charts/DonutChart';
|
|
7
|
-
import AggregateStatus from './AggregateStatus
|
|
7
|
+
import AggregateStatus from './AggregateStatus';
|
|
8
8
|
import * as JobInvocationActions from '../../redux/actions/jobInvocations';
|
|
9
9
|
|
|
10
|
-
const colIndexOfMaxValue = columns =>
|
|
10
|
+
const colIndexOfMaxValue = columns =>
|
|
11
|
+
columns.reduce((iMax, x, i, arr) => (x[1] > arr[iMax][1] ? i : iMax), 0);
|
|
11
12
|
|
|
12
13
|
class JobInvocationContainer extends React.Component {
|
|
13
14
|
componentDidMount() {
|
|
14
|
-
const {
|
|
15
|
+
const {
|
|
16
|
+
startJobInvocationsPolling,
|
|
17
|
+
data: { url },
|
|
18
|
+
} = this.props;
|
|
15
19
|
|
|
16
20
|
startJobInvocationsPolling(url);
|
|
17
21
|
}
|
|
@@ -22,15 +26,20 @@ class JobInvocationContainer extends React.Component {
|
|
|
22
26
|
|
|
23
27
|
return (
|
|
24
28
|
<div id="job_invocations_chart_container">
|
|
25
|
-
<DonutChart
|
|
26
|
-
|
|
29
|
+
<DonutChart
|
|
30
|
+
data={Immutable.asMutable(jobInvocations)}
|
|
31
|
+
title={{
|
|
32
|
+
type: 'percent',
|
|
33
|
+
secondary: (jobInvocations[iMax] || [])[0],
|
|
34
|
+
}}
|
|
35
|
+
/>
|
|
27
36
|
<AggregateStatus statuses={statuses} />
|
|
28
37
|
</div>
|
|
29
38
|
);
|
|
30
39
|
}
|
|
31
40
|
}
|
|
32
41
|
|
|
33
|
-
const mapStateToProps =
|
|
42
|
+
const mapStateToProps = state => {
|
|
34
43
|
const {
|
|
35
44
|
jobInvocations,
|
|
36
45
|
statuses,
|
|
@@ -62,4 +71,7 @@ JobInvocationContainer.defaultProps = {
|
|
|
62
71
|
jobInvocations: [['property', 3, 'color']],
|
|
63
72
|
statuses: {},
|
|
64
73
|
};
|
|
65
|
-
export default connect(
|
|
74
|
+
export default connect(
|
|
75
|
+
mapStateToProps,
|
|
76
|
+
JobInvocationActions
|
|
77
|
+
)(JobInvocationContainer);
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from '../../consts';
|
|
9
9
|
|
|
10
10
|
const defaultJobInvocationsPollingInterval = 1000;
|
|
11
|
-
const jobInvocationsInterval =
|
|
12
|
-
defaultJobInvocationsPollingInterval;
|
|
11
|
+
const jobInvocationsInterval =
|
|
12
|
+
process.env.JOB_INVOCATIONS_POLLING || defaultJobInvocationsPollingInterval;
|
|
13
13
|
|
|
14
|
-
const getJobInvocations = url => (dispatch, getState) => {
|
|
14
|
+
const getJobInvocations = url => async (dispatch, getState) => {
|
|
15
15
|
function onGetJobInvocationsSuccess({ data }) {
|
|
16
16
|
// If the job has finished, stop polling
|
|
17
17
|
if (data.finished) {
|
|
@@ -41,7 +41,7 @@ const getJobInvocations = url => (dispatch, getState) => {
|
|
|
41
41
|
if (jobInvocationsInterval) {
|
|
42
42
|
setTimeout(
|
|
43
43
|
() => dispatch(getJobInvocations(url)),
|
|
44
|
-
jobInvocationsInterval
|
|
44
|
+
jobInvocationsInterval
|
|
45
45
|
);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -52,10 +52,14 @@ const getJobInvocations = url => (dispatch, getState) => {
|
|
|
52
52
|
|
|
53
53
|
if (getState().foremanRemoteExecutionReducers.jobInvocations.isPolling) {
|
|
54
54
|
if (isDocumentVisible) {
|
|
55
|
-
|
|
56
|
-
.
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
try {
|
|
56
|
+
const data = await API.get(url);
|
|
57
|
+
onGetJobInvocationsSuccess(data);
|
|
58
|
+
} catch (error) {
|
|
59
|
+
onGetJobInvocationsFailed(error);
|
|
60
|
+
} finally {
|
|
61
|
+
triggerPolling();
|
|
62
|
+
}
|
|
59
63
|
} else {
|
|
60
64
|
// document is not visible, keep polling without api call
|
|
61
65
|
triggerPolling();
|
|
@@ -2,5 +2,4 @@ export const JOB_INVOCATIONS_POLLING_STARTED =
|
|
|
2
2
|
'JOB_INVOCATIONS_POLLING_STARTED';
|
|
3
3
|
export const JOB_INVOCATIONS_GET_JOB_INVOCATIONS =
|
|
4
4
|
'JOB_INVOCATIONS_GET_JOB_INVOCATIONS';
|
|
5
|
-
export const JOB_INVOCATIONS_JOB_FINISHED =
|
|
6
|
-
'JOB_INVOCATIONS_JOB_FINISHED';
|
|
5
|
+
export const JOB_INVOCATIONS_JOB_FINISHED = 'JOB_INVOCATIONS_JOB_FINISHED';
|
|
@@ -15,26 +15,10 @@ export const pollingStarted = Immutable({
|
|
|
15
15
|
export const jobInvocationsPayload = Immutable({
|
|
16
16
|
jobInvocations: {
|
|
17
17
|
job_invocations: [
|
|
18
|
-
[
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
],
|
|
23
|
-
[
|
|
24
|
-
'Failed',
|
|
25
|
-
20,
|
|
26
|
-
'#B7312D',
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
'Pending',
|
|
30
|
-
40,
|
|
31
|
-
'#B7312D',
|
|
32
|
-
],
|
|
33
|
-
[
|
|
34
|
-
'Cancelled',
|
|
35
|
-
0,
|
|
36
|
-
'#B7312D',
|
|
37
|
-
],
|
|
18
|
+
['Success', 100, '#B7312D'],
|
|
19
|
+
['Failed', 20, '#B7312D'],
|
|
20
|
+
['Pending', 40, '#B7312D'],
|
|
21
|
+
['Cancelled', 0, '#B7312D'],
|
|
38
22
|
],
|
|
39
23
|
statuses: {
|
|
40
24
|
cancelled: 0,
|
|
@@ -48,26 +32,10 @@ export const jobInvocationsPayload = Immutable({
|
|
|
48
32
|
export const jobInvocationsReceived = Immutable({
|
|
49
33
|
isPolling: true,
|
|
50
34
|
jobInvocations: [
|
|
51
|
-
[
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
],
|
|
56
|
-
[
|
|
57
|
-
'Failed',
|
|
58
|
-
20,
|
|
59
|
-
'#B7312D',
|
|
60
|
-
],
|
|
61
|
-
[
|
|
62
|
-
'Pending',
|
|
63
|
-
40,
|
|
64
|
-
'#B7312D',
|
|
65
|
-
],
|
|
66
|
-
[
|
|
67
|
-
'Cancelled',
|
|
68
|
-
0,
|
|
69
|
-
'#B7312D',
|
|
70
|
-
],
|
|
35
|
+
['Success', 100, '#B7312D'],
|
|
36
|
+
['Failed', 20, '#B7312D'],
|
|
37
|
+
['Pending', 40, '#B7312D'],
|
|
38
|
+
['Cancelled', 0, '#B7312D'],
|
|
71
39
|
],
|
|
72
40
|
statuses: {
|
|
73
41
|
cancelled: 0,
|
|
@@ -18,20 +18,26 @@ describe('job invocations chart reducer', () => {
|
|
|
18
18
|
expect(reducer(undefined, {})).toEqual(initialState);
|
|
19
19
|
});
|
|
20
20
|
it('should start polling given POLLING_STARTED', () => {
|
|
21
|
-
expect(
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
expect(
|
|
22
|
+
reducer(initialState, {
|
|
23
|
+
type: JOB_INVOCATIONS_POLLING_STARTED,
|
|
24
|
+
})
|
|
25
|
+
).toEqual(pollingStarted);
|
|
24
26
|
});
|
|
25
27
|
it('should stop polling given JOB_FINISHED', () => {
|
|
26
|
-
expect(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
expect(
|
|
29
|
+
reducer(pollingStarted, {
|
|
30
|
+
type: JOB_INVOCATIONS_JOB_FINISHED,
|
|
31
|
+
payload: { jobInvocations: { job_invocations: [], statuses: {} } },
|
|
32
|
+
})
|
|
33
|
+
).toEqual(initialState);
|
|
30
34
|
});
|
|
31
35
|
it('should receive job invocations given GET_JOB_INVOCATIONS', () => {
|
|
32
|
-
expect(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
expect(
|
|
37
|
+
reducer(pollingStarted, {
|
|
38
|
+
type: JOB_INVOCATIONS_GET_JOB_INVOCATIONS,
|
|
39
|
+
payload: jobInvocationsPayload,
|
|
40
|
+
})
|
|
41
|
+
).toEqual(jobInvocationsReceived);
|
|
36
42
|
});
|
|
37
43
|
});
|
data/webpack/test_setup.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import 'core-js/shim';
|
|
2
2
|
import 'regenerator-runtime/runtime';
|
|
3
3
|
|
|
4
|
-
import { configure } from '
|
|
4
|
+
import { configure } from '@theforeman/test';
|
|
5
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
5
6
|
import Adapter from 'enzyme-adapter-react-16';
|
|
6
7
|
|
|
7
8
|
configure({ adapter: new Adapter() });
|
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: 3.
|
|
4
|
+
version: 3.3.4
|
|
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: 2020-
|
|
11
|
+
date: 2020-07-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: deface
|
|
@@ -90,16 +90,16 @@ dependencies:
|
|
|
90
90
|
name: rubocop
|
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
|
92
92
|
requirements:
|
|
93
|
-
- - "
|
|
93
|
+
- - "~>"
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
|
-
version:
|
|
95
|
+
version: 0.80.0
|
|
96
96
|
type: :development
|
|
97
97
|
prerelease: false
|
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
|
99
99
|
requirements:
|
|
100
|
-
- - "
|
|
100
|
+
- - "~>"
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version:
|
|
102
|
+
version: 0.80.0
|
|
103
103
|
- !ruby/object:Gem::Dependency
|
|
104
104
|
name: rdoc
|
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -127,11 +127,10 @@ files:
|
|
|
127
127
|
- ".babelrc.js"
|
|
128
128
|
- ".eslintignore"
|
|
129
129
|
- ".eslintrc"
|
|
130
|
+
- ".github/workflows/ci.yml"
|
|
130
131
|
- ".gitignore"
|
|
131
|
-
- ".hound.yml"
|
|
132
132
|
- ".rubocop.yml"
|
|
133
133
|
- ".rubocop_todo.yml"
|
|
134
|
-
- ".travis.yml"
|
|
135
134
|
- ".tx/config"
|
|
136
135
|
- Gemfile
|
|
137
136
|
- LICENSE
|
|
@@ -205,6 +204,7 @@ files:
|
|
|
205
204
|
- app/models/template_invocation_input_value.rb
|
|
206
205
|
- app/overrides/execution_interface.rb
|
|
207
206
|
- app/overrides/subnet_proxies.rb
|
|
207
|
+
- app/services/default_proxy_proxy_selector.rb
|
|
208
208
|
- app/services/remote_execution_proxy_selector.rb
|
|
209
209
|
- app/services/ui_notifications/remote_execution_jobs/base_job_finish.rb
|
|
210
210
|
- app/views/api/v2/foreign_input_sets/base.json.rabl
|
|
@@ -238,9 +238,6 @@ files:
|
|
|
238
238
|
- app/views/job_invocations/_card_user_input.html.erb
|
|
239
239
|
- app/views/job_invocations/_description_fields.html.erb
|
|
240
240
|
- app/views/job_invocations/_form.html.erb
|
|
241
|
-
- app/views/job_invocations/_host_actions_td.html.erb
|
|
242
|
-
- app/views/job_invocations/_host_name_td.html.erb
|
|
243
|
-
- app/views/job_invocations/_host_status_td.html.erb
|
|
244
241
|
- app/views/job_invocations/_preview_hosts_list.html.erb
|
|
245
242
|
- app/views/job_invocations/_preview_hosts_modal.html.erb
|
|
246
243
|
- app/views/job_invocations/_rerun_taxonomies.html.erb
|
|
@@ -252,7 +249,7 @@ files:
|
|
|
252
249
|
- app/views/job_invocations/new.html.erb
|
|
253
250
|
- app/views/job_invocations/refresh.js.erb
|
|
254
251
|
- app/views/job_invocations/show.html.erb
|
|
255
|
-
- app/views/job_invocations/show.
|
|
252
|
+
- app/views/job_invocations/show.json.erb
|
|
256
253
|
- app/views/job_invocations/welcome.html.erb
|
|
257
254
|
- app/views/job_templates/_custom_tab_headers.html.erb
|
|
258
255
|
- app/views/job_templates/_custom_tabs.html.erb
|
|
@@ -396,7 +393,24 @@ files:
|
|
|
396
393
|
- test/unit/renderer_scope_input.rb
|
|
397
394
|
- test/unit/targeting_test.rb
|
|
398
395
|
- test/unit/template_invocation_input_value_test.rb
|
|
396
|
+
- webpack/__mocks__/foremanReact/common/I18n.js
|
|
397
|
+
- webpack/__mocks__/foremanReact/components/common/ActionButtons/ActionButtons.js
|
|
398
|
+
- webpack/__mocks__/foremanReact/constants.js
|
|
399
399
|
- webpack/index.js
|
|
400
|
+
- webpack/react_app/components/TargetingHosts/TargetingHosts.js
|
|
401
|
+
- webpack/react_app/components/TargetingHosts/TargetingHostsActions.js
|
|
402
|
+
- webpack/react_app/components/TargetingHosts/TargetingHostsConsts.js
|
|
403
|
+
- webpack/react_app/components/TargetingHosts/TargetingHostsSelectors.js
|
|
404
|
+
- webpack/react_app/components/TargetingHosts/__tests__/HostItem.test.js
|
|
405
|
+
- webpack/react_app/components/TargetingHosts/__tests__/HostStatus.test.js
|
|
406
|
+
- webpack/react_app/components/TargetingHosts/__tests__/TargetingHosts.test.js
|
|
407
|
+
- webpack/react_app/components/TargetingHosts/__tests__/__snapshots__/HostItem.test.js.snap
|
|
408
|
+
- webpack/react_app/components/TargetingHosts/__tests__/__snapshots__/HostStatus.test.js.snap
|
|
409
|
+
- webpack/react_app/components/TargetingHosts/__tests__/__snapshots__/TargetingHosts.test.js.snap
|
|
410
|
+
- webpack/react_app/components/TargetingHosts/__tests__/fixtures.js
|
|
411
|
+
- webpack/react_app/components/TargetingHosts/components/HostItem.js
|
|
412
|
+
- webpack/react_app/components/TargetingHosts/components/HostStatus.js
|
|
413
|
+
- webpack/react_app/components/TargetingHosts/index.js
|
|
400
414
|
- webpack/react_app/components/jobInvocations/AggregateStatus/index.js
|
|
401
415
|
- webpack/react_app/components/jobInvocations/AggregateStatus/index.test.js
|
|
402
416
|
- webpack/react_app/components/jobInvocations/index.js
|