Repository for shared workflows for collection testing?

felixfontein
Sat, 13 Jan 2024 16:00:17 +0000
Project Discussions

I created a GHA workflow for community.docker that builds the collection and runs Galaxy importer on it: https://github.com/ansible-collections/community.docker/pull/754

It’s inspired from an earlier version I’ve been using in some of my collections which was more rudimentary (you had to specify the collection’s name, instead of extracting it from galaxy.yml, and it didn’t install collection requirements, so you had to modify to workflow to install them if you had any).

Instead of copying it over to other collections (which I currently did), I think it would be better to have this as a shared workflow somewhere that can be simply reused. For collection documentation building on GHA we have a repository with workflows: GitHub - ansible-community/github-docs-build: GitHub actions and workflows for building Ansible collection documentation. (discussion for that: Documentation build process · Issue #59 · ansible-community/community-topics · GitHub).

Do you also think this makes sense to have this as a shared workflow? And if yes, do you think there should be a specific repository for this shared workflow, or should we have a more generic repository which could have this as a shared workflow, and also some other collection CI related workflows?

5 posts - 1 participant