netbox-community / ansible_modules

NetBox modules for Ansible using Ansible Collections
GNU General Public License v3.0
305 stars 198 forks source link

[Housekeeping]: Add galaxy-importer to CI process #1245

Closed jeffgdotorg closed 1 month ago

jeffgdotorg commented 1 month ago

Proposed Changes

You may want to use galaxy-importer in your CI process. This importer tool is what we use in our import pipeline to run tests.

Use galaxy-importer to run all import tests and replicate the entirety of the Galaxy import pipeline. Here is a template for running this in Github workflows.

Note - to replicate all checks, you will need to set the following options to True in a galaxy-importer.cfg file: CHECK_CHANGELOG, REQUIRE_V1_OR_LATER, RUN_ANSIBLE_DOC, CHECK_REQUIRED_TAGS, and RUN_ANSIBLE_LINT. See the full list of configuration options here.

Justification

Bring CI coverage into line with Ansible Galaxy best practices.