AWX Project Sync firing SVN projects onJob , Update Release Not selected. You should:
- We are using SVN as our our project repository and we have everything working on OLAM 2.0(AWX ~19.5).
-Our Jobs run as expected however we see an Our Projec Start a Job before each Job begin execution.
-The SVN refresh job doesn’t live long and isn’t available in the Job queue once it completes. - We had this issue on the older release of OLAM 1.0 , and made a patch to the
I added some code as a work around to the /var/lib/ol-automation-manager/venv/awx/lib64/python3.6/site-packages/awx/main/tasks.py file. This block of code goes in at line 1891 in the old version.
# BEGIN MOD FOR SVN SYNC ISSUE
elif job.project.scm_type == 'svn' and job.project.scm_revision and (not job.project.scm_update_on_launch):
logger.debug('Skipping project sync for {} because commit is locally available'.format(job.log_format))
# END