Skip to content
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

[Buildkite] Test Android Staging on ami-0953ca1d949c23a58 #21609

Draft
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

ParaskP7
Copy link
Contributor

@ParaskP7 ParaskP7 commented Jan 24, 2025

Related: a8c-ci-toolkit-buildkite-plugin##142

AMI Name: android-build-image-6.12.0v1.5-rc-1

Description

This PR changes the Buildkite agent from android to android-staging. This change is not meant to be merged, but rather used to verify that the new AMI ami-0953ca1d949c23a58 works as expected.


Before the Change



(*) Although, note that these numbers might not be very representative because trunk is using a dependency cache that is already outdated (5 days has passed since it was last updated, every Sunday).


After the Change




Conclusions

As expected, using ./gradlew downloadDependencies androidDependencies is:

  1. Simpler, much less configuration and reasoning about which tasks to use.
  2. Scalable, no need to add any more tasks to the save-cache.sh script as the project evolves.
  3. Producing a bigger cache,
    • Before: 1076.73 MB
    • After: 1563.65 MB
    • Result: + 486.92 MB more data downloaded, which means even less network requests on CI.
  4. Slower, both in saving and restoring the cache, which is the only drawable:

AMI Name: android-build-image-6.12.0v1.5-rc-1
FYI: This change is done for testing purposes only, and in order to
verify that the newly added 'init.gradle.kts' script is working as
expected.

A8C CI Toolkit PR: [Dependency Cache] Test Custom Init Gradle Task
to Download Dependencies #142
- Automattic/a8c-ci-toolkit-buildkite-plugin#142
This custom 'downloadDependencies' task is part of the Android AMI,
that is utilized by the 'android' agents, and it is becoming available
to all project via the 'init.gradle.kts' script that is included in it.
@ParaskP7 ParaskP7 added Tooling Do Not Merge In PRs with this label, our automation will fail a require check, preventing accidental merging labels Jan 24, 2025
@dangermattic
Copy link
Collaborator

1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jan 24, 2025

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
Versionpr21609-9910c24
Commit9910c24
Direct Downloadjetpack-prototype-build-pr21609-9910c24.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jan 24, 2025

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
Versionpr21609-9910c24
Commit9910c24
Direct Downloadwordpress-prototype-build-pr21609-9910c24.apk
Note: Google Login is not supported on these builds.

@ParaskP7
Copy link
Contributor Author

👋 @wzieba same as with WCAndroid, please take a look! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do Not Merge In PRs with this label, our automation will fail a require check, preventing accidental merging Tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants