mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 14:26:27 +00:00
Build: Use a deep clone of ES for ci (elastic/x-pack-elasticsearch#840)
WIth the addition of building the backcompat version in elasticsearch, a shallow clone no longer works, as we need to have eg 5.x branch available. This change removes the depth argument from cloning elasticsearch. Original commit: elastic/x-pack-elasticsearch@3d89fe92ec
This commit is contained in:
parent
ea273ab67e
commit
0255c45f1f
@ -95,7 +95,7 @@ if [ -z ${USE_EXISTING_ES:+x} ]; then
|
||||
BRANCH=$PR_TARGET_BRANCH
|
||||
fi
|
||||
echo "Checking out Elasticsearch '$BRANCH' branch..."
|
||||
git clone -b $BRANCH https://github.com/elastic/elasticsearch.git --depth=1
|
||||
git clone -b $BRANCH https://github.com/elastic/elasticsearch.git
|
||||
printf "Checked out Elasticsearch revision: %s\n" "$(git -C elasticsearch rev-parse HEAD)"
|
||||
else
|
||||
if [ -d "./elasticsearch" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user