Ref T2124
Details
Details
- Reviewers
 DorianWinty - Maniphest Tasks
 - T2124: Update reports automatically on Agora
 - Commits
 - rOPSe8ca1b4a83e7: Deploy nasqueron-reports
 
Deployed on WindRiver, generated report
Diff Detail
Diff Detail
- Repository
 - rOPS Nasqueron Operations
 - Lint
 Lint Passed - Unit
 No Test Coverage - Branch
 - deploy-nasqueron-reports
 - Build Status
 Buildable 5881 Build 6163: arc lint + arc unit 
Event Timeline
Comment Actions
Actually, if we use pip to install the package globally for all users, it will take care creating /usr/local/bin/<utilities> following this entry in setup.cfg:
scripts =
    bin/run-report
    bin/sql-result-to-mediawiki-tableAlso, /opt/nasqueron-reports/dist/.package-installed is tricky if we remove the package to reinstall it but forget to remove this file.
Comment Actions
Improve package installation and detection. A module is required with cumbersome Python invoke and discovery logic, because Salt can internally report about /opt/saltstack Python installation on Linux OSes, not about the global system default interpreter.