summaryrefslogtreecommitdiffstats
path: root/README.md (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-03-29Re-parent DAB views from AWX baseAlan Rominger1-0/+3
2024-03-29Loosen up body check on templateDavid O Neill2-2/+2
https://github.com/ansible/awx/issues/14985 https://github.com/ansible/awx/issues/13983
2024-03-28Pass --exclude="list of exclude dirs like this"Chris Meyers2-8/+93
* Previously, the params were passed without quotes and each directory was being interpreted as a seperate command line flag. * Added some structure around the error messages returned from receptorctl so we can more easily decide how to handle each case. For example, releasing the cleanup job from receptor doesn't absolutely need to succeed because we have a periodic job that does that. In fact, that is the thing that is making it fail .. but I digress.
2024-03-28Change awx.awx.application to output the OAuth2 client secretJeff Bradberry2-2/+7
if one was generated.
2024-03-27Fix: broken reference to API urlPabloHiro1-1/+1
2024-03-27update playbooks to use fqcnAdam Miller13-132/+132
Signed-off-by: Adam Miller <admiller@redhat.com>
2024-03-27Fix websocket relay. Set autocommit so conn.notifies() does not blocks ↵Chris Meyers1-0/+1
forever (#15043) Without autocommit conn.notifies() blocks forever
2024-03-27Add resource and ansible_id to serializers (#15020)Alan Rominger5-1/+53
2024-03-26Dockerfile: Fix collectstatic command (#15035)24.1.0Dimitri Savineau1-1/+1
Recent changes in awx and/or django ansible base cause the django collectstatic command to fail when using an empty settings file. Instead, use the defaults settings file from controller via DJANGO_SETTINGS_MODULE=awx.settings.defaults [linux/amd64 builder 13/13] RUN AWX_SETTINGS_FILE=/dev/null SKIP_SECRET_KEY_CHECK=yes SKIP_PG_VERSION_CHECK=yes /var/lib/awx/venv/awx/bin/awx-manage collectstatic --noinput --clear Traceback (most recent call last): (...) django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2024-03-26Fix wsrelay KeyboardInteruption not respected (#15036)Hao Liu1-1/+4
- stop wsrelay on keyboard interuption - restart wsrelay for any other failure reason
2024-03-26Fix wsrelay not retry to establish db connection (#15031)Hao Liu2-15/+25
- run_wsrelay retry to run wsrelay forever with 10 second sleep - wsrelay restart on`on_ws_heartbeat` task if fail to db connection goes away
2024-03-25Fix keycloak doc (#15024)Hao Liu1-2/+2
2024-03-22Address first_found skip bug (#15017)Matt Martz1-8/+13
* Address first_found skip bug * Don't attempt installing project root requirements.yml as v2 collection format
2024-03-20Fix bug where extra variables were reset on schedule editMichael Abashian6-57/+261
Fix survey prompt presentation inconsistencies Remove unnecessary conditional This conditional always returned true. See the following warning: This condition will always return 'true' since JavaScript compares objects by reference, not value. Fix schedule edit tests
2024-03-19Editable dependencies in docker compose development environment (#14979)Hao Liu7-2/+146
* Editable dependencies in docker compose development environment
2024-03-19Setting modification to address requests from UI_NEXT devs (#14996)Hao Liu6-0/+16
Modification to settings - Add hidden to indicate to UI_NEXT to hide the field - Add warning_text to indicate to UI_NEXT to display the warning when specific setting is modified - Address some non required field being marked as required
2024-03-19Add setting for configuring optional URL prefix for /api (#14939)Hao Liu3-2/+19
* Add setting for configuring optional URL prefix for /api Add OPTIONAL_API_URLPATTERN_PREFIX setting examples: - if set to `''` (empty string) API pattern will be `/api` - if set to 'controller' API pattern will be `/api` AND `/api/controller`
2024-03-15Backported from product-docs PR #2001 (misc doc cleanup) (#14980)TVo5-4/+4
* Backported from product-docs PR #2001 (misc doc cleanup) * Update docs/docsite/rst/administration/awx-manage.rst
2024-03-15Add dump_auth_config management cmd (for SAML and LDAP) (#14947)Hao Liu2-0/+301
* Add dump_auth_config management cmd - Dump SAML config from AWX to DAB authenticator config in json format * Add dumping of LDAP settings * add test for command * Fix is_enabled * fix command name typo Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> * add fields to config, add name to data * break out IDP values * change test fields and value comparison * edit help text, reformat settings --------- Co-authored-by: jessicamack <jmack@redhat.com>
2024-03-15Fix failing bulk launch job due to create partition raceHao Liu1-4/+3
https://github.com/ansible/awx/pull/14910/files introduced a bug where we no longer accept the right exceptions when 2 job launch at the sametime and try to create jobevent table partition 1 of the job will fail
2024-03-14Fix wsrelay hanging after db outageHao Liu1-1/+8
TCP keepalive settings was moved out from settings.DATABASE to settings.LISTENER_DATABASES and it's not longer being respected by wsrelay
2024-03-14Fix awx-manage run_wsrelay --status (#14997)Hao Liu1-2/+2
by don't start the metrics server if --status is passed in
2024-03-14Fix for 14924 - Unformatted help text toast message (#14990)Dave1-1/+1
Fix for 14924 - Unformatted help text is popped out when peers for intances are changed Co-authored-by: David O Neill <daoneill@redhat.com>
2024-03-14Mismatch dependencies version (#14986)Cesar Francisco San Nicolas Martinez4-7/+41
* Fixed mismatch between setuptools version in the makefile and requirements file * Fix mismatch of versions in makefile and requirements * Added maturin license
2024-03-13Skip replicas test for awx-operator (#14987)Hao Liu1-1/+1
speed up CI, also AWX code change won't effect that test
2024-03-13AAP-13369 Python 3.9 -> 3.11 upgrade (#14771)Dave32-216/+413
* Python 3.9 -> 3.11 upgrade * Test: updating azure-keyvault to 4.2.0 * Revert "Test: updating azure-keyvault to 4.2.0" This reverts commit cf0b83699442e0c0de4a1152d4af8543a5e05b88. * Test: updating azure-keyvault to latest and adding azure-identity * Fix licenses * Adding new licenses * Revert "Fix licenses" This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228. * Fixing dependencies * Test: updating azure-keyvault to 4.2.0 * Fix licenses * Revert "Fix licenses" This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228. * Fixing dependencies --------- Co-authored-by: César Francisco San Nicolás Martínez <csannico@redhat.com>
2024-03-12Prune dangle image periodically (#14957)24.0.0Hao Liu1-1/+1
Prune dangle image periodically pairs with https://github.com/ansible/ansible-runner/pull/1342 this fix the problem of us forcefully remove images when setting changing ee image that's being used in a job causing the job to fail
2024-03-11Align Orign and Host header (#14970)Chris Meyers2-1/+1
* Align Orign and Host header * Before this change the Host: header was runserver. Seems to be set by nginx upstream flow. * After this change we explicitly set the Host: header * More about CSRF checks ... CSRF checks that Origin == Host. Think about how the browser works. <browser goes to awx.com> "I'm executing javascript that I downloaded from awx.com (ORIGIN) and I'm making an XHR POST request to awx.com (HOST)" Server verifies; Host: header == Origin: header; OK! vs. the malicious case. <hacker injects javascript code into google.com> <browser goes to google.com> "I'm executing javascript that I downloaded from google.com (ORIGIN) and I'm making an XHR POST request to awx.com (HOST)" Server verifies; Host: header != Origin: header; NOT OK! * Update awx/settings/development.py --------- Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
2024-03-11English string validation to error code validationDavid O Neill4-24/+131
2024-03-11Revert "Implement project pulling from Azure DevOps using Service Pri… ↵Hao Liu7-49/+9
(#14977) Revert "Implement project pulling from Azure DevOps using Service Principals (#14628)" This reverts commit 2e2cd7f2de52a02a7bbf343f26bf8d0177dcdec3.
2024-03-07Upgrade to postgres:15 (#14230)John Westcott IV5-17/+15
* Upgrade to postgres:15 * Changed postgres:15 to quay.io/sclorg/postgresql-15-c9s
2024-03-07[developer productivity improvement] Running awx components in vscode ↵Hao Liu6-2/+233
debugger (#14942) Enable VSCode debugger integration when attaching VSCode to with AWX docker-compose development environment container - add debugpy launch target in `.vscode/launch.json` to enable launching awx processes with debugpy - add vscode tasks in `.vscode/tasks.json` to facilitate shutting down corresponding supervisord managed processes while launching process with debugpy - modify nginx conf to add django runserver as fallback to uwsgi (enable launching API server via debugpy)
2024-03-07AAP-12273 remove incorrect sentence conjugation (#14946)Dave1-5/+5
AAP-12273 remove incorrect sentance conjugation Co-authored-by: David O Neill <daoneill@redhat.com>
2024-03-07Fix awx-autoreload in dev environment (#14968)Hao Liu1-3/+2
Fix awx-autoreload, recent change made autoreload no longer take the command parameter
2024-03-07Implement project pulling from Azure DevOps using Service Principals (#14628)Patrick Uiterwijk7-9/+49
* Credential Lookup with multiple types Allow looking up a credential with one of multiple type IDs. * Allow Azure cred for SCM Allow selecting an Azure Resource Manager credential for Git-based SCMs. This is in order to enable using Azure Service Principals for project updates. * Implement Azure Service Principal Git This adds support for using an Azure Service Principal for project updates. --------- Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2024-03-07Add pip>=21.3 to dev requirement to install django-ansible-base in editable ↵Hao Liu1-0/+1
mode (#14961) Add pip>=21.3 to dev requirement required for installing django-ansible-base in editable mode https://peps.python.org/pep-0660/ PEP 660 – Editable installs for pyproject.toml based builds (wheel based)
2024-03-06Bump axios UI dep to 1.6.z (#14954)Michael Abashian3-18/+50
* Bump axios UI dep to 1.6.z * Add proxy-from-env license
2024-03-06Add terraform state inventory source (#14840)Helen Bailey13-2/+236
* Add terraform state inventory source * Update inventory source plugin test Signed-off-by: Helen Bailey <hebailey@redhat.com>
2024-03-06In development environment not auto-reload explicitly STOPPED processes (#14958)Hao Liu5-8/+13
Not auto-reload explicitly STOPPED processes In development/debug workflow sometime we explicitly STOP processes this will make sure auto-reload does not start them back up
2024-03-06Allow for manually starting workflow to build devel images (#14955)Shane McDonald1-0/+1
2024-03-05Add test for utils method is_testingAlan Rominger1-0/+4
2024-03-01Fix test that fail on rerun due to expecting exact IDs (#14943)Hao Liu1-8/+7
Fix test that fail on rerun due to expecting exact IDs
2024-03-01Integrate resources API in Controller (#14896)jessicamack6-2/+43
* add resources api to controller * update setting models are not the source of truth in AWX * Force creation of ServiceID object in tests * fix typo * settings fix for CI --------- Co-authored-by: Alan Rominger <arominge@redhat.com>
2024-02-29fails when ran with vscode debuggerChris Meyers1-5/+0
Tried to dig as to why we ever needed this and could not find the answer. We removed it and ran all the tests and the tests passed so assuming it's no longer needed.
2024-02-29Convert swagger release fixture to env var (#14940)Hao Liu2-11/+6
`pytest awx/main/tests/docs --release=$(VERSION_TARGET)` where --release is required breaks test discovery and running in vscode (from within the container)
2024-02-28Removing Podman to use Docker again in the collection ci (#14938)Cesar Francisco San Nicolas Martinez1-4/+0
Removing Podman var to use Docker again in the collection ci
2024-02-28Added missing AWS secret management lookup creds.Thanhnguyet Vo7-130/+120
2024-02-27Make JWT the first auth class and defaultChris Meyers1-0/+2
* No harm in adding it to the list. If a JWT auth header is provided, then process it (valid or not). If a JWT is not provided, move on to the next auth.
2024-02-27Publish multi-arch versioned awx-ee23.9.0Hao Liu2-6/+6
dependent on https://github.com/ansible/awx-ee/pull/235
2024-02-26Publish multi-arch manifest of awx (#14929)Hao Liu1-5/+9
Promote multi-arch awx manifest