awx icon indicating copy to clipboard operation
awx copied to clipboard

Set awx_job_revision in addition to awx_project_revision.

Open apollo13 opened this issue 1 year ago • 5 comments

SUMMARY

Currently AWX only exposes awx_project_revision which is not necessarily the same revision that the job uses (the job templates can [if the project allows it] set a different branch). As such I have adjusted to code to also record the job revision.

ISSUE TYPE
  • New or Enhanced Feature
COMPONENT NAME
  • Other
AWX VERSION
awx: 24.6.2.dev45+gcc35d7c554

apollo13 avatar Jul 30 '24 12:07 apollo13

@tvo318 can you help advise where the current replacement for job_templates.rst would be?

AlanCoding avatar Apr 29 '25 15:04 AlanCoding

@AlanCoding - job_templates.rst was removed on devel. I'm not sure how you were able to find this file, @apollo13. We can certainly add this change to 24.6.1 where the last release of AWX and its accompanying docs exist.

tvo318 avatar Jun 12 '25 15:06 tvo318

@tvo318 Not sure what that means :) I'd also love this fix in whatever the new AWX will be (ie devel). I already patched it locally on 24.6.1

apollo13 avatar Jun 12 '25 15:06 apollo13

Oh and as to how I was able to find that file: The PR probably predates the removal of that file.

apollo13 avatar Jun 12 '25 16:06 apollo13