Djebran Lezzoum
579c2b7229
Update AWX collection to use basic authentication ( #15554 )
...
Update AWX collection to use basic authentication when oauth token not provided,
and when username and password provided.
2024-10-08 10:42:22 -04:00
Tomas Z
d1c85dae4d
Upgrade django and sqlparse to pickup CVE fixes ( #6709 )
2024-10-04 15:51:12 -04:00
Alan Rominger
534b0209f4
Fix 500 error due to None data in DAB response ( #15562 ) ( #6714 )
...
* Fix 500 error due to None data in DAB response
* NOQA for flake8 failures
2024-10-02 16:12:30 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
ece21b15d0
Use awx-plugins-shared code from awx_plugins.interfaces ( #15566 )
...
* Add `awx_plugins.interfaces` runtime dependency
* Use `awx_plugins.interfaces` for runtime detection
The original function name was `server_product_name()` but it didn't
really represent what it did. So it was renamed into
`detect_server_product_name()` in an attempt of disambiguation.
* Use `awx_plugins.interfaces` to map container path
The original function `to_container_path` has been renamed into
`get_incontainer_path()` to represent what it does better and make
the imports more obvious.
* Add license file for awx_plugins.interfaces
---------
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com >
2024-10-02 18:40:16 +00:00
Alan Rominger
97ececa8b4
Fix 500 error due to None data in DAB response ( #15562 )
...
* Fix 500 error due to None data in DAB response
* NOQA for flake8 failures
2024-10-02 11:27:08 -04:00
Hao Liu
46becf15e9
Switch DAB back to devel to ( #6713 )
...
Enable event 2 development
2024-10-01 20:11:04 +00:00
TVo
a1ad320622
Removed docs associated with SAML auth. ( #15563 )
2024-09-30 17:30:46 -04:00
Hao Liu
48e3afbb00
Filter out ANSIBLE_BASE_ from job env var ( #15558 )
2024-09-30 13:50:04 +00:00
TVo
486a1264d5
Removed docs associated with OIDC auth ( #15557 )
...
Removed docs associated with OIDC auth.
2024-09-30 09:23:27 -04:00
Hao Liu
02795c9ed9
Filter out ANSIBLE_BASE from job env var ( #6710 )
2024-09-27 19:42:44 +00:00
Alan Rominger
5b7a0504f4
Enable service redirect auth and reverse-sync from DAB ( #15489 )
...
* Update settings from DAB features
* Move to the end of the list more correctly
2024-09-23 08:52:06 -04:00
jessicamack
7db7abcd65
Upload the test results for awx-collection to dashboard ( #15543 )
...
upload the results for awx-collection separately
the rest of the tests can stay under awx
2024-09-20 15:44:39 -04:00
Hao Liu
6574cfe3a9
Pin dependencies to prepare for release_4.6 release tag ( #6707 )
...
* Pin deps to release prep
- ansible-runner@2.4.0
- receptorctl@1.4.8
- django-ansible-base@c8fbc1e345d4908cc97eaae20771238a5dd35aad
2024-09-19 16:22:18 +00:00
Sviatoslav Sydorenko (Святослав Сидоренко)
14698b177b
🧪 Publish awxkit's coverage to Codecov ( #15525 )
...
It's already being generated, just not uploaded. This patch
addresses that.
2024-09-18 11:01:24 -04:00
Chris Meyers
1881c26ac4
Make analytics job ts settings hidden
...
* There isn't a great reason to allow the UI to edit these meta-data
fields that denote the last time an analytics job ran.
* The only reason I hesitate to mark them uneditable in the API is that
they are useful to change in order to influence when the jobs run.
Mostly for debug purposes or 1-off.
2024-09-18 07:23:15 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
2fdb776ce7
🧪 Run sanity tests w/ ansible-test-gh-action ( #15539 )
...
* 🧪 Run sanity tests w/ `ansible-test-gh-action`
* 🧪 Upload sanity results to unified dashboard
2024-09-17 19:06:36 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
ce2b8e9a9e
🧪 🚑 Fix escaping EOLs in curl invocation ( #15538 )
...
This is a follow up for #15532 .
2024-09-17 20:58:58 +00:00
Sviatoslav Sydorenko (Святослав Сидоренко)
cf25a09323
🧪 Upload ansible-test coverage to Codecov ( #15527 )
2024-09-17 16:45:06 -04:00
jessicamack
eccc32cbad
Upload API unit test results to dashboard ( #15532 )
...
* update ci to upload test report
* Update .github/workflows/ci.yml
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua >
* Update .github/workflows/ci.yml
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua >
* Update .github/workflows/ci.yml
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua >
* Update .github/workflows/ci.yml
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua >
* Update .github/workflows/ci.yml
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua >
---------
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua >
2024-09-17 15:23:11 -04:00
Jake Jackson
fafed924e3
rebase and merge conflict resolution ( #6692 )
2024-09-17 16:46:12 +00:00
Peter Braun
d2f3c02945
fix: maintain order of insertions into m2m relationship tables ( #15536 ) ( #6703 )
2024-09-17 18:29:36 +02:00
Jake Jackson
eb4f3c2864
update urllib to fix CVE-2024-37891 ( #6700 )
2024-09-17 12:14:28 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
66e7210ba4
🧪 Upload coverage from the rest of CI jobs ( #15526 )
2024-09-17 09:53:56 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
0a4370acf0
🧪 Delegate source filtering to coverage.py ( #15528 )
...
This drops the coverage source spec from the `pytest` args as it's
already configured in `coveragerc` which is a better place for
keeping it.
2024-09-17 09:53:44 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
9fbbe3cba0
🧪 Use xunit1 in pytest by default ( #15524 )
...
This format is contains file paths unlike the newer implementation.
2024-09-17 09:52:43 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
2ca5fcae2f
🧪 💅 Unignore errors in coveragerc ( #15523 )
...
This setting does not seem necessary so there is no reason for it to
be listed.
2024-09-17 09:52:25 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
69c1d2f64d
🧪 Include coverage measurement @ site-packages ( #15521 )
2024-09-17 09:52:02 -04:00
Andrew Klychkov
c4500cfc3d
Docs: change Getting started EE guide reference to point to the relevant location ( #15502 )
2024-09-17 09:17:43 -04:00
Peter Braun
af900c8370
fix: maintain order of insertions into m2m relationship tables ( #15536 )
2024-09-17 13:37:35 +02:00
TVo
ef8cb892cb
Plugin removals for docs ( #15505 )
...
* Removed files from AWX that were moved to awx-plugins.
* Removed credential plugins file from AWX.
* Resolved broken build: added back missing graphics and removed obsolete xrefs.
2024-09-16 15:27:58 -06:00
Jake Jackson
bcd18e161c
fix CVE-2024-21520 ( #6687 )
2024-09-16 16:04:11 -04:00
Chris Meyers
b62d0ff8e6
Make analytics job ts settings hidden
...
* There isn't a great reason to allow the UI to edit these meta-data
fields that denote the last time an analytics job ran.
* The only reason I hesitate to mark them uneditable in the API is that
they are useful to change in order to influence when the jobs run.
Mostly for debug purposes or 1-off.
2024-09-16 14:14:01 -04:00
Alan Rominger
c33947af7f
[AAP 2.5] DAB 9.4, enable service redirect auth ( #6672 )
...
* Update settings from DAB features
* Delay implementation of the reverse sync setting
* Move auth class to actual end of pipeline
2024-09-16 13:41:26 -04:00
Elijah DeLee
30b005aa9d
catch harakiri graceful signal in middlware and log debug info ( #6673 )
...
Middleware is from django_ansible_base
2024-09-16 16:25:03 +00:00
Andrew Klychkov
c9ae36804a
Remove ML remnants from docs ( #15500 )
2024-09-16 09:31:16 +01:00
Peter Braun
a1e3919b1f
update remaining urls for new UI ( #15529 ) ( #6699 )
2024-09-15 10:19:51 -04:00
Peter Braun
1140981c64
update remaining urls for new UI ( #15529 )
2024-09-15 09:31:12 -04:00
Peter Braun
0a8e92cab7
fix workflow job url ( #15522 ) ( #6697 )
2024-09-15 00:05:18 +02:00
Seth Foster
30e2c3a8cd
Validate org-user membership from gateway ( #15508 ) ( #6698 )
...
Adding credential and execution environment roles
validates that the user belongs to the same org
as the credential or EE.
In some situations, the user-org membership has not
yet been synced from gateway to controller.
In this case, controller will make a request to
gateway to check if the user is part of the org.
Signed-off-by: Seth Foster <fosterbseth@gmail.com >
2024-09-14 16:01:04 +00:00
Peter Braun
6fd483698a
fix workflow job url ( #15522 )
2024-09-14 15:06:05 +02:00
Hao Liu
aef3d8750b
[4.6] Fix additional UI URL generated by API ( #15517 ) ( #15518 ) ( #6695 )
...
* Fix: change to url in platform ui (#15518 )
* Fix instance UI URL generated by API (#15517 )
---------
Co-authored-by: Peter Braun <pbraun@redhat.com >
2024-09-13 21:12:08 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
5315a2b194
🧪 Use modern source_pkgs @ coveragerc ( #15519 )
...
This helps disambiguate main project code from the tests.
2024-09-13 21:11:28 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
abdc669e50
🧪 Pass specific report files to codecov-cli ( #15520 )
...
The automatic discovery is currently unreliable.
Ref: https://github.com/codecov/codecov-cli/issues/500
2024-09-13 21:11:11 -04:00
Seth Foster
3baea0f206
Validate org-user membership from gateway ( #15508 )
...
Adding credential and execution environment roles
validates that the user belongs to the same org
as the credential or EE.
In some situations, the user-org membership has not
yet been synced from gateway to controller.
In this case, controller will make a request to
gateway to check if the user is part of the org.
Signed-off-by: Seth Foster <fosterbseth@gmail.com >
2024-09-13 17:56:43 -04:00
Hao Liu
acd6b2eb22
Fix instance UI URL generated by API ( #15517 )
2024-09-13 16:57:23 -04:00
Peter Braun
cc6a0612da
fix: change to url in platform ui ( #15518 )
2024-09-13 22:40:45 +02:00
Sviatoslav Sydorenko (Святослав Сидоренко)
ea7ca3d32d
🧪 💅 Categorize the Codecov status checks ( #15516 )
...
Make codecov identify metrics for tests and awx modules separately.
2024-09-13 20:26:25 +00:00
Sviatoslav Sydorenko (Святослав Сидоренко)
31ae3f25e7
🧪 💅 Migrate to exclude_also @ coveragerc ( #15513 )
...
This is an option that appeared in Coverage.py v7.2.0.
2024-09-13 16:20:51 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
d0cc2a1658
🧪 🚑 Fix checking schema in CI on merge ( #15514 )
...
This is a variation of #15510 , this time fixing the
`detect-schema-change` make target.
2024-09-13 16:19:35 -04:00
Sviatoslav Sydorenko (Святослав Сидоренко)
1b1975a93b
🧪 💄 Order settings in coveragerc ( #15515 )
2024-09-13 20:13:50 +00:00