Skip to content

Commit eb9dfeb

Browse files
committed
Always update cuvs-java
1 parent 66e24c0 commit eb9dfeb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.buildkite/scripts/cuvs-snapshot/update-current-snapshot-version.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ echo "--- Updating snapshot"
2828

2929
echo "$CUVS_SNAPSHOT_VERSION" > "$SNAPSHOT_VERSION_FILE"
3030

31-
# CURRENT_SHA="$(gh api "/repos/elastic/elasticsearch/contents/$SNAPSHOT_VERSION_FILE?ref=$BRANCH_TO_UPDATE" | jq -r .sha)"
32-
CURRENT_SHA=test
31+
CURRENT_SHA="$(gh api "/repos/elastic/elasticsearch/contents/$SNAPSHOT_VERSION_FILE?ref=$BRANCH_TO_UPDATE" | jq -r .sha)" || true
3332

3433
echo gh api -X PUT "/repos/elastic/elasticsearch/contents/$SNAPSHOT_VERSION_FILE" \
3534
-f branch="$BRANCH_TO_UPDATE" \

x-pack/plugin/gpu/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ repositories {
2020
dependencies {
2121
compileOnly project(path: xpackModule('core'))
2222
compileOnly project(':server')
23-
implementation 'com.nvidia.cuvs:cuvs-java:25.10.0'
23+
implementation('com.nvidia.cuvs:cuvs-java:25.10.0') {
24+
changing = true // Ensure that we get updates even when the version number doesn't change. We can remove this once things stabilize
25+
}
2426
testImplementation(testArtifact(project(xpackModule('core'))))
2527
testImplementation(testArtifact(project(':server')))
2628
clusterModules project(xpackModule('gpu'))

0 commit comments

Comments
 (0)