Page MenuHomeDevCentral

Deploy nasqueron-reports
Needs ReviewPublic

Authored by dereckson on Sat, Sep 13, 15:18.
Tags
None
Referenced Files
F12059539: D3669.diff
Sun, Sep 28, 17:14
F12052381: D3669.id9570.diff
Sun, Sep 28, 13:35
F12041226: D3669.diff
Sun, Sep 28, 09:39
Unknown Object (File)
Sun, Sep 28, 01:33
Unknown Object (File)
Fri, Sep 26, 14:25
Unknown Object (File)
Fri, Sep 26, 12:30
Unknown Object (File)
Wed, Sep 24, 09:36
Unknown Object (File)
Wed, Sep 24, 04:19
Subscribers
None

Details

Summary

Ref T2124

Test Plan

Deployed on WindRiver, generated report

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
deploy-nasqueron-reports
Build Status
Buildable 5927
Build 6209: arc lint + arc unit

Event Timeline

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-table

Also, /opt/nasqueron-reports/dist/.package-installed is tricky if we remove the package to reinstall it but forget to remove this file.

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.