summaryrefslogtreecommitdiffstats
path: root/.github (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-04-10Check galaxy collection with and without redirectHao Liu1-4/+6
2024-04-09Clean the postgres 15 volume (#15083)Alan Rominger1-1/+1
2024-04-09Publish amd64 and arm64 awx image on release (#15053)24.2.0Hao Liu8-131/+65
* Stage multi-arch awx image - change CI to use `make awx-kube-build` instead of build playbook - update staging CI to build and push multiarch awx image - update doc to use `make awx-kube-build` to build awx image - remove build playbook (no longer used)
2024-04-08Remove uneeded drf_reverse overwriteChris Meyers3-22/+9
* `drf_reverse()` was introduced here https://github.com/ansible/awx/commit/1a75b1836e3416260961e72e17c7736d6b43e0b3 * There is a comment about monkey patching. I can't find the monkey patch it is referencing. * AWX `drf_reverse()` is a copy paste of this https://github.com/encode/django-rest-framework/blob/master/rest_framework/reverse.py#L32 * The only difference is DRF's version calls `preserve_builtin_query_params()` * `preserve_builtin_query_params()` only does something if `api_settings.URL_FORMAT_OVERRIDE` is defined. * We don't use `REST_FRAMEWORK.URL_FORMAT_OVERRIDE`
2024-04-05Added docs for terraform credential/inventory source (#15004)TVo4-0/+69
* Added docs for terraform credential/inventory source * Updated screen captures for inventories and source to match wfjt example * Added docs for terraform credential/inventory source * Updated screen captures for inventories and source to match wfjt example * Update docs/docsite/rst/userguide/inventories.rst Co-authored-by: Aoki <lucasaoki@users.noreply.github.com> * Revised per review feedback. * Update docs/docsite/rst/userguide/inventories.rst Co-authored-by: Helen Bailey <hakbailey@gmail.com> --------- Co-authored-by: Aoki <lucasaoki@users.noreply.github.com> Co-authored-by: Helen Bailey <hakbailey@gmail.com>
2024-04-04fix service-index url calling reverse methodCésar Francisco San Nicolás Martínez1-1/+1
2024-04-04Round out options url prefix edge casesElijah DeLee3-26/+32
2024-04-03Rename container hostname from awx_1 to awx-1Chris Meyers5-12/+23
* Django and other webservers that care about proper hostnames don't like underscores in them.
2024-04-03Add tags and skip_tags option to awx.awx.workflow_launch (#15011)Tom Page2-1/+54
Signed-off-by: Tom Page <tpage@redhat.com>
2024-04-02Adjust the awx-manage script to make use of importlib (#15015)Jeff Bradberry2-4/+14
* Adjust the awx-manage script to make use of importlib removing the deprecation warning. * Synlink awx-manage in docker-compose No longer need to rebuild docker-compose devel image to load change for `tools/docker-compose/awx-manage` in development environment --------- Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
2024-04-02Update DOCKER_COMPOSE command to `docker compose` (#15056)Hao Liu3-2/+3
* Update DOCKER_COMPOSE command docker-compose will stop being supported soon and this is causing CI flake setting DOCKER_COMPOSE default to `docker compose` * Give AWX network a static name
2024-04-02Make db password optional for wsrelay (#15046)Hao Liu2-5/+9
* Make db password optional for wsrelay * Change DB setting copy to deepcopy safer than copy() Co-Authored-By: Jeff Bradberry <685957+jbradberry@users.noreply.github.com> --------- Co-authored-by: Jeff Bradberry <685957+jbradberry@users.noreply.github.com>
2024-04-02Remove json formatter for job lifecycleChris Meyers3-13/+3
* We didn't really make use of json formatting across the app. Remove the special case json formatter. Instead, output all of the meta-data associated with a job lifecycle event every time. Before, we tried to only output this extra meta data when in DEBUG mode. It turns out this information is smaller than we thought and more useful than we thought so always output it.
2024-03-29Add link to service-index URLAlan Rominger1-0/+2
2024-03-29Remove /17 magic number from Forum URLJohn Barker1-1/+1
2024-03-29Improve social documentation release_process.mdJohn Barker1-4/+21
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