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

[Dependency Cache] Enable Dependency Cache on CI [with GRADLE_RO_DEP_CACHE] #21540

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

Conversation

ParaskP7
Copy link
Contributor

@ParaskP7 ParaskP7 commented Dec 17, 2024

Related: #21550

Description:

This is a test only PR that attempts to test the existing dependency cache mechanism, one that does dependent on the read-only cache (GRADLE_RO_DEP_CACHE), but per project.


To Test:

N/A

Tip

To verify that GRADLE_RO_DEP_CACHE is enabled make sure you do see this Shared read-only dependency cache is an incubating feature. log when Gradle launches for a CI build (example).


Regression Notes: N/A


PR Submission Checklist:

  • I have completed the Regression Notes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

Testing Checklist (strike-out the not-applying and unnecessary ones): N/A

FYI: This job will be then used by 'buildkite-ci' and configured as a
'buildkite_pipeline_schedule' with a weekly frequency.
The automatically assigned standard 'BUILDKITE_PIPELINE_SLUG'
environment variable is effectively being used as the project prefix.

For more info see: https://github.com/Automattic/
a8c-ci-toolkit-buildkite-plugin/pull/134/commits/
4d3f80b9f113076c9a8698f08d137ed591426150

------------------------------------------------------------------------

This change also brings-in a couple more improvements:
- Measure how long it takes to save/restore the cache.
- Measure the (un)compressed cache size during save/restore.
@ParaskP7 ParaskP7 added Core Tooling Do Not Merge In PRs with this label, our automation will fail a require check, preventing accidental merging labels Dec 17, 2024
@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 Dec 17, 2024

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
Versionpr21540-f7021b0
Commitf7021b0
Direct Downloadjetpack-prototype-build-pr21540-f7021b0.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Dec 17, 2024

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
Versionpr21540-f7021b0
Commitf7021b0
Direct Downloadwordpress-prototype-build-pr21540-f7021b0.apk
Note: Google Login is not supported on these builds.

@ParaskP7 ParaskP7 force-pushed the ci/enable-dependency-cache-on-ci branch from 6fa56bb to 0a0731b Compare December 19, 2024 10:47
@ParaskP7 ParaskP7 changed the title [Dependency Cache] Enable Dependency Cache on CI [Test Only] [Dependency Cache] Enable Dependency Cache on CI [with GRADLE_RO_DEP_CACHE] Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core 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