• Nicolas Wavrant's avatar
    slaprunner: correctly patch software release path on import · f5eee79f
    Nicolas Wavrant authored
    usually, the software release path is :
    in a web runner : /srv/slapgrid/slappartXX/srv/runner/project/buildout.cfg
    in a test node : /srv/slapgrid/slappartX/srv/testnode/xx/inst/test0-XX/srv/runner/project/buldout.cfg
    
    the previous regex was replacing in all slappartX and test0-X by the new test0-Y
    which of course would make an existing path : /srv/slapgrid/test0-Y/.../test0-Y/...
    
    This commit only replace the latest occurence in order to have
    compatible code in the "normal" case, and in the test nodes
    f5eee79f
runner-import.sh.jinja2 8.76 KB