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
Add a new ExecutionEnvironment model #7455
Add a new ExecutionEnvironment model #7455
Conversation
Build succeeded.
|
415fc7d
to
d64ec51
Compare
Build succeeded.
|
Could we get some writeup in This doesn't actually run jobs in the execution environment right now? Does that depend on ansible/ansible-runner#470 I want to see what the contract is between the pieces of software. The best docs I've seen is this example:
Server code has a section for those settings in: Lines 1421 to 1426 in 8ea31d8
This remains very speculative, but I don't see why we can't add those settings there right now. We should also get the ability to run against ansible-runner branches. If we don't have that now, we should soon. |
@AlanCoding this is the very beginning of a draft. It's a bit early for review. |
d64ec51
to
476171a
Compare
Build succeeded.
|
476171a
to
cac644f
Compare
Build succeeded.
|
cac644f
to
6ef6f3f
Compare
Build succeeded.
|
Build succeeded.
|
733b1e3
to
d6ab9fd
Compare
Build succeeded.
|
Build succeeded.
|
a02fb26
to
095a34f
Compare
Build failed.
|
095a34f
to
b524a95
Compare
Build succeeded.
|
Build succeeded.
|
b42ef83
to
4f6e98f
Compare
Build succeeded.
|
) | ||
image = models.CharField( | ||
max_length=1024, | ||
verbose_name=_('image location'), |
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.
I would suggest, "Image name, which may include registry and tag"
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.
Generally the form field label gets set to this value, so do we really want to use something this verbose?
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.
I would really like to see some content in the docs/
folder with the exact syntax that is expected to work.
Take https://quay.io/repository/ansible-tower/ansible-runner as an example, we're sandboxing with this in other places too. Would there be no credential with image of ansible-tower/ansible-runner
? Even if that's the case, it's not as obvious as it might seem, and it would be good to have an example.
null=True, | ||
default=None, | ||
on_delete=models.SET_NULL, | ||
) |
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.
would awx log in w/ the credential and will ansible-runner always just assume we are already authenticated w/ the registry?
What type of registry credentials are we going to support?
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.
I don't know, I'm still pretty iffy on how this part will work.
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.
Do we have an idea of what credential type this will need, and can we enforce that in the serializer or clean methods?
Build succeeded.
|
Build succeeded.
|
e345ec1
to
0d09f59
Compare
Build succeeded.
|
0d09f59
to
e50d52a
Compare
Build succeeded.
|
e50d52a
to
a443e42
Compare
Build succeeded.
|
a443e42
to
8baaba3
Compare
Build succeeded.
|
8baaba3
to
3d26d27
Compare
Including exposing a new API view for a particular EE's activity stream objects.
3d26d27
to
3c6c49a
Compare
I'll capture the leftover bits (the ones we'll actually do, anyway) on another ticket. |
SUMMARY
Modeling and additions to the API for the new execution environments.
ExecutionEnvironment
modela newCredentialType
ExecutionEnvironment
a new configure-Tower-in-Tower setting to configure the global default EEupdate Project to have an optional default EE ????update the Project serializer to show and set the default EE ????pull
fieldsadd a new EE admin RBAC role ????/api/v2/
listan API sublist view for EE <- Unified Jobs ????provide a way to create new EEs from scriptsrelated #7064
ISSUE TYPE
COMPONENT NAME
AWX VERSION