-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📦 Discover injectors through entrypoints #50
Open
webknjaz
wants to merge
2
commits into
ansible:devel
Choose a base branch
from
webknjaz:features/inventory-entry-points
base: devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pre-commit.ci run |
webknjaz
force-pushed
the
features/inventory-entry-points
branch
from
October 23, 2024 01:00
b314739
to
bfabdd3
Compare
❌ 3 Tests Failed:
View the top 3 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
webknjaz
force-pushed
the
features/inventory-entry-points
branch
from
October 23, 2024 01:10
bfabdd3
to
6ffec3a
Compare
This patch eliminates import-based injector discovery, switching to distribution package-indepdendent hosting of the respective callables.
webknjaz
force-pushed
the
features/inventory-entry-points
branch
from
October 23, 2024 01:14
6ffec3a
to
ca70f64
Compare
TODO: Revert this commit before merging!
webknjaz
force-pushed
the
features/inventory-entry-points
branch
from
October 23, 2024 13:55
ca70f64
to
3e25834
Compare
webknjaz
commented
Nov 15, 2024
@@ -84,6 +84,16 @@ thycotic_dsv = "awx_plugins.credentials.dsv:dsv_plugin" | |||
thycotic_tss = "awx_plugins.credentials.tss:tss_plugin" | |||
aws_secretsmanager_credential = "awx_plugins.credentials.aws_secretsmanager:aws_secretmanager_plugin" | |||
|
|||
[project.entry-points."awx_plugins.injector"] | |||
aws = "awx_plugins.credential.injectors:aws" | |||
azure_rm = "awx_plugins.credential.injectors:azure_rm" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
azure_rm = "awx_plugins.credential.injectors:azure_rm" | |
azure-rm = "awx_plugins.credential.injectors:azure_rm" |
webknjaz
commented
Nov 15, 2024
azure_rm = "awx_plugins.credential.injectors:azure_rm" | ||
ec2 = "awx_plugins.credential.injectors:aws" | ||
gce = "awx_plugins.credential.injectors:gce" | ||
kubernetes_bearer_token = "awx_plugins.credential.injectors:kubernetes_bearer_token" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
kubernetes_bearer_token = "awx_plugins.credential.injectors:kubernetes_bearer_token" | |
kubernetes-bearer-token = "awx_plugins.credential.injectors:kubernetes_bearer_token" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch eliminates import-based injector discovery, switching to
distribution package-independent hosting of the respective callables.