Seth Foster
ff118f2177
Manage pending workflow jobs in Workflow Manager
...
get_tasks uses UnifiedJob
Additionally, make local overrides run after development settings
2022-08-05 14:31:48 -04:00
Elijah DeLee
29d91da1d2
we can do all the work in one loop
...
more than saving the loop, we save building the WorkflowDag twice which
makes LOTS of queries!!!
Also, do a bulk update on the WorkflowJobNodes instead of saving in a
loop :fear:
2022-08-05 14:31:48 -04:00
Elijah DeLee
ad08eafb9a
add debug views for task manager(s)
...
implement https://github.com/ansible/awx/issues/12446
in development environment, enable set of views that run
the task manager(s).
Also introduce a setting that disables any calls to schedule()
that do not originate from the debug views when in the development
environment. With guards around both if we are in the development
environment and the setting, I think we're pretty safe this won't get
triggered unintentionally.
use MODE to determine if we are in devel env
Also, move test for skipping task managers to the tasks file
2022-08-05 14:31:24 -04:00
Seth Foster
431b9370df
Split TaskManager into
...
- DependencyManager spawns dependencies if necessary
- WorkflowManager processes running workflows to see if a new job is
ready to spawn
- TaskManager starts tasks if unblocked and has execution capacity
2022-08-05 14:29:02 -04:00
dependabot[bot]
a05c328081
Bump prop-types from 15.7.2 to 15.8.1 in /awx/ui
...
Bumps [prop-types](https://github.com/facebook/prop-types ) from 15.7.2 to 15.8.1.
- [Release notes](https://github.com/facebook/prop-types/releases )
- [Changelog](https://github.com/facebook/prop-types/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/prop-types/compare/v15.7.2...v15.8.1 )
---
updated-dependencies:
- dependency-name: prop-types
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-03 16:09:07 +00:00
Alex Corey
6d9e353a4e
Merge pull request #12603 from ansible/dependabot/npm_and_yarn/awx/ui/devel/rrule-2.7.1
...
Bump rrule from 2.7.0 to 2.7.1 in /awx/ui
2022-08-03 12:06:51 -04:00
dependabot[bot]
a0e9c30b4a
Bump luxon from 2.4.0 to 3.0.1 in /awx/ui
...
Bumps [luxon](https://github.com/moment/luxon ) from 2.4.0 to 3.0.1.
- [Release notes](https://github.com/moment/luxon/releases )
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moment/luxon/compare/2.4.0...3.0.1 )
---
updated-dependencies:
- dependency-name: luxon
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-01 08:11:23 +00:00
dependabot[bot]
bc94dc0257
Bump rrule from 2.7.0 to 2.7.1 in /awx/ui
...
Bumps [rrule](https://github.com/jakubroztocil/rrule ) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/jakubroztocil/rrule/releases )
- [Changelog](https://github.com/jakubroztocil/rrule/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jakubroztocil/rrule/compare/v2.7.0...v2.7.1 )
---
updated-dependencies:
- dependency-name: rrule
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-01 08:10:38 +00:00
Keith Grant
86a67abbce
Merge pull request #12531 from jtmelhorn/devel
...
[#12478 ] Change Inventory "Status" column header to "Sync Status"
2022-07-29 15:50:08 -07:00
Keith Grant
d555093325
Fix job output follow mode & scrolling ( #12555 )
...
* reworks/fixes follow mode
* reduces batch size for better job output perceived performance
* improves job output scroll button behavior
2022-07-28 15:26:25 -04:00
John Westcott IV
95a099acc5
Adding remove_superuser and remove_system_auditors to the SAML user attribute map ( #12522 )
2022-07-28 14:38:16 -04:00
Rick Elrod
87f729c642
[FieldLookupBackend] limit iexact to string fields ( #12569 )
...
Change:
- Case-insensitive search only makes sense on strings, so check the
type of the field we are searching and ensure it is a string field
(TextField, CharField, or some subclass thereof).
- This prevents a 500 error when a user uses iexact on, e.g., an
integer field. Now, a 400 Bad Request is returned instead.
Test Plan:
- Added simple unit tests for iexact
Tickets:
- Fixes #9222
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-07-26 12:46:50 -05:00
John Westcott IV
62fc3994fb
Modifying SAML adapter to not auto-add default galaxy creds to orgs on login ( #12504 )
...
* Modifying SAML adapter to not auto-add default galaxy creds to orgs on login
* Adding test, fixing old tests and moving add_default_galaxy_credential to pipeline
2022-07-25 17:16:22 -03:00
Jessica Steurer
1ce8240192
Merge pull request #12528 from vedaperi/12436-RemoveUpdateOnProjectUpdate
...
Remove update_on_project_update
2022-07-20 16:14:23 -03:00
vedaperi
71925de902
Enhanced detail component ( #12432 )
...
* Enhanced detail component to handle cases with no values, and refactored components that use detail component.
* Add optional chaining operators where necessary to pass test cases
* add test cases to test suites of modified files
Co-authored-by: Veda Periwal <vperiwal@vperiwal-mac.attlocal.net >
2022-07-19 17:17:27 -04:00
Aditya Mulik
ae388d943d
Merge pull request #12541 from adityamulik/translations_updated_2022-07-18_20_51_59
...
Pushing updated strings for localization
2022-07-19 16:39:44 -04:00
Alan Rominger
2d310dc4e5
Optimize object creation by getting fewer empty relationships ( #12508 )
...
This optimizes the ActivityStreamSerializer by only getting many-to-many
relationships that are speculatively non-empty
based on information we have in other fields
We run this every time we create an object as an on_commit action
so it is expected this will have a major impact on response times for launching jobs
2022-07-19 14:27:51 -04:00
adityamulik
8c6581d80a
Pushing updated strings for localization
2022-07-18 20:52:59 -04:00
Kia Lam
9bcb60d9e0
Remove d3 csp declaration.
2022-07-18 08:57:03 -07:00
Kia Lam
40109d58c7
Host d3 files needed for webworker.
2022-07-18 08:57:02 -07:00
Kia Lam
2ef3f5f9e8
Remove external script call to D3.js.
2022-07-18 08:57:02 -07:00
John Westcott IV
389c4a3180
Adding fields to job_metadata for workflows and approval nodes ( #12255 )
2022-07-18 16:53:49 +02:00
Justin Melhorn
bee48671cd
[ #12478 ] Change Inventory "Status" column header to "Sync Status"
...
Signed-off-by: Justin Melhorn <jtmelhorn@gmail.com >
2022-07-17 16:38:24 -04:00
Veda Periwal
21f551f48a
Remove update_on_project_update from inventory sources form and corresponding files
2022-07-15 11:18:16 -07:00
Alex Corey
cbb019ed09
Merge pull request #12510 from AlexSCorey/11822-JobOutputDocumentation-Overview
...
Adds Overview of job output with some images to help.
2022-07-15 10:52:47 -04:00
Alex Corey
bf5dfdaba7
Adds Overview of job output with some images to help.
2022-07-15 10:32:41 -04:00
Lila
aeffd6f393
Bumped up version number of the collector.
2022-07-13 09:59:41 -04:00
djyasin
ab6b4bad03
Merge branch 'ansible:devel' into devel
2022-07-13 09:53:22 -04:00
Michael Abashian
8031b3d402
Translate contents of Hosts Automated field as a single string ( #12480 )
...
* Translate contents of Hosts Automated field as a single string
* Adds unit test case for hiding Hosts automated detail when no value is present
2022-07-12 15:24:33 -04:00
John Westcott IV
37ff9913d3
Adding GOOGLE_APPLICATION_CREDENTIALS env var ( #12389 )
...
* Adding GOOGLE_APPLICATION_CREDENTIALS env var
* Updating tests
2022-07-12 08:51:02 -04:00
Alex Corey
22ca49e673
Merge pull request #12493 from AlexSCorey/bumpCodeMirror
...
Bump code mirror
2022-07-11 09:43:54 -04:00
Alex Corey
8d4089c7f3
Bumps code mirror and adds license files
2022-07-08 15:09:54 -04:00
vedaperi
e296d0adad
Add Help Text with documentation link to Schedules page ( #12448 )
...
* Added help text to schedule form and detail with link to documentation
* Added test cases for help text in schedule form and detail
* Add help text to schedule form and detail with link to documentation
Co-authored-by: Veda Periwal <vperiwal@vperiwal-mac.attlocal.net >
2022-07-08 15:06:50 -04:00
Alex Corey
401b30b3ed
Merge pull request #12451 from ansible/dependabot/npm_and_yarn/awx/ui/devel/patternfly/patternfly-4.202.1
...
Bump @patternfly/patternfly from 4.196.7 to 4.202.1 in /awx/ui
2022-07-08 08:13:30 -04:00
dependabot[bot]
e6ec0952fb
Bump @patternfly/patternfly from 4.196.7 to 4.202.1 in /awx/ui
...
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly ) from 4.196.7 to 4.202.1.
- [Release notes](https://github.com/patternfly/patternfly/releases )
- [Changelog](https://github.com/patternfly/patternfly/blob/main/RELEASE-NOTES.md )
- [Commits](https://github.com/patternfly/patternfly/compare/prerelease-v4.196.7...prerelease-v4.202.1 )
---
updated-dependencies:
- dependency-name: "@patternfly/patternfly"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-06 20:03:52 +00:00
dependabot[bot]
db1dec3a98
Bump @patternfly/react-icons from 4.49.19 to 4.75.1 in /awx/ui
...
Bumps [@patternfly/react-icons](https://github.com/patternfly/patternfly-react ) from 4.49.19 to 4.75.1.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@4.49.19...@patternfly/react-icons@4.75.1 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-icons"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-06 20:03:40 +00:00
Lila
1e57c84383
Added forks to unified jobs table.
...
Co-authored-by: sarabrajsingh <singh.sarabraj@gmail.com >
2022-07-01 10:30:48 -04:00
dependabot[bot]
3cf120c6a7
Bump @patternfly/react-table from 4.83.1 to 4.93.1 in /awx/ui
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 4.83.1 to 4.93.1.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.83.1...@patternfly/react-table@4.93.1 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-01 08:06:59 +00:00
Alan Rominger
fd671ecc9d
Give specific messages if job was killed due to SIGTERM or SIGKILL ( #12435 )
...
* Reap jobs on dispatcher startup to increase clarity, replace existing reaping logic
* Exit jobs if receiving SIGTERM signal
* Fix unwanted reaping on shutdown, let subprocess close out
* Add some sanity tests for signal module
* Add a log for an unhandled dispatcher error
* Refine wording of error messages
Co-authored-by: Elijah DeLee <kdelee@redhat.com >
2022-06-30 13:20:08 -04:00
Shane McDonald
a0d5f1fb03
Merge pull request #12428 from djyasin/updating_setuppy
...
Updated setup.py --version to python3 -m setuptools_scm.
2022-06-30 12:17:54 -04:00
Alex Corey
ff882a322b
Merge pull request #12412 from AlexSCorey/11994-FailedJobErrorMessage
...
Adds a failure message to job output when job failed and no events exist
2022-06-29 11:40:44 -04:00
Alex Corey
93d1aa0a9d
Adds a failure message to job output when job failed and no events exist.
2022-06-28 18:30:37 -04:00
Alex Corey
c586f8bbc6
Removes references to Ansible Tower in favor of Ansible Controller ( #12422 )
2022-06-28 14:35:32 -04:00
Alex Corey
26912a06d1
Merge pull request #12424 from AlexSCorey/11433-UpdateLaunchButtonTest
...
Updates irrelevant test
2022-06-28 14:31:26 -04:00
Alex Corey
218a3d333b
updates test
2022-06-28 14:14:12 -04:00
Seth Foster
d2013bd416
Merge pull request #12366 from fosterseth/remove_update_on_project_update
...
Remove deprecated field update_on_project_update
2022-06-28 13:15:57 -04:00
Shane McDonald
cbea36745e
Transition from setup.py to setup.cfg
2022-06-27 13:30:01 -04:00
Jeff Bradberry
ae7be525e1
Fix a ugettext deprecation that snuck back in
...
at some point after the Django 3.2 upgrade.
2022-06-27 13:27:35 -04:00
jainnikhil30
5062ce1e61
add database connection to the metrics endpoint ( #12427 )
...
* add database connection to the metrics endpoint
* bump the counts collector version to 1.2
* check for postgresql as database so to not break the tests
2022-06-27 09:37:23 -04:00
Alex Corey
566665ee8c
Merge pull request #12417 from ansible/dependabot/npm_and_yarn/awx/ui/devel/patternfly/react-core-4.221.3
...
Bump @patternfly/react-core from 4.214.1 to 4.221.3 in /awx/ui
2022-06-27 09:36:58 -04:00