1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 06:51:10 +03:00
Commit Graph

20718 Commits

Author SHA1 Message Date
John Hill
2f7ec6ff13 adding a markerfile for e2e runs 2019-04-23 16:01:45 -04:00
Ryan Petrello
231c76c9cb
Merge pull request #3490 from jakemcdermott/fix-3487
handle insights credential lookups for projects
2019-04-23 12:08:43 -04:00
Jake McDermott
311daf10b8
handle insights credential lookups for projects
Although most scm types correspond to an scm credential lookup, insights uses its own
credential type.
2019-04-23 11:44:03 -04:00
Ryan Petrello
96183cf9c4
Merge pull request #3484 from ansible/insights-integration
Insights integration
2019-04-23 10:05:00 -04:00
Jeff Bradberry
0b555e938a Fix typo in the Insights inventory url 2019-04-23 09:39:08 -04:00
Jeff Bradberry
6ff539e6ee Update the front-end Insights urls 2019-04-22 14:17:47 -04:00
Jeff Bradberry
49ba6c6b3d Appease flake8 2019-04-22 14:17:47 -04:00
Jeff Bradberry
e2861c6c39 Fix the tests to conform to the new Insights results 2019-04-22 14:17:47 -04:00
Jeff Bradberry
6dae4a1d6d Add the host in as a parameter to the _get_insights call 2019-04-22 14:17:47 -04:00
Jeff Bradberry
e66f9241a9 Remove the platform_id from the call to _get_insights
since it is now acquired within _get_insights.
2019-04-22 14:17:47 -04:00
Jeff Bradberry
72da961550 Conform to the new output of the Insights system reports endpoint 2019-04-22 14:17:47 -04:00
Jeff Bradberry
4c86c5065c Fix a typo in the per-system remediations api call 2019-04-22 14:17:47 -04:00
Jeff Bradberry
80a855c57a Do some basic slugification of the remediation playbook name 2019-04-22 14:17:47 -04:00
Jeff Bradberry
11b85250e8 Update more urls 2019-04-22 14:17:47 -04:00
Jeff Bradberry
10cfac2f0e Update the error message when we can't discover the platform ID 2019-04-22 14:17:47 -04:00
Jeff Bradberry
355a83441a Guard against the case where Insights fails to find the system ID 2019-04-22 14:17:47 -04:00
Jeff Bradberry
e25adca233 Replace the old unit tests with new functional tests 2019-04-22 14:17:47 -04:00
Jeff Bradberry
7c743904b0 Removed some no longer needed imports 2019-04-22 14:17:47 -04:00
Jeff Bradberry
a97865de0c Refactor HostInsights
for better reuse of the error handling of the Insights API calls.
2019-04-22 14:17:47 -04:00
Jeff Bradberry
596a5173ce Modify filter_insights_api_response to take in the separate remediations
since it is accumulated via a different API call.
2019-04-22 14:17:47 -04:00
Jeff Bradberry
63209197dd Iterate over the pages of remediations available 2019-04-22 14:17:47 -04:00
Jeff Bradberry
af2484cd97 Update the Insights API urls to use the new url structure 2019-04-22 14:17:47 -04:00
Jeff Bradberry
f01a936202 Update the test for filter_insights_api_response()
and fix the data nesting issue that it uncovered.
2019-04-22 14:17:47 -04:00
Jeff Bradberry
05f670a6d9 Update the filter_insights_api_response() utility function
in order to conform the output of the new Insights Advisor report
endpoint to our expections.
2019-04-22 14:17:47 -04:00
Jeff Bradberry
f4b0910e98 Call out to the Insights API to get the Platform ID for a host
Since the new reports endpoint requires that, rather than the Insights
system ID that we've been using (and storing on the Host model).
2019-04-22 14:17:47 -04:00
Jeff Bradberry
95b17892ee Factor out the response handling boilerplate from HostInsights.get_insights
We'll want to reuse it for the API call to /hosts as well.
2019-04-22 14:17:47 -04:00
Jeff Bradberry
8fdc53cb21 Update the Insights API endpoint for getting the reports for a host 2019-04-22 14:17:47 -04:00
Jeff Bradberry
04521f5c5c Update the Insights action plugin to make calls against the new API 2019-04-22 14:17:47 -04:00
softwarefactory-project-zuul[bot]
864fef4f29
Merge pull request #3748 from ryanpetrello/pin-runner-133
pin runner to 1.3.3

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-22 17:28:16 +00:00
Ryan Petrello
787e369bcf
pin runner to 1.3.3 2019-04-22 12:57:55 -04:00
softwarefactory-project-zuul[bot]
805a0c7a9a
Merge pull request #3730 from jbradberry/manage-org-resource-roles
Adjust the access logic for settings.MANAGE_ORGANIZATION_AUTH = False

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-22 16:44:05 +00:00
softwarefactory-project-zuul[bot]
c80a5e2164
Merge pull request #3747 from ryanpetrello/d-d-d-danger-zone
add a loud warning about perf regressions to tasks.py

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-22 15:25:46 +00:00
Ryan Petrello
eb0463890c
add a loud warning about perf regressions to tasks.py 2019-04-22 10:26:58 -04:00
softwarefactory-project-zuul[bot]
f6076052bd
Merge pull request #3737 from wenottingham/computing-is-deprecated--tell-your-friends
Deprecate a bunch of inventory computed fields.

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-18 21:11:50 +00:00
softwarefactory-project-zuul[bot]
23ea419aa9
Merge pull request #3724 from ansible/spinnycheck
prevent flake for user e2e

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-18 20:47:00 +00:00
Daniel Sami
b084622c9e prevent flake for user e2e 2019-04-18 16:25:35 -04:00
Bill Nottingham
ef7e1afa34 Add migrations for field names. 2019-04-18 15:39:47 -04:00
softwarefactory-project-zuul[bot]
be86086134
Merge pull request #3739 from elyezer/update-jobs-portal-e2e
Update jobs portal list actions e2e

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-18 19:30:56 +00:00
Elyézer Rezende
a06d2946b6 Update jobs portal list actions e2e 2019-04-18 15:09:29 -04:00
Jeff Bradberry
0ba87c9729 Add more test checks for the alternate code path to the role checks 2019-04-18 14:53:19 -04:00
Jeff Bradberry
41b476544d Improve test coverage of attaching a user to an organization 2019-04-18 13:35:35 -04:00
softwarefactory-project-zuul[bot]
97a6255531
Merge pull request #3736 from ryanpetrello/red-means-loud-on-the-internet
make deprecation warnings at /api/ much more obvious

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-18 17:05:33 +00:00
Ryan Petrello
4159a9b6af
make deprecation warnings at /api/ much more obvious 2019-04-18 12:32:49 -04:00
softwarefactory-project-zuul[bot]
798bc4b8de
Merge pull request #3734 from wenottingham/sqlitis-is-bad
remove sqlite db, add it to .gitignore

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-18 16:28:40 +00:00
Bill Nottingham
6adf4ca2c1 Deprecate a bunch of inventory computed fields.
Cribbed from https://github.com/ansible/awx/pull/3281/
2019-04-18 12:12:50 -04:00
softwarefactory-project-zuul[bot]
8cc18f501e
Merge pull request #3733 from ryanpetrello/dashboard-deprecation
deprecate /api/v2/dashboard in favor of /api/v2/metrics

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-18 16:09:19 +00:00
Bill Nottingham
63049fe99d remove sqlite db, add it to .gitignore 2019-04-18 12:03:04 -04:00
Ryan Petrello
d6ecb486d2
deprecate /api/v2/dashboard in favor of /api/v2/metrics 2019-04-18 11:45:37 -04:00
softwarefactory-project-zuul[bot]
87d55b13bc
Merge pull request #3549 from vismay-golwala/verify_venv_on_launch
Validate virtual environment while running a job/inventory update

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-18 12:31:25 +00:00
Vismay Golwala
5d570a017a
Validate virtual environment while running a job/inventory update
Currently we only check the custom virtual environment path when
it's created. However, to tackle with the case when the venv might
have been changed/deleted afterward, we need to validate it at
run-time too.

Signed-off-by: Vismay Golwala <vgolwala@redhat.com>
2019-04-18 08:09:49 -04:00