dd-trace-java icon indicating copy to clipboard operation
dd-trace-java copied to clipboard

Gitlab build cache improvements

Open randomanderson opened this issue 1 year ago • 1 comments

What Does This Do

Improves the gradle build cache when running the build in gitlab. The setup closely matches that of CircleCI.

There are 2 caches: a dependency cache and build cache. The dependency cache contains the gradle wrapper and all maven dependencies. The build cache is a cache of the currently running pipeline. Both caches can be controlled on a per-job basis using variables.

Motivation

Fixing the cache is important for #6837 .

Additional Notes

https://github.com/DataDog/auto_inject/pull/172 must be merged before this to use the proper gitlab runners.

randomanderson avatar Apr 25 '24 11:04 randomanderson

Converting to a draft while I investigate more tweaks

randomanderson avatar Apr 25 '24 15:04 randomanderson

This pull request has been marked as stale because it has not had activity over the past quarter. It will be closed in 7 days if no further activity occurs. Feel free to reopen the PR if you are still working on it.

github-actions[bot] avatar Nov 01 '24 03:11 github-actions[bot]

This pull request has been closed because it has not had activity over the past quarter. Feel free to reopen the PR if you are still working on it.

github-actions[bot] avatar Dec 01 '24 03:12 github-actions[bot]