Files
Investidor-V2/tools/portal-service-followup-build-qa.py
T
nala 287e991486
tests / ci (push) Waiting to run
oportunidades 7
2026-10-13 11:40:29 +02:00

14 lines
620 B
Python

from pathlib import Path
import json
R=Path(__file__).resolve().parent.parent
P=R/'storage/app/private/investmoz-v2/portal-audit'
plan=json.loads((P/'service-followup-latest.json').read_text(encoding='utf-8'))
S=Path(plan['source'])
assert S.name.startswith('workflow-service-followup-source-') and plan['target']['port']==55441
(S/'artisan').write_text("""<?php
ini_set('zend.exception_ignore_args','1');
$app=require __DIR__.'/tools/upgrade-runtime.php';
exit($app->handleCommand(new Symfony\\Component\\Console\\Input\\ArgvInput));
""",encoding='utf-8')
print(json.dumps({'qa_artisan_guard':True,'active_writes':0}))