Skip to content

Commit

Permalink
Merge the Elastic Logging Plugin to master (#15085)
Browse files Browse the repository at this point in the history
* Add a docker plugin - Elastic Log Driver (#13761)
  • Loading branch information
fearful-symmetry authored Dec 13, 2019
1 parent 4d9a3ce commit 4a7a8c3
Show file tree
Hide file tree
Showing 375 changed files with 62,395 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ beat.db
mage_output_file.go
x-pack/functionbeat/*/fields.yml
x-pack/functionbeat/provider/*/functionbeat-*
x-pack/dockerlogbeat/temproot.tar

# Editor swap files
*.swp
Expand Down
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ jobs:
go: $TRAVIS_GO_VERSION
stage: test

# Docker Log Driver
- os: linux
env: TARGETS="-C x-pack/dockerlogbeat testsuite"
go: $TRAVIS_GO_VERSION
stage: test

# Journalbeat
- os: linux
env: TARGETS="-C journalbeat testsuite"
Expand Down
20 changes: 20 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ pipeline {
env.BUILD_METRICBEAT = isChanged(["^metricbeat/.*"])
env.BUILD_PACKETBEAT = isChanged(["^packetbeat/.*"])
env.BUILD_WINLOGBEAT = isChanged(["^winlogbeat/.*"])
env.BUILD_DOCKERLOGBEAT = isChanged(["^x-pack/dockerlogbeat/.*"])
env.BUILD_FUNCTIONBEAT = isChanged(["^x-pack/functionbeat/.*"])
env.BUILD_JOURNALBEAT = isChanged(["^journalbeat/.*"])
env.BUILD_GENERATOR = isChanged(["^generator/.*"])
Expand Down Expand Up @@ -325,6 +326,25 @@ pipeline {
}
}
}
stage('dockerlogbeat'){
agent { label 'ubuntu && immutable' }
options { skipDefaultCheckout() }
when {
beforeAgent true
expression {
return env.BUILD_DOCKERLOGBEAT != "false"
}
}
stages {
stage('Dockerlogbeat'){
steps {
withBeatsEnv(){
makeTarget("Elastic Log Plugin unit tests", "-C x-pack/dockerlogbeat testsuite")
}
}
}
}
}
stage('Winlogbeat'){
agent { label 'ubuntu && immutable' }
options { skipDefaultCheckout() }
Expand Down
Loading

0 comments on commit 4a7a8c3

Please sign in to comment.