| Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
This format is contains file paths unlike the newer implementation.
|
|
This setting does not seem necessary so there is no reason for it to
be listed.
|
|
|
|
location (#15502)
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
This helps disambiguate main project code from the tests.
|
|
The automatic discovery is currently unreliable.
Ref: https://github.com/codecov/codecov-cli/issues/500
|
|
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>
|
|
|
|
|
|
Make codecov identify metrics for tests and awx modules separately.
|
|
This is an option that appeared in Coverage.py v7.2.0.
|
|
This is a variation of #15510, this time fixing the
`detect-schema-change` make target.
|
|
|
|
These tests are known to only be executed partially or not at all. So
we always get incomplete, missing, and sometimes flaky, coverage in
the test functions that are expected to fail.
This change updates the ``coverage.py`` config to prevent said tests
from influencing the coverage level measurement.
Ref https://github.com/pytest-dev/pytest/pull/12531
|
|
This is a variation of #15509, fixing the `run_awx_devel` in-tree
action this time.
|
|
|
|
|
|
|
|
# Add a postfix to the UI URL patterns for UI URL generated by the API
# example if set to '' UI URL generated by the API for jobs would be $TOWER_URL/jobs
# example if set to 'execution' UI URL generated by the API for jobs would be $TOWER_URL/execution/jobs
|
|
|
|
* fix: avoid race conditions when removing multiple instance groups at once
* remove unused imports
|
|
* Register all discovered CredentialType(s) after Django finishes
loading
* Protect parallel registrations using shared postgres advisory lock
* The down-side of this is that this will run when it does not need to,
adding overhead to the init process.
* Only register discovered credential types in the database IF
migrations have ran and are up-to-date.
|
|
Fixes: https://issues.redhat.com/browse/AAP-30995
|
|
Not user configurable
|
|
Remove OpenSSL pin
|
|
REDHAT_USERNAME and REDHAT_PASSWORD are default to empty string instead of None
|
|
User and Team assignments using the DAB
RBAC system will be translated back to the old
Role system.
This ensures better backward compatibility and
addresses some inconsistences in the UI that were
relying on older RBAC endpoints.
Signed-off-by: Seth Foster <fosterbseth@gmail.com>
Co-authored-by: Alan Rominger <arominge@redhat.com>
|
|
used in analytic
|
|
|
|
* There is only __init__.py in awx/main/models/credential/ now. So let's
simplify things and move init up a dir.
|
|
* #egg _could_ be awx-plugins.some.other.provided.package
* Also point at ansible devel instead of a forked branch since the
entrypoints PR has now merged to devel
|
|
* Instead of sourcing cred and inv plugins from the awx repo awx_plugins
local directory, source them from the python package awx-plugins-core.
|
|
|
|
|
|
Signed-off-by: John Barker <john@johnrbarker.com>
|
|
|
|
* Fallback to use subscription cred for analytic
Fall back to use SUBSCRIPTION_USERNAME/PASSWORD to upload analytic to if REDHAT_USERNAME/PASSWORD are not set
* Improve error message
* Guard against request with no query or data
* Add test for _send_to_analytics
Focus on credentials
* Supress sonarcloud warning about password
* Add test for analytic ship
|
|
Middleware is from django_ansible_base
|
|
|
|
* Docs: add Communication guide
* Update docs/docsite/rst/contributor/communication.rst
Co-authored-by: Don Naro <dnaro@redhat.com>
* Update docs/docsite/rst/contributor/communication.rst
---------
Co-authored-by: Don Naro <dnaro@redhat.com>
|
|
This is to emphasize that this role is specific
to controller component. That is, not an auditor
for the entire AAP platform.
Signed-off-by: Seth Foster <fosterbseth@gmail.com>
|
|
|
|
|
|
Adds the following managed Role Definitions
Controller Team Admin
Controller Team Member
Controller Organization Admin
Controller Organization Member
These have the same permission set as the
platform roles (without the Controller prefix)
Adding members to teams and orgs via the legacy RBAC system
will use these role definitions.
Other changes:
- Bump DAB to 2024.08.22
- Set ALLOW_LOCAL_ASSIGNING_JWT_ROLES to False in defaults.py.
This setting prevents assignments to the platform roles (e.g. Team Member).
Signed-off-by: Seth Foster <fosterbseth@gmail.com>
|