-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CI check to validate package.resolved #643
Add CI check to validate package.resolved #643
Conversation
|
App Name | ||
Build Number | 2038 | |
Version | 1.0 | |
Bundle ID | com.automattic.gravatar-sdk-demo-uikit.prototype-build | |
Commit | 2485922 | |
App Center Build | Gravatar SDK Demo - UIKit #563 |
The new "Package.resolved" step fails as expected: And the logs show the modified
|
I reverted the
|
FYI we already have helpers for that in our a8c-ci-toolkit 🙃 (And even if it were to happen not to cover everything you wanted it'd probably be worth implementing any more of such checks in a8c-ci-toolkit directly so that all projects could benefit from them) |
Thanks for this. I can move the logic into the pipeline, and then use this to update the But perhaps, as you said, this is an opportunity to update the toolkit. I could add a flag to this plugin (e.g. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great 🎉
I also forgot to mention1 that for the specific case of detecting if Don't hesitate yo ask @iangmaia for assistance or additional info on those too, as he's the one who worked on Dangermattic the most. Footnotes
|
Ah thanks for finding the Danger plugin. This seems like a better first for what we need. I'll investigate, and likely replace this. |
Closes #642
Description
This adds a CI check to verify that the
Package.resolved
files are current. The pattern in this repo is to make the Makefile the source of truth for configuration settings (like the project scheme, in thie case), and then to have CI call the makefile task. So this PR follows that pattern.Testing Steps
There is currently an out-of-date Package.resolved in the Demo project. We will fix that in this PR. For now, this branch does not contain the fix. So the new CI step should fail.
Once that test has failed, I will merge the updated
Package.resolved
.Once this PR has merged into
release/3.2.0
(with this fix), and once the back merge intotrunk
has merged, I will update the settings fortrunk
to require the new check.