-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[WIP] Project update sync assets (round 2) #9129
Conversation
Like we talked about earlier, I would be interested in seeing if we can associate a Tower credential to the project and use that instead of obtaining an oauth token behind the scenes. |
3b50f56
to
701f734
Compare
@ryanpetrello @wenottingham Should we allow for relaunch on a project export. Keeping in mind that an export takes a commit message and a list of job template IDs. On a failure I suppose it would make sense. However, on a successful job export would we want people to be able to relaunch with the same commit message? |
@shanemcd @wenottingham If we use a Tower credential type for the project export it has a field called Ansible Tower Hostname (thats required). I feel like I should respect this when making the connection to Tower (right now I use TOWER_URL_BASE setting). This could lead to awkwardness on an export if someone does not populate that correctly. Any thoughts on this? |
f654c76
to
8686a19
Compare
@john-westcott-iv , i'll take a stab at testing this from the ui-side when you're ready for review |
Build succeeded.
|
Holy conflicts. Please let me know if you still want this. |
I def sill want it but didn't have the time to put it in before the 4.0 release so this will have to be completely refactored later. Closing for now. |
SUMMARY
This PR replaces PR #7099
This is an initial cut as having parts of Tower being controlled by code. A project update of an SCM based project will not attempt to create job templates and workflow job templates from files within the source. The current proposed files are:
assets/job_templates.yml
assets/workflow_job_template_nodes.yml
assets/workflow_job_templates.yml
This PR (currently):
Related
#526
#578
ISSUE TYPE
COMPONENT NAME
AWX VERSION
ADDITIONAL INFORMATION