CacheableTaskProgressEventsCrossVersionSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Copy remote cache artifacts into local cache 2

Fixes some issues and improves test coverage

    • -18
    • +10
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 12 more files in changeset.
Fix/ignore failing tests

    • -0
    • +3
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 2 more files in changeset.
Store artifacts from the remote cache in the local cache

When the default local directory build cache is used, we use an optimized

way to store the downloaded artifact in the cache. Using a custom local

cache, or with the local cache disabled, a temporary file will be used

to store the downloaded artifact.

Packing is also separated from uploading to the remote cache. Again,

when the default directory cache is used to store the cached artifact in

the local cache before uploading it to the remote cache. With a custom

local cache, or when a local cache is not enabled, task outputs will be

stored in a temporary file before uploading.

Build operations are emitted separately for packing, unpacking,

uploading and downloading the cache artifact.

    • -0
    • +11
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 56 more files in changeset.
Split TAPI tests to dedicated source sets

    • -141
    • +0
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 346 more files in changeset.
Some tweaks to build operation display names, for consistency.

    • -2
    • +2
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 4 more files in changeset.
Fixes for int tests broken for tapi versions that do not support progress events.

    • -4
    • +4
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 13 more files in changeset.
Some fixes to tapi test fixtures to allow them to work with tapi versions that don't support `StatusEvent`.

    • -4
    • +4
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 15 more files in changeset.
Fix build cache naming

+review REVIEW-6464

    • -2
    • +2
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 7 more files in changeset.
Allow any build cache as the local one

    • -2
    • +2
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 9 more files in changeset.
Rename LocalBuildCache to DirectoryBuildCache

+review REVIEW-6464

    • -3
    • +3
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 16 more files in changeset.
Use >=3.5 vs >3.4 so we don't test against 3.4.1

    • -2
    • +2
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 1 more file in changeset.
Cleanup build operations when using two caches

We had a strange hierarchy of build operations when using two caches.

This is why we do not create build operations for the

DispatchingBuildCacheService anymore. While I was at it I also combined

the Lenient decorator with the ShortCircuiting decorator. I also needed

to add the description of the cache to the error message since we fail

if there are two build operations of the same name.

+review REVIEW-6455

    • -0
    • +135
    ./CacheableTaskProgressEventsCrossVersionSpec.groovy
  1. … 7 more files in changeset.