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
tasks.named("e2eTest") { | |
val dockerImageIdsProvider = providers.provider { | |
val dockerImageIds = mutableMapOf<String,String>() | |
layout.projectDirectory.file("src/test/resources/docker-images.txt").asFile.forEachLine { dockerImageName -> | |
val dockerImageId = providers.exec { | |
commandLine("docker", "images", dockerImageName, "--format", "{{.ID}}") | |
}.standardOutput.asText.getOrElse("not-found-${UUID.randomUUID()}") | |
logger.info("Adding input $dockerImageName=$dockerImageId") | |
dockerImageIds.put(dockerImageName,dockerImageId) | |
} |
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
#!/bin/bash | |
# Parse CLI arguments | |
if [[ $# -lt 3 ]]; then | |
echo "Usage: $0 <develocity_url> <access_key> <yyyy-mm>" | |
exit 1 | |
fi | |
# Init parameters | |
readonly develocityUrl=$1 |
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
<profiles> | |
<profile> | |
<id>local</id> | |
<activation> | |
… | |
</activation> | |
<properties> | |
<develocity.quarkus.dump.config.suffix>config-check-local</develocity.quarkus.dump.config.suffix> | |
</properties> | |
</profile> |
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
<plugin> | |
<groupId>${quarkus.platform.group-id}</groupId> | |
<artifactId>quarkus-maven-plugin</artifactId> | |
<version>${quarkus.platform.version}</version> | |
<extensions>true</extensions> | |
<executions> | |
<execution> | |
<id>track-prod-config-changes</id> | |
<phase>process-resources</phase> | |
<goals> |
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
<properties> | |
<quarkus.config-tracking.enabled>true</quarkus.config-tracking.enabled> | |
</properties> |
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
<extensions> | |
<extension> | |
<groupId>com.gradle</groupId> | |
<artifactId>develocity-maven-extension</artifactId> | |
<version>1.22</version> | |
</extension> | |
<extension> | |
<groupId>com.gradle</groupId> | |
<artifactId>quarkus-build-caching-extension</artifactId> | |
<version>1.8</version> |
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
jq '.content | | |
map({ | |
task:.target, | |
meanExecutionDurationMs: .meanExecutionDurationMs, | |
AFFECTED_BY_RECENT_CHANGES: .unavoidableReasonAggregation[0], | |
FAILURE_RATE:.unavoidableReasonAggregation[1], | |
USEFUL_SIGNAL:.unavoidableReasonAggregation[2], | |
CHANGED:.unavoidableReasonAggregation[3], | |
RECENTLY_FAILED:.unavoidableReasonAggregation[4], | |
FAILED_WITH_SAME_INPUTS:.unavoidableReasonAggregation[5], |
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
import com.gradle.scan.plugin.BuildScanExtension | |
import org.gradle.util.internal.VersionNumber | |
import java.nio.charset.StandardCharsets | |
import java.util.Collections | |
import java.util.Optional | |
import java.util.jar.JarFile | |
import java.util.stream.Stream | |
import java.util.stream.Collectors | |
/** |
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
#!/bin/bash | |
# Call with | |
# ./process-scans-for-remote-cache-errors.sh <GE_URL> <GE_ACCESS_TOKEN> <NB_DAYS_FROM_NOW> | |
# This will count the build scans belonging to the date range [NOW, NOW - <NB_DAYS_FROM_NOW> days] with push enabled and remote cache disabled due to an error | |
# init parameters | |
readonly geUrl=$1 | |
readonly bearerToken=$2 | |
readonly daysAgo=$3 |
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
#!/bin/bash | |
# init parameters | |
readonly geUrl=$1 | |
readonly bearerToken=$2 | |
readonly daysAgo=$3 | |
# init global vars | |
readonly maxBuildsPerBatch=100 | |
readonly recoveryFile="$0.out.build-scan-id" |
NewerOlder