-
Notifications
You must be signed in to change notification settings - Fork 137
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
ParaskP7
wants to merge
18
commits into
trunk
Choose a base branch
from
ci/enable-dependency-cache-on-ci
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+51
−3
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ParaskP7
added
category: tooling
Anything that involves building & maintaining the project, including scripts, `Fastfile`, etc.
Core
status: do not merge
Dependent on another PR, ready for review but not ready for merge.
labels
Dec 12, 2024
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
4 tasks
ParaskP7
force-pushed
the
ci/enable-dependency-cache-on-ci
branch
7 times, most recently
from
December 13, 2024 13:12
5036933
to
91c8676
Compare
ParaskP7
changed the title
[Dependency Cache] Enable Dependency Cache on CI
[Dependency Cache] Enable Dependency Cache on CI [Test Only]
Dec 16, 2024
ParaskP7
force-pushed
the
ci/enable-dependency-cache-on-ci
branch
from
December 16, 2024 14:11
891e39e
to
640942f
Compare
Generated by 🚫 Danger |
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
ParaskP7
force-pushed
the
ci/enable-dependency-cache-on-ci
branch
6 times, most recently
from
December 17, 2024 15:35
c428113
to
d31164c
Compare
FYI: This job will be then used by 'buildkite-ci' and configured as a 'buildkite_pipeline_schedule' with a weekly frequency.
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.
This change points to that remote branch and commit where the 'GRADLE_RO_DEP_CACHE' environment variable is not set, and thus not pointing to the directory containing the cache.
This should be now done automatically and via this another standard Buildkite environment variable being the prefix, the 'BUILDKITE_PIPELINE_SLUG' environment variable. For more info see: https://github.com/Automattic/ a8c-ci-toolkit-buildkite-plugin/pull/134/commits/ 4d3f80b9f113076c9a8698f08d137ed591426150
This change effectively reverts this initial 2b9213a commit.
ParaskP7
force-pushed
the
ci/enable-dependency-cache-on-ci
branch
from
December 19, 2024 10:46
eea5e8c
to
93bfc61
Compare
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
4 tasks
…to ci/enable-dependency-cache-on-ci
ParaskP7
force-pushed
the
ci/enable-dependency-cache-on-ci
branch
from
December 20, 2024 13:53
4af8801
to
e6f3975
Compare
…to ci/enable-dependency-cache-on-ci
…to ci/enable-dependency-cache-on-ci
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
category: tooling
Anything that involves building & maintaining the project, including scripts, `Fastfile`, etc.
Core
status: do not merge
Dependent on another PR, ready for review but not ready for merge.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related: #13170
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.
Testing information
N/A
Tip
To verify that
GRADLE_RO_DEP_CACHE
is enabled make sure you do see thisShared read-only dependency cache is an incubating feature.
log when Gradle launches for a CI build (example).The tests that have been performed
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: