Skip to content

Commit

Permalink
[8.12](backport #3928) Perform a shallow clone for the beats repo (#4026
Browse files Browse the repository at this point in the history
)

* Perform a shallow clone for the beats repo (#3928)

Signed-off-by: Alexandros Sapranidis <[email protected]>
Co-authored-by: Michal Pristas <[email protected]>
(cherry picked from commit 3fe6d32)

# Conflicts:
#	.buildkite/scripts/steps/beats_tests.sh

* Update .buildkite/scripts/steps/beats_tests.sh

---------

Co-authored-by: Alexandros Sapranidis <[email protected]>
Co-authored-by: Craig MacKenzie <[email protected]>
  • Loading branch information
3 people authored Jan 5, 2024
1 parent 8744ca0 commit 8ea6d21
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 @@ -13,7 +13,7 @@ STACK_PROVISIONER="${1:-"serverless"}"

run_test_for_beat(){
local beat_name=$1

#build
export WORKSPACE="build/beats/x-pack/${beat_name}"
SNAPSHOT=true PLATFORMS=linux/amd64 PACKAGES=tar.gz,zip mage package
Expand All @@ -36,7 +36,7 @@ mage -l
mkdir -p build
cd build

git clone --filter=tree:0 [email protected]:elastic/beats.git
git clone --depth=1 [email protected]:elastic/beats.git
cd ..

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

0 comments on commit 8ea6d21

Please sign in to comment.