forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into feature/use-debian-9
* upstream/master: (577 commits) Remove Journalbeat (elastic#29131) Add note that there is no warranty or support for generator code (elastic#28797) packetbeat: preparation for npcap addition (elastic#29017) Use the generic helper for opening file to read in filestream (elastic#29180) Workflow for macos (elastic#29174) Fix `decode_json_fields` processor to always add error key (elastic#29107) Workflow for macos (elastic#29156) Fix agent download timeout values in yaml files (elastic#29039) Added workflow file for builds with macos (elastic#29148) CI: enable AWS cloud testing on a PR basis if changes in certain files (elastic#29047) Remove links to Journalbeat (elastic#29134) Fix rds metadata in cloudwatch metricset (elastic#29106) [mergify]: notify conflicts in PRs that are still open (elastic#29122) Use NamedWatcher in Agent's k8s provider (elastic#29095) override host on statsd metricset (elastic#29103) Skip config check in autodiscover for duplicated configurations (elastic#29048) Change "filebeat.config.modules.enabled" to "true" (elastic#28769) Remove deprecated spool queue from Beats (elastic#28869) Add `beat` field back to beat.stats (elastic#29094) Revert "Move labels and annotations under kubernetes.namespace. (elastic#27917)" (elastic#29069) ...
- Loading branch information
Showing
6,225 changed files
with
438,080 additions
and
549,511 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
- job: | ||
name: beats-schedule-daily | ||
display-name: Jobs scheduled daily (weekdays) | ||
description: Jobs scheduled daily (weekdays) | ||
view: Beats | ||
project-type: pipeline | ||
parameters: | ||
- string: | ||
name: branch_specifier | ||
default: master | ||
description: the Git branch specifier to build | ||
pipeline-scm: | ||
script-path: .ci/schedule-daily.groovy | ||
scm: | ||
- git: | ||
url: [email protected]:elastic/beats.git | ||
refspec: +refs/heads/*:refs/remotes/origin/* | ||
wipe-workspace: 'True' | ||
name: origin | ||
shallow-clone: true | ||
credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba | ||
reference-repo: /var/lib/jenkins/.git-references/beats.git | ||
branches: | ||
- $branch_specifier | ||
triggers: | ||
- timed: 'H H(2-3) * * 1-5' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ | |
branches: | ||
- $branch_specifier | ||
triggers: | ||
- timed: 'H H(1-4) * * 0' | ||
- timed: 'H H(1-2) * * 0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
@Library('apm@current') _ | ||
|
||
pipeline { | ||
agent none | ||
environment { | ||
NOTIFY_TO = credentials('notify-to') | ||
PIPELINE_LOG_LEVEL = 'INFO' | ||
} | ||
options { | ||
timeout(time: 1, unit: 'HOURS') | ||
buildDiscarder(logRotator(numToKeepStr: '20', artifactNumToKeepStr: '20')) | ||
timestamps() | ||
ansiColor('xterm') | ||
disableResume() | ||
durabilityHint('PERFORMANCE_OPTIMIZED') | ||
} | ||
triggers { | ||
cron('H H(2-3) * * 1-5') | ||
} | ||
stages { | ||
stage('Nighly beats builds') { | ||
steps { | ||
runBuild(quietPeriod: 0, job: 'Beats/beats/master') | ||
// This should be `current_8` bump.getCurrentMinorReleaseFor8 | ||
runBuild(quietPeriod: 2000, job: 'Beats/beats/8.0') | ||
// This should be `current_7` bump.getCurrentMinorReleaseFor7 or | ||
// `next_minor_7` bump.getNextMinorReleaseFor7 | ||
runBuild(quietPeriod: 4000, job: 'Beats/beats/7.16') | ||
} | ||
} | ||
} | ||
post { | ||
cleanup { | ||
notifyBuildResult(prComment: false) | ||
} | ||
} | ||
} | ||
|
||
def runBuild(Map args = [:]) { | ||
def jobName = args.job | ||
build(quietPeriod: args.quietPeriod, job: jobName, parameters: [booleanParam(name: 'macosTest', value: true)], wait: false, propagate: false) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
set GOPATH=%WORKSPACE% | ||
set MAGEFILE_CACHE=%WORKSPACE%\.magefile | ||
|
||
set PATH=%WORKSPACE%\bin;C:\ProgramData\chocolatey\bin;%PATH% | ||
|
||
curl --version >nul 2>&1 && ( | ||
echo found curl | ||
) || ( | ||
choco install curl -y --no-progress --skipdownloadcache | ||
) | ||
|
||
mkdir %WORKSPACE%\bin | ||
|
||
IF EXIST "%PROGRAMFILES(X86)%" ( | ||
REM Force the gvm installation. | ||
SET GVM_BIN=gvm.exe | ||
curl -L -o %WORKSPACE%\bin\gvm.exe https://github.com/andrewkroh/gvm/releases/download/v0.3.0/gvm-windows-amd64.exe | ||
IF ERRORLEVEL 1 ( | ||
REM gvm installation has failed. | ||
del bin\gvm.exe /s /f /q | ||
exit /b 1 | ||
) | ||
) ELSE ( | ||
REM Windows 7 workers got a broken gvm installation. | ||
curl -L -o %WORKSPACE%\bin\gvm.exe https://github.com/andrewkroh/gvm/releases/download/v0.3.0/gvm-windows-386.exe | ||
IF ERRORLEVEL 1 ( | ||
REM gvm installation has failed. | ||
del bin\gvm.exe /s /f /q | ||
exit /b 1 | ||
) | ||
) | ||
|
||
SET GVM_BIN=gvm.exe | ||
WHERE /q %GVM_BIN% | ||
%GVM_BIN% version | ||
|
||
REM Install the given go version | ||
%GVM_BIN% --debug install %GO_VERSION% | ||
|
||
REM Configure the given go version | ||
FOR /f "tokens=*" %%i IN ('"%GVM_BIN%" use %GO_VERSION% --format=batch') DO %%i | ||
|
||
go env | ||
IF ERRORLEVEL 1 ( | ||
REM go is not configured correctly. | ||
rmdir %WORKSPACE%\.gvm /s /q | ||
exit /b 1 | ||
) | ||
|
||
where mage | ||
mage -version | ||
IF ERRORLEVEL 1 ( | ||
go get github.com/magefile/mage | ||
IF ERRORLEVEL 1 ( | ||
exit /b 1 | ||
) | ||
) |
Oops, something went wrong.