Skip to content

Commit

Permalink
Merge branch 'devel' into add-new-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
neevnuv authored Sep 6, 2024
2 parents 3ad5e01 + c4d8fdb commit 071131d
Show file tree
Hide file tree
Showing 22 changed files with 388 additions and 2,359 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Have questions about this document or anything not covered here? Create a topic
- You must use `git commit --signoff` for any commit to be merged, and agree that usage of --signoff constitutes agreement with the terms of [DCO 1.1](./DCO_1_1.md).
- Take care to make sure no merge commits are in the submission, and use `git rebase` vs `git merge` for this reason.
- If collaborating with someone else on the same branch, consider using `--force-with-lease` instead of `--force`. This will prevent you from accidentally overwriting commits pushed by someone else. For more information, see [git push docs](https://git-scm.com/docs/git-push#git-push---force-with-leaseltrefnamegt).
- If submitting a large code change, it's a good idea to join the `#ansible-awx` channel on irc.libera.chat, and talk about what you would like to do or add first. This not only helps everyone know what's going on, it also helps save time and effort, if the community decides some changes are needed.
- If submitting a large code change, it's a good idea to create a [forum topic tagged with 'awx'](https://forum.ansible.com/tag/awx), and talk about what you would like to do or add first. This not only helps everyone know what's going on, it also helps save time and effort, if the community decides some changes are needed.
- We ask all of our community members and contributors to adhere to the [Ansible code of conduct](http://docs.ansible.com/ansible/latest/community/code_of_conduct.html). If you have questions, or need assistance, please reach out to our community team at [[email protected]](mailto:[email protected])

## Setting up your development environment
Expand Down Expand Up @@ -164,6 +164,6 @@ We welcome your feedback, and encourage you to file an issue when you run into a

## Getting Help

If you require additional assistance, please reach out to us at `#ansible-awx` on irc.libera.chat, or submit your question to the [Ansible Forum](https://forum.ansible.com/tag/awx).
If you require additional assistance, please submit your question to the [Ansible Forum](https://forum.ansible.com/tag/awx).

For extra information on debugging tools, see [Debugging](./docs/debugging/).
8 changes: 4 additions & 4 deletions awx/main/analytics/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def gather(dest=None, module=None, subset=None, since=None, until=None, collecti

if not (
settings.AUTOMATION_ANALYTICS_URL
and ((settings.REDHAT_USERNAME and settings.REDHAT_PASSWORD) or (settings.SUBSCRIPTION_USERNAME and settings.SUBSCRIPTION_PASSWORD))
and ((settings.REDHAT_USERNAME and settings.REDHAT_PASSWORD) or (settings.SUBSCRIPTIONS_USERNAME and settings.SUBSCRIPTIONS_PASSWORD))
):
logger.log(log_level, "Not gathering analytics, configuration is invalid. Use --dry-run to gather locally without sending.")
return None
Expand Down Expand Up @@ -369,9 +369,9 @@ def ship(path):
rh_password = getattr(settings, 'REDHAT_PASSWORD', None)

if rh_user is None or rh_password is None:
logger.info('REDHAT_USERNAME and REDHAT_PASSWORD are not set, using SUBSCRIPTION_USERNAME and SUBSCRIPTION_PASSWORD')
rh_user = getattr(settings, 'SUBSCRIPTION_USERNAME', None)
rh_password = getattr(settings, 'SUBSCRIPTION_PASSWORD', None)
logger.info('REDHAT_USERNAME and REDHAT_PASSWORD are not set, using SUBSCRIPTIONS_USERNAME and SUBSCRIPTIONS_PASSWORD')
rh_user = getattr(settings, 'SUBSCRIPTIONS_USERNAME', None)
rh_password = getattr(settings, 'SUBSCRIPTIONS_PASSWORD', None)

if not rh_user:
logger.error('REDHAT_USERNAME and SUBSCRIPTIONS_USERNAME are not set')
Expand Down
Empty file.
126 changes: 0 additions & 126 deletions awx/main/credential_plugins/aim.py

This file was deleted.

65 changes: 0 additions & 65 deletions awx/main/credential_plugins/aws_secretsmanager.py

This file was deleted.

63 changes: 0 additions & 63 deletions awx/main/credential_plugins/azure_kv.py

This file was deleted.

Loading

0 comments on commit 071131d

Please sign in to comment.