registry
registry copied to clipboard
Validate new providers
Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Before a provider is added to the Pulumi Registry, it needs to have a valid schema and valid docs. We should run a check on changes to community-packages/package-list.json, ensuring that any added package is valid. This could be as simple as invoking resourcedocsgen premptily (not just after the merge):
https://github.com/pulumi/registry/blob/3d046d0aeeaebca0cf8641b475ed9cfc7f1399c8/.github/workflows/generate-package-metadata.yml#L74-L81
That would guarantee that the first published version would be correct.
Affected area/feature
This would have prevented #6488.