File tree Expand file tree Collapse file tree 4 files changed +61
-3
lines changed Expand file tree Collapse file tree 4 files changed +61
-3
lines changed Original file line number Diff line number Diff line change 1+ steps :
2+ - label : " {{matrix.GRADLE_TASK}}"
3+ command : .buildkite/scripts/cuvs-snapshot/run-gradle.sh -Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-file-fingerprints {{matrix.GRADLE_TASK}}
4+ timeout_in_minutes : 300
5+ agents :
6+ provider : gcp
7+ image : family/elasticsearch-ubuntu-2404-nvidia
8+ machineType : g2-standard-32
9+ buildDirectory : /dev/shm/bk
10+ matrix :
11+ setup :
12+ GRADLE_TASK :
13+ - checkPart1
14+ - checkPart2
15+ - checkPart3
16+ - checkPart4
17+ - checkPart5
18+ - checkPart6
19+ env :
20+ GRADLE_TASK : " {{matrix.GRADLE_TASK}}"
Original file line number Diff line number Diff line change 1+ steps :
2+ - label : " Smoke test and update new cuVS snapshot"
3+ command : .buildkite/scripts/cuvs-snapshot/update-current-snapshot-version.sh
4+ agents :
5+ provider : gcp
6+ image : family/elasticsearch-ubuntu-2404-nvidia
7+ machineType : g2-standard-16
8+ zones : us-central1-a
9+ diskSizeGb : 150
10+ - wait : ~
11+ - trigger : " elasticsearch-cuvs-run-tests"
12+ build :
13+ branch : " ${BUILDKITE_BRANCH}"
14+ async : true
Original file line number Diff line number Diff line change 1+ config :
2+ allow-labels : test-gpu
3+ steps :
4+ - group : gpu-tests
5+ steps :
6+ - label : " {{matrix.CHECK_TASK}} / gpu-tests"
7+ key : " packaging-tests-unix"
8+ command : .buildkite/scripts/cuvs-snapshot/run-gradle.sh -Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-file-fingerprints {{matrix.GRADLE_TASK}}
9+ timeout_in_minutes : 300
10+ matrix :
11+ setup :
12+ CHECK_TASK :
13+ - checkPart1
14+ - checkPart2
15+ - checkPart3
16+ - checkPart4
17+ - checkPart5
18+ - checkPart6
19+ agents :
20+ provider : gcp
21+ image : family/elasticsearch-ubuntu-2404-nvidia
22+ machineType : g2-standard-32
23+ buildDirectory : /dev/shm/bk
24+ env :
25+ GRADLE_TASK : " {{matrix.GRADLE_TASK}}"
Original file line number Diff line number Diff line change 33set -euo pipefail
44
55SNAPSHOT_VERSION_FILE=.buildkite/scripts/cuvs-snapshot/current-snapshot-version
6- PLUGIN_GRADLE_FILE=x-pack/plugin/gpu/build.gradle
76BRANCH_TO_UPDATE=" ${BRANCH_TO_UPDATE:- ${BUILDKITE_BRANCH:- cuvs-snapshot} } "
87
98if [[ -z " ${CUVS_SNAPSHOT_VERSION:- } " ]]; then
@@ -22,15 +21,15 @@ source .buildkite/scripts/cuvs-snapshot/configure.sh
2221if [[ " ${SKIP_TESTING:- } " != " true" ]]; then
2322 echo " --- Testing snapshot before updating"
2423 ./gradlew -Druntime.java=24 :x-pack:plugin:gpu:yamlRestTest -S
25- fi
24+ fi
2625
2726echo " --- Updating snapshot"
2827
2928echo " $CUVS_SNAPSHOT_VERSION " > " $SNAPSHOT_VERSION_FILE "
3029
3130CURRENT_SHA=" $( gh api " /repos/elastic/elasticsearch/contents/$SNAPSHOT_VERSION_FILE ?ref=$BRANCH_TO_UPDATE " | jq -r .sha) " || true
3231
33- echo gh api -X PUT " /repos/elastic/elasticsearch/contents/$SNAPSHOT_VERSION_FILE " \
32+ gh api -X PUT " /repos/elastic/elasticsearch/contents/$SNAPSHOT_VERSION_FILE " \
3433 -f branch=" $BRANCH_TO_UPDATE " \
3534 -f message=" Update cuvs snapshot version to $CUVS_VERSION " \
3635 -f content=" $( base64 -w 0 " $WORKSPACE /$SNAPSHOT_VERSION_FILE " ) " \
You can’t perform that action at this time.
0 commit comments