Skip to content

Conversation

@AliSoftware
Copy link
Contributor

@AliSoftware AliSoftware commented Feb 8, 2023

Similar to wordpress-mobile/WordPress-iOS#20071

What?

Improve Prototype (aka Installable) Builds in a couple of ways:

  • Make the PR comment announcing the Prototype build QR code and information nicer
    • In particular, the QR code and URLs now directly links to the appropriate build on App Center, instead of defaulting to show the latest build in App Center as before
  • Attach Buildkite metadata to the CI build with relevant infos
  • Add a Buildkite annotation to the CI build with relevant infos

To test:

  • Check that the PR got two PR comments, providing the information for the WordPress and Jetpack Prototype builds respectively, and verify that the information about those builds displayed in the table is accurate
  • Scan the QR code (and/or follow the URL) and validate that it directly redirects you to download the APK and successfully allows you to install that APK on your test device. Repeat for each app (WP/JP)
  • Open the page for the last Buildkite build for this PR and validate that there are 2 annotations (one for WP, one for JP) containing the link to download the Prototype Build APK
  • Add /meta-data at the end of the URL of that last Buildkite build (e.g. like this) and validate that the metadata attached to the build are correct.

@AliSoftware AliSoftware force-pushed the tooling/prototype-build-metadata branch from 9d4b54b to fb102ea Compare March 9, 2023 15:50
@AliSoftware AliSoftware force-pushed the tooling/prototype-build-metadata branch from fb102ea to 09ea28a Compare March 9, 2023 17:36
@wpmobilebot
Copy link
Contributor

wpmobilebot commented Mar 9, 2023

Jetpack📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack Jetpack
FlavorJalapeno
Build TypeDebug
Versionpr17926-063d16c
Commit063d16c
Direct Downloadjetpack-prototype-build-pr17926-063d16c.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Mar 9, 2023

WordPress📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress WordPress
FlavorJalapeno
Build TypeDebug
Versionpr17926-063d16c
Commit063d16c
Direct Downloadwordpress-prototype-build-pr17926-063d16c.apk
Note: Google Login is not supported on these builds.

@AliSoftware AliSoftware marked this pull request as ready for review March 9, 2023 18:55
@AliSoftware AliSoftware requested a review from a team March 9, 2023 18:55
@wordpress-mobile wordpress-mobile deleted a comment from wpmobilebot Mar 9, 2023
@wordpress-mobile wordpress-mobile deleted a comment from wpmobilebot Mar 9, 2023
@peril-wordpress-mobile
Copy link

Warnings
⚠️ PR is not assigned to a milestone.

Generated by 🚫 dangerJS

@AliSoftware AliSoftware added this to the 22.0 milestone Mar 9, 2023
@ParaskP7 ParaskP7 self-assigned this Mar 13, 2023
Copy link
Contributor

@ParaskP7 ParaskP7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 @AliSoftware !

I have reviewed and tested this PR as per the instructions, everything works as expected, good job replacing our custom comment configuration with prototype_build_details_comment(...)! 🌟 🌟 🌟


  • Check that the PR got two PR comments, providing the information for the WordPress and Jetpack Prototype builds respectively, and verify that the information about those builds displayed in the table is accurate
  • Scan the QR code (and/or follow the URL) and validate that it directly redirects you to download the APK and successfully allows you to install that APK on your test device. Repeat for each app (WP/JP)
  • Open the page for the last Buildkite build for this PR and validate that there are 2 annotations (one for WP, one for JP) containing the link to download the Prototype Build APK
  • Add /meta-data at the end of the URL of that last Buildkite build (e.g. like this) and validate that the metadata attached to the build are correct.

@ParaskP7 ParaskP7 merged commit 21e4eea into trunk Mar 13, 2023
@ParaskP7 ParaskP7 deleted the tooling/prototype-build-metadata branch March 13, 2023 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants