Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for cache (0.13 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

            if (taskResult is TaskSuccessResult && !taskResult.isFromCache && !taskResult.isUpToDate) {
                println("CACHE_MISS in task $taskPath")
                cacheMiss.set(true)
            }
        }
    }
    
    
    /**
     *  We monitor some tasks in non-seed builds. If a task executed in a non-seed build, we think it as "CACHE_MISS".
     */
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 07 05:49:29 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. .github/workflows/contributor-pr.yml

    env:
      # Set the DEVELOCITY_ACCESS_KEY so that Gradle Build Scans are generated
      DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
      # Enable debug for the `gradle-build-action` cache operations
      GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
    
    permissions: {}
    
    jobs:
      build:
        name: "Compile All"
        permissions:
          contents: read
        runs-on: ubuntu-latest
        steps:
          - name: git clone
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

    /**
     * A BuildService which monitors a few tasks (in both build-logic and main build) and collects information for build scan.
     * It's currently implemented by two use cases:
     * 1. Collect cache misses for compilation tasks and publish a `CACHE_MISS` tag for build scan.
     * 2. Collect failed task paths and display a link which points to the corresponding task in the build scan, like `https://ge.gradle.org/s/xxx/console-log?task=yyy`.
     */
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 07:01:27 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

                        // Ignore
                        continue
                    }
    
                if (shouldDelete(cacheVersion)) {
                    logger.lifecycle("Removing old cache directory : $cacheDir")
                    delete {
                        delete(cacheDir)
                    }
                }
            }
        }
    }
    
    
    fun FileSystemOperations.removeCachedScripts(cachesDir: File) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/DocsTest.kt

        }
    })
    
    enum class DocsTestType(val ccEnabled: Boolean, val docsTestName: String, val docsTestDesc: String) {
        CONFIG_CACHE_ENABLED(true, "ConfigCacheDocsTest", "Docs Test With Config Cache Enabled"),
        CONFIG_CACHE_DISABLED(false, "DocsTest", "Docs Test"),
    }
    
    class DocsTest(
        model: CIBuildModel,
        stage: Stage,
        os: Os,
        testJava: JvmCategory,
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/projects/CheckProject.kt

            )
            text(
                "reverse.dep.*.additional.gradle.parameters",
                "",
                display = ParameterDisplay.NORMAL,
                allowEmpty = true,
                description = "The extra gradle parameters you want to pass to all dependencies of this build, e.g. `-PrerunAllTests` or `--no-build-cache`"
            )
            text(
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/CompileAll.kt

    class CompileAll(model: CIBuildModel, stage: Stage) : BaseGradleBuildType(stage = stage, init = {
        id(buildTypeId(model))
        name = "Compile All"
        description = "Compiles all production/test source code and warms up the build cache"
    
        features {
            publishBuildStatusToGithub(model)
        }
    
        applyDefaults(
            model,
            this,
            "compileAllBuild -PignoreIncomingBuildReceipt=true -DdisableLocalCache=true",
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Sep 22 09:52:00 GMT 2023
    - 999 bytes
    - Viewed (0)
  8. .github/workflows/codeql-analysis.yml

        - name: Cache Gradle Modules
          uses: actions/cache@v4
          with:
            path: |
              ~/.gradle/caches/modules-2/
              ~/.gradle/caches/build-cache-1/
              ~/.gradle/caches/signatures/
              ~/.gradle/caches/keyrings/
            key: ${{ runner.os }}-gradle-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

        /* the implementation class to collect information from task execution result */
        klass: Class<T>,
        /* which tasks we need to monitor? For example, cache-miss-monitor monitors `AbstractCompile` tasks */
        taskFilter: (Task) -> Boolean,
        /* pass the collected information in build-logic and main build to build scan */
        buildScanAction: BuildScanConfiguration.(Any, Any) -> Unit
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

                description = "The test task you want to run"
            )
            text(
                testNameParameterName,
                """org.gradle.api.tasks.CachedTaskExecutionIntegrationTest.outputs*are*correctly*loaded*from*cache""",
                display = ParameterDisplay.PROMPT,
                allowEmpty = false,
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top