forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into retrievers-rerank
- Loading branch information
Showing
2,326 changed files
with
87,913 additions
and
28,598 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"upstream" : "elastic/elasticsearch", | ||
"targetBranchChoices" : [ "main", "8.14", "8.13", "8.12", "8.11", "8.10", "8.9", "8.8", "8.7", "8.6", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "6.8" ], | ||
"targetBranchChoices" : [ "main", "8.15", "8.14", "8.13", "8.12", "8.11", "8.10", "8.9", "8.8", "8.7", "8.6", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "6.8" ], | ||
"targetPRLabels" : [ "backport" ], | ||
"branchLabelMapping" : { | ||
"^v8.15.0$" : "main", | ||
"^v8.16.0$" : "main", | ||
"^v(\\d+).(\\d+).\\d+(?:-(?:alpha|beta|rc)\\d+)?$" : "$1.$2" | ||
} | ||
} |
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
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
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
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
20 changes: 0 additions & 20 deletions
20
.buildkite/pipelines/pull-request/bwc-snapshots-windows.yml
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
VALIDATION_SCRIPTS_VERSION=2.5.1 | ||
GRADLE_ENTERPRISE_ACCESS_KEY=$(vault kv get -field=value secret/ci/elastic-elasticsearch/gradle-enterprise-api-key) | ||
export GRADLE_ENTERPRISE_ACCESS_KEY | ||
|
||
curl -s -L -O https://github.com/gradle/gradle-enterprise-build-validation-scripts/releases/download/v$VALIDATION_SCRIPTS_VERSION/gradle-enterprise-gradle-build-validation-$VALIDATION_SCRIPTS_VERSION.zip && unzip -q -o gradle-enterprise-gradle-build-validation-$VALIDATION_SCRIPTS_VERSION.zip | ||
|
||
# Create a temporary file | ||
tmpOutputFile=$(mktemp) | ||
trap "rm $tmpOutputFile" EXIT | ||
|
||
gradle-enterprise-gradle-build-validation/03-validate-local-build-caching-different-locations.sh -r https://github.com/elastic/elasticsearch.git -b $BUILDKITE_BRANCH --gradle-enterprise-server https://gradle-enterprise.elastic.co -t precommit --fail-if-not-fully-cacheable | tee $tmpOutputFile | ||
|
||
# Capture the return value | ||
retval=$? | ||
|
||
# Now read the content from the temporary file into a variable | ||
perfOutput=$(cat $tmpOutputFile | sed -n '/Performance Characteristics/,/See https:\/\/gradle.com\/bvs\/main\/Gradle.md#performance-characteristics for details./p' | sed '$d' | sed 's/\x1b\[[0-9;]*m//g') | ||
investigationOutput=$(cat $tmpOutputFile | sed -n '/Investigation Quick Links/,$p' | sed 's/\x1b\[[0-9;]*m//g') | ||
|
||
# Initialize HTML output variable | ||
summaryHtml="<h4>Performance Characteristics</h4>" | ||
summaryHtml+="<ul>" | ||
|
||
# Process each line of the string | ||
while IFS=: read -r label value; do | ||
if [[ -n "$label" && -n "$value" ]]; then | ||
# Trim whitespace from label and value | ||
trimmed_label=$(echo "$label" | xargs) | ||
trimmed_value=$(echo "$value" | xargs) | ||
|
||
# Append to HTML output variable | ||
summaryHtml+="<li><strong>$trimmed_label:</strong> $trimmed_value</li>" | ||
fi | ||
done <<< "$perfOutput" | ||
|
||
summaryHtml+="</ul>" | ||
|
||
# generate html for links | ||
summaryHtml+="<h4>Investigation Links</h4>" | ||
summaryHtml+="<ul>" | ||
|
||
# Process each line of the string | ||
while IFS= read -r line; do | ||
if [[ "$line" =~ http.* ]]; then | ||
# Extract URL and description using awk | ||
url=$(echo "$line" | awk '{print $NF}') | ||
description=$(echo "$line" | sed -e "s/:.*//") | ||
|
||
# Append to HTML output variable | ||
summaryHtml+=" <li><a href=\"$url\">$description</a></li>" | ||
fi | ||
done <<< "$investigationOutput" | ||
|
||
# End of the HTML content | ||
summaryHtml+="</ul>" | ||
|
||
cat << EOF | buildkite-agent annotate --context "ctx-validation-summary" --style "info" | ||
$summaryHtml | ||
EOF | ||
|
||
# Check if the command was successful | ||
if [ $retval -eq 0 ]; then | ||
echo "Experiment completed successfully" | ||
elif [ $retval -eq 1 ]; then | ||
echo "An invalid input was provided while attempting to run the experiment" | ||
elif [ $retval -eq 2 ]; then | ||
echo "One of the builds that is part of the experiment failed" | ||
elif [ $retval -eq 3 ]; then | ||
echo "The build was not fully cacheable for the given task graph" | ||
elif [ $retval -eq 3 ]; then | ||
echo "An unclassified, fatal error happened while running the experiment" | ||
fi | ||
|
||
exit $retval | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,5 +31,6 @@ BWC_VERSION: | |
- "8.11.4" | ||
- "8.12.2" | ||
- "8.13.4" | ||
- "8.14.2" | ||
- "8.14.4" | ||
- "8.15.0" | ||
- "8.16.0" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
BWC_VERSION: | ||
- "7.17.23" | ||
- "8.14.2" | ||
- "8.14.4" | ||
- "8.15.0" | ||
- "8.16.0" |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,9 @@ | |
{ | ||
"branch": "main" | ||
}, | ||
{ | ||
"branch": "8.15" | ||
}, | ||
{ | ||
"branch": "8.14" | ||
}, | ||
|
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
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
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
Oops, something went wrong.