mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -02:30
Make sure project updates run in default EE (#9172)
* Make sure project updates run in default EE * Remove project execution_environment field from collection
This commit is contained in:
committed by
Shane McDonald
parent
8ab7745e3a
commit
c7e0e30f93
@@ -187,6 +187,14 @@ class ProjectOptions(models.Model):
|
||||
pass
|
||||
return cred
|
||||
|
||||
def resolve_execution_environment(self):
|
||||
"""
|
||||
Project updates, themselves, will use the default execution environment.
|
||||
Jobs using the project can use the default_environment, but the project updates
|
||||
are not flexible enough to allow customizing the image they use.
|
||||
"""
|
||||
return self.get_execution_environment_default()
|
||||
|
||||
def get_project_path(self, check_if_exists=True):
|
||||
local_path = os.path.basename(self.local_path)
|
||||
if local_path and not local_path.startswith('.'):
|
||||
|
||||
Reference in New Issue
Block a user