Repository navigation
[6.x] update beats - #1054
[6.x] update beats#1054
Conversation
Running `make fmt check` now adds license headers everywhere missing.
| .PHONY: fields | ||
| fields: | ||
| @cat _meta/fields.common.yml > _meta/fields.generated.yml | ||
| @cat processor/*/_meta/fields.yml >> _meta/fields.generated.yml |
There was a problem hiding this comment.
Changes are aligned with changes made when updated to beats framework in master, see https://github.com/elastic/apm-server/pull/987/files#diff-b67911656ef5d18c4ae36cb6741b7965.
graphaelli
left a comment
There was a problem hiding this comment.
Can you backport 157a9e5 with this since it brings in generation of those files?
make update on this branch removes the license headers on processor/*/schema.go - I'm suprised that doesn't trigger a test failure.
Go update needs this treatment - https://github.com/elastic/apm-server/pull/894/files
|
|
|
@graphaelli good findings! I've updated accordingly. |
graphaelli
left a comment
There was a problem hiding this comment.
We should probably go straight to 1.10.3 as beats has done on 6.x now.
Still seeing the headers removed on the generated schema files on make update
|
That is very weird. Do you maybe have the |
graphaelli
left a comment
There was a problem hiding this comment.
That was it, go-licensor wasn't installed. Disappointing that it fails silently, but not a topic for this review. LGTM now (when green)
|
fyi im doing the 1.10.3 update on master as well also as part of updating beats |
|
@graphaelli you are absolutely right to expect a failure when the |
|
update: I removed the |
| ==== Added | ||
|
|
||
| - Listen on default port 8200 if unspecified {pull}[886]886. | ||
| - Update Go to 1.10.3 {pull}894[894]. |
There was a problem hiding this comment.
yeah, because I first just backported this PR, but now changed from 1.10.1 to 1.10.3.
I adapt to reflect this PR number.
This PR updates to the latest
beatsversion6.x, including following changes:make checkto fail when the elastic license header is missing in any files, and adaptsmake fmtto add the missing license header in any file. Running those two commands added license headers to all files now.govendorgithub.com/elastic/beats/libbeat/generator/fieldsfor changed fields generation and handling.github.com/elastic/go-structtov0.0.4