Skip to content

Commit

Permalink
Fix build (s12v#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Novikov authored Feb 23, 2018
1 parent e45a8df commit 1653a6a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ script:
else
make
fi
- |
FB=$(ls target/filebeat* | tail -1)
FH=$(ls target/firehose* | tail -1)
echo "$FB -plugin $FH -c example/filebeat.yml --once"
$FB -plugin $FH -c example/filebeat.yml --once
after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GO_VERSION=$(shell go version | cut -d ' ' -f 3,4 | sed -e 's/ /-/g' | sed -e 's
BEATS_VERSION ?= "master"
AWSBEATS_VERSION ?= "1-snapshot"

all: test build beats
all: test beats build

test:
go test ./firehose -v -coverprofile=coverage.txt -covermode=atomic
Expand All @@ -17,6 +17,7 @@ build:
beats:
ifdef BEATS_VERSION
@echo "Building filebeats:$(BEATS_VERSION)..."
@mkdir -p "$(CURDIR)/target"
@cd "$$GOPATH/src/github.com/elastic/beats/filebeat" &&\
git checkout $(BEATS_VERSION) &&\
make &&\
Expand Down
2 changes: 1 addition & 1 deletion release-tool/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ functions:
cron:
handler: handler.run
events:
- schedule: rate(2 minutes)
- schedule: rate(5 minutes)

0 comments on commit 1653a6a

Please sign in to comment.