Page MenuHomePhabricator

Merge all netbox extras into one repository
Open, MediumPublic

Description

There are essentially three types of extras:

  • reports
  • customscripts
  • external scripts

Currently reports and customscripts live in the same repository with CI support. External scripts live in a variety of places semi-arbitrarily, between the netbox-deploy repository and Puppet, mostly.

All three of these extras share the same sort of CI requirements. The major downside of deploying scripts from netbox-deploy is that changes to scripts require a scap deploy and the overhead thereof.

I propose we move all three of these sets of extras to a netbox-extras repository, which will inherit the CI from netbox-reports. This repository will be deployed to the netbox hosts via puppet in the way that netbox-reports currently is. Additional requirements for these extras will still be managed via netbox-deploy with scap.

Event Timeline

crusnov created this task.Nov 14 2019, 5:32 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 14 2019, 5:32 PM
crusnov triaged this task as Medium priority.Nov 14 2019, 5:33 PM

As per your request, operations/software/netbox-extra.git was created on Gerrit (rOSNE operations-software-netbox-extra is a mirror).

I have merged the switchover to extras, tested the reports and customscripts, and mv the exsiting checkout of netbox-reports out of the way to make sure netbox is using the new repo. Everything seems to be working correctly, we are now using this repository for reports, customscripts and extra tools for Netbox.

Leaving this ticket open to track the CRs that need to be moved to this repository.

Still need to clean up old repository checkout, and make sure that Netbox is entirely using the entries from netbox-extras.