softwarefactory-project-zuul[bot]
4cc947d65d
Merge pull request #8722 from jakemcdermott/fix-8695
...
Handle prompted inventory without value on schedules
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-12-04 14:33:58 +00:00
softwarefactory-project-zuul[bot]
9fc5579a50
Merge pull request #8737 from nixocio/ui_fix_select_translation
...
Add string to translation
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-12-03 17:05:36 +00:00
softwarefactory-project-zuul[bot]
7faf9c6267
Merge pull request #8624 from nixocio/ui_issue_8620
...
Hide instance group for Inventory Details if the data is not available
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-12-03 13:24:05 +00:00
nixocio
8cb9341d8f
Add string to translation
...
Add string to translation.
2020-12-02 16:42:15 -05:00
softwarefactory-project-zuul[bot]
8e024c234c
Merge pull request #8732 from AlanCoding/save_the_hg
...
Change to manual instead of deleting hg projects
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-12-02 15:56:37 +00:00
Alan Rominger
99f3825826
Change to manual instead of deleting hg projects
2020-12-02 09:08:18 -05:00
softwarefactory-project-zuul[bot]
29926ba5d9
Merge pull request #8727 from AlanCoding/mercury_drops
...
Remove mercurial support
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-12-01 22:11:42 +00:00
Alan Rominger
db9fbf1493
Add log for the case that hg projects were deleted
2020-12-01 15:53:55 -05:00
Alan Rominger
590d64f40e
Remove hg updates and projects in migration
2020-12-01 15:38:40 -05:00
Alan Rominger
64fa18cafe
Run the UI prettier tool for CI fix
2020-12-01 14:49:49 -05:00
Alan Rominger
634df240ed
Attempt to fix UI test with hg,svn replacement
2020-12-01 14:25:11 -05:00
Alan Rominger
44e6e9344b
Remove mercurial support
2020-12-01 14:06:34 -05:00
nixocio
4b5b95a0f8
Hide instance group for Inventory Details if the data is not available
...
Hide instance group for Inventory Details if the data is not available.
This is the the same approach used in other details screens.
See: https://github.com/ansible/awx/issues/8620
2020-12-01 13:10:24 -05:00
softwarefactory-project-zuul[bot]
f5e1f2ed14
Merge pull request #8710 from wenottingham/herein-lies-the-extent-of-my-radius-knowledge
...
Remove old radius library from requirements
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-12-01 18:07:35 +00:00
softwarefactory-project-zuul[bot]
c232289323
Merge pull request #8534 from tapled/update-helm-chart-location
...
Updated Helm Chart Location
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-12-01 17:07:46 +00:00
Jake McDermott
db8c56caf4
Handle prompted inventory without value on schedules
2020-12-01 11:53:19 -05:00
softwarefactory-project-zuul[bot]
62be4defa2
Merge pull request #8719 from ryanpetrello/tzid-support
...
correct a note about TZID support
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-12-01 14:58:28 +00:00
softwarefactory-project-zuul[bot]
cb590be095
Merge pull request #8718 from chrismeyersfsu/fix-inv_migration
...
add missing imports
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-12-01 14:49:07 +00:00
Ryan Petrello
72c3339719
correct a note about TZID support
2020-12-01 09:10:03 -05:00
softwarefactory-project-zuul[bot]
7ca35634a7
Merge pull request #8633 from marshmalien/refactor-project-functional
...
Fix notification list toolbar filter keys and convert Project/* to functional components
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-12-01 13:52:22 +00:00
Chris Meyers
4ab4f2f8f9
add missing imports
2020-12-01 08:40:18 -05:00
Marliana Lara
3e64e8225a
Add ouiaIds to Select component
2020-11-30 16:13:35 -05:00
softwarefactory-project-zuul[bot]
b65d9ede81
Merge pull request #8323 from AlanCoding/prepare_your_containers
...
Refactor to hook in programmatic use of inventory import saving-to-DB code
Reviewed-by: Jim Ladd
https://github.com/jladdjr
2020-11-30 20:41:58 +00:00
Bill Nottingham
12edbdab11
Remove old radius library from requirements
...
If it's not required by django-radius, we probably don't need it.
2020-11-30 15:12:52 -05:00
softwarefactory-project-zuul[bot]
fcdb38469b
Merge pull request #8700 from jerosa/patch-1
...
Add Git-LFS to build image
Reviewed-by: Bill Nottingham
https://github.com/wenottingham
2020-11-30 19:40:06 +00:00
Alan Rominger
900127fde7
Fix bug in inventory update canceling
2020-11-30 14:39:02 -05:00
softwarefactory-project-zuul[bot]
ffb2198eab
Merge pull request #8594 from nixocio/ui_issue_8276
...
Mark organization as a required field for Galaxy crendentials
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-11-30 18:44:56 +00:00
softwarefactory-project-zuul[bot]
503a753241
Merge pull request #8672 from wenottingham/if-you-are-sneakerneting-does-it-become-a-pedifest
...
Allow combining multiple subscriptions if they are in a manifest.
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-11-30 18:30:11 +00:00
Alan Rominger
7734def856
Fix inventory log timestamp, organize logging code
...
The fixes and issue where the timestaps in the stdout for
inventory updates gave the time since the start of the dispatcher
instead of the time since the start of the update.
This commit also moves the handler into the utils module where
other custom AWX handlers live, instead of tasks.py
this is to keep tasks.py relatively clean, as best as possible
2020-11-30 11:36:16 -05:00
Alan Rominger
d6e84b54c9
Some fixes for line numbering, and fixes for license error handling ( #8 )
...
* Change handling of error cases to global post_run_hook
* handle license errors correctly again
* Fix some issues with line ordering from the custom logger thing
* Remove debug log statement
* Use PermissionDenied for license errors
* More elegant handling of line initialization
Update tests to new exception type
Catch all save errors, fix timing offset bug
Fix license error handling inside import command
2020-11-30 11:35:33 -05:00
Alan Rominger
ec93af4ba8
Not all license errors are caught, do not assume they are
2020-11-30 11:35:32 -05:00
Jim Ladd
197d50bc44
patch test_inventory_update_injected_content
...
* proot now enabled at task-level
since tasks are no longer calling
awx-manage (which would set up its own proot)
* dropping proot env var since it's not
relevant to the test
2020-11-30 11:35:32 -05:00
Jim Ladd
5ad60a3ed4
use inventory_id to get advisory_lock
2020-11-30 11:35:32 -05:00
Jim Ladd
38638b4a6b
add note to remove private_dir when proot removed
2020-11-30 11:35:32 -05:00
Jim Ladd
232801e0ba
cache end_line for RunInventoryUpdate jobs
2020-11-30 11:35:32 -05:00
Jim Ladd
d55f36eb90
add clarifying comment
...
* noting that the inv update task only uses the
inventory update management command to
save the inv to the database
(it doesn't do the work of fetching hosts / groups)
2020-11-30 11:35:31 -05:00
Jim Ladd
277c47ba4e
add TODO reminders to remove proot / venv code
...
* won't be needed once we move to container-based
execution
2020-11-30 11:35:31 -05:00
Jim Ladd
12cbc9756b
inventory updates should use custom venv
2020-11-30 11:35:31 -05:00
Jim Ladd
72df8723f6
lint
2020-11-30 11:35:31 -05:00
Jim Ladd
a8710bf2f1
restore proot for inventory updates
...
- in the past, inv. update jobs called `awx-manage inventory_update`
which took care of setting up process isolation
- at this point, though, inv. update jobs call runner / ansible-inventory
directly, so we need another way to put process isolation in place
- thankfully, there was already support for providing process isolation
for other types of jobs (namely JT Jobs, Project Updates and Ad Hoc
commands)
- so, we do what those other jobs do and override the stub for should_use_proot
(which by default returns false) so that it keys off of the
`AWX_PROOT_ENABLED` setting
2020-11-30 11:35:31 -05:00
Jim Ladd
4bdc488fe7
restore proot code
...
* add TODOs to note where proot-related code
can be removed in the future
(after moving to container-based execution)
2020-11-30 11:35:31 -05:00
Jim Ladd
9633714c49
create lock for perform_update
...
* perform_update can be called from either awx-manage
or the RunInventoryUpdate task
* need to make sure that the inventory updates
that happen with perform_update are atomic
2020-11-30 11:35:31 -05:00
Shane McDonald
66bdcee854
Address rebase fallout
2020-11-30 11:35:31 -05:00
Shane McDonald
e61f79c8c3
Fix tests
2020-11-30 11:35:30 -05:00
Alan Rominger
96fc38d182
Swap in-memory logger to write stdout in post_save_hook
...
This commit makes the needed changes to inventory update
post_save_hook logic so that the historic log lines that
inventory updates write will be written to stdout,
but this hack bypasses the ansible-runner verbose event
logic and dispatches verbose events directly.
Fix the venv application with the ansible-inventory system
(note: much of this is undone in a later commit)
Deal with some minor test updates for
the ansible-inventory interface changes
2020-11-30 11:32:26 -05:00
Alan Rominger
ae9ae14e5a
Migrate inventory CLI options to programatic interface
...
POC, successfully importing with this commit
Attempt to surface saving related errors as a part of that
2020-11-30 11:31:38 -05:00
Alan Rominger
39fa70c58b
Start on refactor to hook in inventory programatic use
2020-11-30 11:28:49 -05:00
nixocio
4f132e302f
Mark organization as a required field for Galaxy crendentials
...
Mark organization as a required field for Galaxy credential type.
See: https://github.com/ansible/awx/issues/8276
2020-11-30 11:27:06 -05:00
softwarefactory-project-zuul[bot]
a45f586599
Merge pull request #8655 from mabashian/8606-adhoc-detail-cred
...
Display machine credential in job details when present
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-11-30 14:09:28 +00:00
softwarefactory-project-zuul[bot]
170e64070b
Merge pull request #8659 from mabashian/7989-group-action-buttons
...
Hide edit/delete buttons on group details view for users that don't have permissions
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-11-30 13:37:35 +00:00