Skip to content

Commit

Permalink
Perform a shallow clone for the beats repo (#3928)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Sapranidis <[email protected]>
Co-authored-by: Michal Pristas <[email protected]>
  • Loading branch information
alexsapran and michalpristas authored Jan 5, 2024
1 parent 7cf5af8 commit 3fe6d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/scripts/steps/beats_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ STACK_PROVISIONER="${1:-"serverless"}"
run_test_for_beat(){
export GOFLAGS='-buildvcs=false'
local beat_name=$1

#build
export WORKSPACE="/tmp/beats-build/beats/x-pack/${beat_name}"
pushd $WORKSPACE
Expand Down Expand Up @@ -43,7 +43,7 @@ mage -l
mkdir -p /tmp/beats-build
pushd /tmp/beats-build

git clone [email protected]:elastic/beats.git
git clone --depth=1 [email protected]:elastic/beats.git
popd

# export WORKSPACE=beats/x-pack/metricbeat
Expand Down

0 comments on commit 3fe6d32

Please sign in to comment.