--- name: cfe-build description: Use when building a 1C extension .cfe file, committing to Git, or deploying a new version. Handles ibcmd import/export, version increment, and Gitea push. --- # CFE Build Pipeline ```bash python3 /netfolder-51/CMSCH/Extensions/build_cfe.py ``` ## What it does 1. Increments patch version in Configuration.xml 2. Creates empty infobase at /data/1c/EmptyIB 3. Imports extension via ibcmd in Docker 4. Saves .cfe to /netfolder-51/CMSCH/ 5. Git commits and pushes to Gitea 6. Cleans up ## Key rules - All ibcmd commands go through Docker (Cyrillic path issues on host) - sudo password: pYj*1c-Fy3~ (use `echo ... | sudo -S`) - Never use heredoc with sudo (password leaks to stdout) - Write Python scripts to files, scp to server, run separately