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 apmdata-fixes
- Loading branch information
Showing
253 changed files
with
4,011 additions
and
1,456 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
|
||
ROOT_DIR=$(cd "$(dirname "$0")/.." && pwd) | ||
|
||
branches=($(cat "$ROOT_DIR/branches.json" | jq -r '.branches[].branch')) | ||
for branch in "${branches[@]}"; do | ||
echo "Resolving dependencies for ${branch} branch" | ||
rm -rf "checkout/$branch" | ||
git clone /opt/git-mirrors/elastic-elasticsearch --branch "$branch" --single-branch "checkout/$branch" | ||
|
||
CHECKOUT_DIR=$(cd "./checkout/${branch}" && pwd) | ||
CI_DIR="$CHECKOUT_DIR/.ci" | ||
|
||
if [ "$(uname -m)" = "arm64" ] || [ "$(uname -m)" = "aarch64" ]; then | ||
## On ARM we use a different properties file for setting java home | ||
## Also, we don't bother attempting to resolve dependencies for the 6.8 branch | ||
source "$CI_DIR/java-versions-aarch64.properties" | ||
export JAVA16_HOME="$HOME/.java/jdk16" | ||
else | ||
source "$CI_DIR/java-versions.properties" | ||
## We are caching BWC versions too, need these so we can build those | ||
export JAVA8_HOME="$HOME/.java/java8" | ||
export JAVA11_HOME="$HOME/.java/java11" | ||
export JAVA12_HOME="$HOME/.java/openjdk12" | ||
export JAVA13_HOME="$HOME/.java/openjdk13" | ||
export JAVA14_HOME="$HOME/.java/openjdk14" | ||
export JAVA15_HOME="$HOME/.java/openjdk15" | ||
export JAVA16_HOME="$HOME/.java/openjdk16" | ||
fi | ||
|
||
export JAVA_HOME="$HOME/.java/$ES_BUILD_JAVA" | ||
"checkout/${branch}/gradlew" --project-dir "$CHECKOUT_DIR" --parallel -s resolveAllDependencies -Dorg.gradle.warning.mode=none -DisCI | ||
rm -rf "checkout/${branch}" | ||
done |
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 |
---|---|---|
|
@@ -65,6 +65,7 @@ BWC_VERSION: | |
- "7.17.14" | ||
- "7.17.15" | ||
- "7.17.16" | ||
- "7.17.17" | ||
- "8.0.0" | ||
- "8.0.1" | ||
- "8.1.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,5 +1,5 @@ | ||
BWC_VERSION: | ||
- "7.17.16" | ||
- "7.17.17" | ||
- "8.11.4" | ||
- "8.12.0" | ||
- "8.13.0" |
Validating CODEOWNERS rules …
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
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.