Page MenuHomeDevCentral

Deploy Rhyne-Wyse on reports role
Needs ReviewPublic

Authored by dereckson on Sat, Sep 20, 00:44.

Details

Summary

This is the last piece of automation, Rhyne-Wyse is a pywikibot automated
agent to automatically update the Agora wiki with fresh reports.

Ref T2124

Test Plan
  • deploy to WindRiver
  • run bot through wrapper
  • ensure cron works

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
SeverityLocationCodeMessage
Adviceroles/reports/rhyne-wyse/files/rhyne-wyse.sh:31SC1091SHELLCHECK
Unit
No Test Coverage
Branch
deploy-rhyne-wyse
Build Status
Buildable 5924
Build 6206: arc lint + arc unit

Event Timeline

dereckson held this revision as a draft.

Version ready for review:

  • define UID, GID explicitly
  • chmod for config
dereckson published this revision for review.Sat, Sep 20, 17:30
dereckson added a reviewer: DorianWinty.
dereckson added inline comments.
roles/reports/rhyne-wyse/files/rhyne-wyse.sh
22

When running from tools/rhyne-wyse directory, we've access to pywikibot configuration too:

  • families/agora_family.py

Guess we need to symlink the families folder so.

Tested correctly with Complector and WindRiver. Can run the bot succesfully afterwards.