Skip to content

Commit 89c7225

Browse files
authored
Update beats to 7.11.1 (#406)
- Make sure we ship the OSS version - Add prepare-package as a dependency for package-windows (cherry picked from commit ff73bb9)
1 parent 8ebf5d3 commit 89c7225

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ package-linux32: ## Create Linux i386 system package
9797
fpm-cook -t deb package dist/recipe32.rb
9898
fpm-cook -t rpm package dist/recipe32.rb
9999

100-
package-windows: ## Create Windows installer
100+
package-windows: prepare-package ## Create Windows installer
101101
@mkdir -p dist/pkg
102102
makensis -DVERSION=$(COLLECTOR_VERSION) -DVERSION_SUFFIX=$(COLLECTOR_VERSION_SUFFIX) -DREVISION=$(COLLECTOR_REVISION) dist/recipe.nsi
103103
dist/chocolatey/gensha.sh $(COLLECTOR_VERSION) $(COLLECTOR_REVISION) $(COLLECTOR_VERSION_SUFFIX)

dist/fetch_collectors.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

33
ARCHS=( x86 x86_64 )
4-
FILEBEAT_VERSION=7.6.2
5-
WINLOGBEAT_VERSION=7.6.2
4+
FILEBEAT_VERSION=7.11.1
5+
WINLOGBEAT_VERSION=7.11.1
66

77
# $1: beat name
88
# $2: beat operating system
@@ -21,7 +21,7 @@ download_beat()
2121
archive="/tmp/${name}-${version}-${os}-${arch}.zip"
2222
if [ ! -f $archive ]; then
2323
echo "==> Downloading ${name}-${version}-${os}-${arch}"
24-
curl -o $archive https://artifacts.elastic.co/downloads/beats/${name}/${name}-${version}-${os}-${arch}.zip
24+
curl -o $archive https://artifacts.elastic.co/downloads/beats/${name}/${name}-oss-${version}-${os}-${arch}.zip
2525
fi
2626
unzip -o -d dist/collectors/${name}/${os}/${arch} $archive
2727
mv dist/collectors/${name}/${os}/${arch}/${name}-${version}-${os}-${arch}/* dist/collectors/${name}/${os}/${arch}/
@@ -31,7 +31,7 @@ download_beat()
3131
archive="/tmp/${name}-${version}-${os}-${arch}.tar.gz"
3232
if [ ! -f $archive ]; then
3333
echo "==> Downloading ${name}-${version}-${os}-${arch}"
34-
curl -o $archive https://artifacts.elastic.co/downloads/beats/${name}/${name}-${version}-${os}-${arch}.tar.gz
34+
curl -o $archive https://artifacts.elastic.co/downloads/beats/${name}/${name}-oss-${version}-${os}-${arch}.tar.gz
3535
fi
3636
tar -xzf $archive --strip-components=1 -C dist/collectors/${name}/${os}/${arch}
3737
;;

0 commit comments

Comments
 (0)