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/e2e-fleet
* upstream/master: (658 commits) Add complete k8s metadata through composable provider (elastic#27691) Revert "Fix issue where --insecure didn't propogate to Fleet Server ES connection (elastic#27969)" (elastic#27997) Remove deprecated kafka fields (elastic#27938) [Filebeat] Add Base64 encoded HMAC & UUID template functions to httpjson input (elastic#27873) Improve httpjson template function join (elastic#27996) Remove kubernetes.container.image alias (elastic#27898) [Elastic Agent] Golden files for program tests (elastic#27862) [Elastic Agent] Disable modules.d in metricbeat (elastic#27860) libbeat/common/seccomp: provide default policy for linux arm64 (elastic#27955) Fix logger statement in aws-s3 input (elastic#27982) Fix wrong merge (elastic#27976) Fix issue where --insecure didn't propogate to Fleet Server ES connection (elastic#27969) Forward-port 7.14.2 changelog to master (elastic#27975) [Filebeat] Removing duplicate modules (aliases) Observability (elastic#27919) Fix path in vagrant windows script (elastic#27966) [Filebeat] Removing duplicate modules (aliases) and Cyberark (elastic#27915) No changelog for 8.0.0-alpha2 (elastic#27961) Add write access to 'url.value' from 'request.transforms'. (elastic#27937) Docker: remove deprecated fields (elastic#27933) Filebeat: Make all filesets disabled in default configuration (elastic#27762) ...
- Loading branch information
Showing
5,166 changed files
with
501,153 additions
and
355,949 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 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
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,40 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Given the Golang release version this script will bump the version. | ||
# | ||
# This script is executed by the automation we are putting in place | ||
# and it requires the git add/commit commands. | ||
# | ||
# Parameters: | ||
# $1 -> the Golang release version to be bumped. Mandatory. | ||
# | ||
set -euo pipefail | ||
MSG="parameter missing." | ||
GO_RELEASE_VERSION=${1:?$MSG} | ||
|
||
OS=$(uname -s| tr '[:upper:]' '[:lower:]') | ||
|
||
if [ "${OS}" == "darwin" ] ; then | ||
SED="sed -i .bck" | ||
else | ||
SED="sed -i" | ||
fi | ||
|
||
echo "Update go version ${GO_RELEASE_VERSION}" | ||
echo "${GO_RELEASE_VERSION}" > .go-version | ||
git add .go-version | ||
|
||
find . -maxdepth 3 -name Dockerfile -print0 | | ||
while IFS= read -r -d '' line; do | ||
${SED} -E -e "s#(FROM golang):[0-9]+\.[0-9]+\.[0-9]+#\1:${GO_RELEASE_VERSION}#g" "$line" | ||
${SED} -E -e "s#(ARG GO_VERSION)=[0-9]+\.[0-9]+\.[0-9]+#\1=${GO_RELEASE_VERSION}#g" "$line" | ||
git add "${line}" | ||
done | ||
|
||
${SED} -E -e "s#(:go-version:) [0-9]+\.[0-9]+\.[0-9]+#\1 ${GO_RELEASE_VERSION}#g" libbeat/docs/version.asciidoc | ||
git add libbeat/docs/version.asciidoc | ||
|
||
git diff --staged --quiet || git commit -m "[Automation] Update go release version to ${GO_RELEASE_VERSION}" | ||
git --no-pager log -1 | ||
|
||
echo "You can now push and create a Pull Request" |
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
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
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 | ||
) | ||
) |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
#!/usr/bin/env bash | ||
set -exuo pipefail | ||
|
||
.ci/scripts/install-go.sh | ||
.ci/scripts/install-docker-compose.sh | ||
.ci/scripts/install-terraform.sh | ||
make mage |
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 |
---|---|---|
@@ -1,5 +1,23 @@ | ||
#!/usr/bin/env bash | ||
set -exuo pipefail | ||
|
||
kind create cluster --image kindest/node:${K8S_VERSION} | ||
kind create cluster --image kindest/node:${K8S_VERSION} --config - <<EOF | ||
kind: Cluster | ||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
nodes: | ||
- role: control-plane | ||
kubeadmConfigPatches: | ||
- | | ||
kind: ClusterConfiguration | ||
scheduler: | ||
extraArgs: | ||
bind-address: "0.0.0.0" | ||
port: "10251" | ||
secure-port: "10259" | ||
controllerManager: | ||
extraArgs: | ||
bind-address: "0.0.0.0" | ||
port: "10252" | ||
secure-port: "10257" | ||
EOF | ||
kubectl cluster-info |
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 |
---|---|---|
@@ -1 +1 @@ | ||
1.15.9 | ||
1.16.6 |
Oops, something went wrong.