To prevent problems like https://bugzilla.mozilla.org/show_bug.cgi?id=1737656 from recurring, we should use a similar approach as mozilla-pipeline-schemas, and show what any changes to the schema as a result of a push might look like via a ci bot.
The rough procedure we want to automate is here:
https://github.com/mozilla/mozilla-schema-generator#development-and-testing
Off the top of my head, I can think of two alternatives for getting the schemas to compare against (perhaps @jklukas can think of others):
- Compare against running the schema generation process against main (basically what the instructions say to do right now).
- Compare against what's in mozilla-pipeline-schemas generated-schemas branch.
Prior Art
Example of MPS's CI bot in action:
mozilla-services/mozilla-pipeline-schemas#646 (comment)
The implementation, I believe, is defined here:
To prevent problems like https://bugzilla.mozilla.org/show_bug.cgi?id=1737656 from recurring, we should use a similar approach as mozilla-pipeline-schemas, and show what any changes to the schema as a result of a push might look like via a ci bot.
The rough procedure we want to automate is here:
https://github.com/mozilla/mozilla-schema-generator#development-and-testing
Off the top of my head, I can think of two alternatives for getting the schemas to compare against (perhaps @jklukas can think of others):
Prior Art
Example of MPS's CI bot in action:
mozilla-services/mozilla-pipeline-schemas#646 (comment)
The implementation, I believe, is defined here: