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] #13122

Draft
wants to merge 18 commits into
base: trunk
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
c258762
CI: Temporarily remove all pipeline steps expect for the prototype build
ParaskP7 Dec 12, 2024
6a5af1e
CI: Add a scheduled dependency cache job
ParaskP7 Dec 12, 2024
ad88dd7
CI: Add project prefix env to distinguish gradle dependency cache key
ParaskP7 Dec 12, 2024
7767fb4
CI: Test with shared read-only dependency cache
ParaskP7 Dec 12, 2024
5218c4e
CI: Echo on gradle ro dep cache environment variable
ParaskP7 Dec 12, 2024
9685af5
CI: Test without shared read-only dependency cache
ParaskP7 Dec 13, 2024
51ac5fc
CI: Remove project prefix env to distinguish gradle dependency cache key
ParaskP7 Dec 16, 2024
8487e3d
CI: Measure how long it takes to save/restore the cache
ParaskP7 Dec 16, 2024
4ba57b7
CI: Cache all dependencies as part of the scheduled dependency cache job
ParaskP7 Dec 16, 2024
fb26e91
CI: Revert the removal of all pipeline steps
ParaskP7 Dec 16, 2024
7e94cdc
CI: Measure the (un)compressed cache size during save/restore
ParaskP7 Dec 17, 2024
cec496c
CI: Add extra echo to force buildkite ci show the expandable sections
ParaskP7 Dec 17, 2024
93bfc61
CI: Add and improve download/save/restore cache logs
ParaskP7 Dec 17, 2024
e6f3975
Merge branch 'trunk' of github.com:woocommerce/woocommerce-android in…
ParaskP7 Dec 20, 2024
33b1a0c
Merge branch 'trunk' of github.com:woocommerce/woocommerce-android in…
ParaskP7 Dec 20, 2024
f734d5b
Merge branch 'trunk' of github.com:woocommerce/woocommerce-android in…
ParaskP7 Jan 7, 2025
d4632b8
CI: Disable restore cache
ParaskP7 Jan 8, 2025
ff41696
CI: Enable restore cache
ParaskP7 Jan 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CI: Test with shared read-only dependency cache
This change points to that remote branch and commit where the
'GRADLE_RO_DEP_CACHE' environment variable is indeed set, and thus is
indeed pointing to the directory containing the cache.
  • Loading branch information
ParaskP7 committed Dec 19, 2024
commit 7767fb48eaa87c1b10d4375cec7efb89004bcaa6
6 changes: 3 additions & 3 deletions .configure
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"project_name": "woocommerce-android",
"branch": "trunk",
"pinned_hash": "50ebed193db7cab11a2d299fdd478b7600055cbf",
"branch": "gradle/add-shared-read-only-dependency-cache",
"pinned_hash": "d05fe1f39c3b152324f5fbda36bf5ad18cea2824",
"files_to_copy": [
{
"file": "android/WCAndroid/secrets.properties",
Expand Down Expand Up @@ -40,4 +40,4 @@
}
],
"file_dependencies": []
}
}