Alex Corey
26a947ed31
Adds functionality to add multiple rrules to a schedule and save the form
2023-01-09 09:27:47 -05:00
Shane McDonald
b99a434dee
Merge pull request #13395 from shanemcd/pin-rsyslog
...
Pin rsyslog to avoid crash
2023-01-04 21:54:34 +08:00
Shane McDonald
6cee99a9f9
Pin rsyslog to prevent crash
...
With the latest version of rsyslog we had a test failing with:
AssertionError: Response data: {'error': "b'rsyslog internal message (3,-2455): could not transfer the specified internal posix capabilities settings to the kernel, capng_apply=-5\\n [v8.2102.0-107.el9 try https://www.rsyslog.com/e/2455 ]\\n'"}
Downgrading fixes it
2023-01-04 08:19:20 -05:00
Seth Foster
ee509aea56
Merge pull request #12961 from fosterseth/fix_results_traceback
...
Result_traceback should not include job stdout
2023-01-03 13:34:23 -05:00
Sarah Akus
b5452a48f8
Merge pull request #13196 from keithjgrant/13189-job-traceback
...
Fix job error traceback in job output
2023-01-03 11:59:58 -05:00
Seth Foster
0c980fa7d5
Merge pull request #13366 from fosterseth/bump_receptorctl_1.3.0
...
bump receptorctl version to 1.3.0
2022-12-21 16:27:25 -05:00
Shane McDonald
e34ce8c795
Merge pull request #13365 from dsavineau/downgrade_hiredis
...
Pin hiredis to 2.0.0
2022-12-21 15:23:15 -05:00
Seth Foster
3543644e0e
bump receptorctl version to 1.3.0
2022-12-21 13:36:11 -05:00
Seth Foster
36c0d07b30
Result_traceback should not include job stdout
...
If a job fails, we do receptor work results and put that output
into result_traceback.
We should only do this if
1. Receptor unit has failed
2. Runner callback processed 0 events
Otherwise we risk putting too much data into this field.
2022-12-21 13:05:44 -05:00
Dimitri Savineau
239827a9cf
Pin hiredis to 2.0.0
...
The hiredis 2.1.0 release doesn't provide source distribution on PyPi so
users can't build that python package from sources.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2022-12-21 11:57:41 -05:00
Alan Rominger
ac9871b36f
Merge pull request #13361 from relrod/sanity
...
[collection] Run sanity tests outside of our container
2022-12-21 11:00:21 -05:00
Alan Rominger
f739908ccf
Add comment about Ansible-core being installed by default
...
Co-authored-by: John R Barker <john@johnrbarker.com>
2022-12-21 09:57:00 -05:00
Alan Rominger
cf1ec07eab
Changes to run sanity tests locally
...
Use a Makefile arg for the ansible-test sanity CLI args
defaults to --docker
in the future we probably need to customize python versions
Copy the rule exception for Ansible 2.15
this helps people who are running from Ansible devel
2022-12-21 09:53:22 -05:00
Rick Elrod
d968b648de
Run sanity tests outside of our container
...
Also just ignore one sanity test for the export module, instead of
ignoring all of them.
Also use latest ansible-test, and make it work on GHA (by using podman
instead of docker).
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-12-20 21:40:41 -06:00
Rick Elrod
5dd0eab806
Pin channels-redis to 4.3.1 to fix an async issue ( #13348 )
...
Refs django/channels_redis#332
Refs #13313
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-12-20 17:05:44 -06:00
Alan Rominger
41f3f381ec
Merge pull request #13352 from AlanCoding/dont_pass_subtasks
...
Remove `subtasks` keyword arg that can exceed pg_notify max message length
2022-12-20 16:25:39 -05:00
Alan Rominger
ac8cff75ce
Run collection sanity tests in CI ( #13356 )
...
* Run collection sanity tests in CI
This requires adding a Makefile install of ansible-core
Fake the version to make semver check happy
* Fixes from ansible-test sanity failures
* Exclude the export module due to awxkit requirement
* Fix broken ansible-test rule exceptions
remove Ansible 2.14 exclusions that make ansible-test ERROR, saying they are not needed
2022-12-20 16:06:25 -05:00
Alan Rominger
94b34b801c
Avoid unbounded kwargs by fetching subtasks inside handle_work_error
...
Update tests to new handle_work_error call pattern
Handle blame correctly with multiple serial deps
add new test case corresponding to this scenario
2022-12-19 16:02:51 -05:00
Jeff Bradberry
8f6849fc22
Include listener_port in the defaults for Instance.objects.register ( #13328 )
2022-12-19 14:16:05 -03:00
Sarah Akus
821b1701bf
Merge pull request #13340 from gamuniz/change_wf_scmbranch_behavior
...
Change workflow create/edit to null scm_branch when not provided.
2022-12-19 10:52:21 -05:00
John Westcott IV
b7f2825909
Throw a warning if custom secret key was specified but not given ( #13128 )
...
* Throw a warning if custom secret key was specified but not given
* Fixing unit tests
2022-12-17 14:15:27 -03:00
Jeff Bradberry
e87e041a2a
Break up and conditionally add the RBAC checks for ActivityStream ( #13279 )
...
This should vastly improve the queries executed when accessing any of
the activity stream endpoints as a normal user, in many cases.
2022-12-16 15:11:14 -03:00
Gabe Muniz
cc336e791c
fix expected test result
2022-12-16 12:30:57 -05:00
Gabe Muniz
c2a3c3b285
The current behavior of workflow job templates is to pass in an empty string as scm_branch on allsaves and edits. This becomes problematic when using job templates/workflows which allow prompt on launch for scm_branch as it may override the scm_branch set for the individual workflow nodes to an empty string. That behavior limits the usefulness of prompting scm branch as it can no longer by selected while creating workflows as they'll be overwritten.
2022-12-16 12:30:57 -05:00
Jeff Bradberry
7b8dcc98e7
Merge pull request #13308 from jbradberry/rebuild-org-ee-admin-roles
...
Ensure that the Organization.execution_environment_admin_role always gets built
2022-12-16 11:29:20 -05:00
Satoe Imaishi
d5011492bf
Merge pull request #13343 from simaishi/add_pkgconfig
...
Add back pkgconfig for offline build
2022-12-16 08:07:38 -05:00
Satoe Imaishi
e363ddf470
Add back pkgconfig for offline build
2022-12-15 20:49:28 -05:00
Shane McDonald
987709cdb3
Merge pull request #13344 from shanemcd/fix-tox
...
Remove unneeded pass_env in tox config
2022-12-15 20:02:31 -05:00
Shane McDonald
f04ac3c798
Remove unneeded pass_env in tox config
...
I don't recall us ever using Travis so I'm not sure why this is here.
https://tox.wiki/en/latest/changelog.html#v4-0-6-2022-12-10
2022-12-15 19:44:02 -05:00
Jake Jackson
71a6baccdb
Fix lookup plugins sanity ( #13238 )
...
* fix pytz
* fix NameError
* fix tests and add sanity ignore files for import test until distutils replaced
* change static method to regular method and update test to instantiate class
2022-12-15 16:40:51 -05:00
Alan Rominger
d07076b686
Merge pull request #13330 from AlanCoding/ask_me_for_tags
...
Fill in rest of ask_tags handling for WFJT module
2022-12-15 10:59:17 -05:00
John Westcott IV
7129f3e8cd
Updating python3-saml ( #13263 )
...
Moved to forked version to get latest lxml to allow other pacakges to update
2022-12-15 12:15:09 -03:00
Julen Landa Alustiza
df61a5cea1
Merge pull request #13126 from infamousjoeg/cyberark-ccp-branding-webserviceid
...
CyberArk Central Credential Provider Lookup custom Web Service ID & update branding
2022-12-15 15:54:35 +01:00
Ilija Matoski
a4b950f79b
Set AWS_SESSION_TOKEN in addition to AWS_SECURITY_TOKEN ( #13297 )
...
* Set AWS_SESSION_TOKEN in addition to AWS_SECURITY_TOKEN
* added AWS_SESSION_TOKEN to inventoryupdate-1 test
2022-12-15 10:09:40 -03:00
Sarah Akus
8be739d255
Merge pull request #13306 from vidyanambiar/aap-7507
...
Fixes 'Not Found' error on looking up credentials
2022-12-14 16:13:55 -05:00
John Westcott IV
ca54195099
Merge pull request #13324 from mannyci/devel
...
Fix typo in controller_api lookup plugin
2022-12-14 15:19:53 -05:00
Alex Corey
f0fcfdde39
Merge pull request #13257 from ansible/dependabot/npm_and_yarn/awx/ui/devel/luxon-3.1.1
...
Bump luxon from 3.0.3 to 3.1.1 in /awx/ui
2022-12-14 09:19:47 -05:00
Alex Corey
80b1ba4a35
Merge pull request #13259 from ansible/dependabot/npm_and_yarn/awx/ui/devel/patternfly/react-core-4.264.0
...
Bump @patternfly/react-core from 4.250.1 to 4.264.0 in /awx/ui
2022-12-14 09:13:32 -05:00
Alan Rominger
51f8e362dc
Add tags prompt to integration test
2022-12-14 09:10:15 -05:00
Sarah Akus
737d6d8c8b
Merge pull request #13329 from akus062381/add-new-triage-reply
...
add new triage reply
2022-12-13 16:45:16 -05:00
Alan Rominger
beaf6b6058
Fill in rest of ask_tags handling for WFJT module
2022-12-13 16:38:25 -05:00
akus062381
aad1fbcef8
add new triage reply
2022-12-13 16:17:42 -05:00
Rick Elrod
0b96d617ac
Fix BROADCAST_WEBSOCKET_PORT for Kube dev ( #13243 )
...
- `settings/minikube.py` gets imported conditionally, when the
environment variable `AWX_KUBE_DEVEL` is set. In this imported file,
we set `BROADCAST_WEBSOCKET_PORT = 8013`, but 8013 is only used in the
docker-compose dev environment. In Kubernetes environments, 8052 is
used for everything. This is hardcoded awx-operator's ConfigMap.
- Also rename `minikube.py` because it is used for every kind of
development Kube environment, including Kind.
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-12-13 15:07:15 -06:00
Alan Rominger
fe768a159b
Merge pull request #13295 from AlanCoding/raw_instance_data
...
Remove un-editable Instance fields from pre-filled edit data in API browser
2022-12-13 15:16:34 -05:00
Alan Rominger
c1ebea858b
Merge pull request #13291 from AlanCoding/policy_want_a_cracker
...
Add missing disassociate trigger for policy task
2022-12-13 11:35:22 -05:00
Seth Foster
da9b8135e8
Merge pull request #13315 from fosterseth/update_task_manager_md
...
update task manager docs after refactoring
2022-12-12 12:42:49 -05:00
Elijah DeLee
76cecf3f6b
update capacity docs to cover hybrid node case
...
this came up in conversation and I saw this was not in this doc as an example
2022-12-12 12:11:56 -05:00
Manas Maiti
7b2938f515
fix typo
2022-12-12 18:01:15 +01:00
Seth Foster
916b5642d2
Update task manager docs
...
- DependencyManager and WorkflowManager
- bulk reschedule
- global task manager timeout
- blocking logic
Co-authored-by: Elijah DeLee <kdelee@redhat.com>
Co-authored-by: John R Barker <john@johnrbarker.com>
2022-12-12 11:56:40 -05:00
Jeff Bradberry
e524d3df3e
Replace the role fixup post_migrate handler with a data migration
2022-12-12 10:20:56 -05:00