-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Snapshot packaging stage migration (#37827)
(cherry picked from commit 01f5a90)
- Loading branch information
1 parent
2f1fce1
commit 010c81c
Showing
30 changed files
with
285 additions
and
427 deletions.
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 was deleted.
Oops, something went wrong.
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,19 +1,53 @@ | ||
#!/usr/bin/env bash | ||
|
||
SETUP_GVM_VERSION="v0.5.1" | ||
source .buildkite/env-scripts/util.sh | ||
|
||
DOCS_CHANGESET="^.*\.(asciidoc|md)$ | ||
deploy/kubernetes/.*-kubernetes.yaml" | ||
PACKAGING_CHANGESET="^dev-tools/packaging/ | ||
^.go-version" | ||
|
||
REPO="beats" | ||
WORKSPACE="$(pwd)" | ||
BIN="${WORKSPACE}/bin" | ||
HW_TYPE="$(uname -m)" | ||
PLATFORM_TYPE="$(uname)" | ||
REPO="beats" | ||
TMP_FOLDER="tmp.${REPO}" | ||
SNAPSHOT="true" | ||
PYTEST_ADDOPTS="" | ||
OSS_MODULE_PATTERN="^[a-z0-9]+beat\\/module\\/([^\\/]+)\\/.*" | ||
XPACK_MODULE_PATTERN="^x-pack\\/[a-z0-9]+beat\\/module\\/([^\\/]+)\\/.*" | ||
|
||
SETUP_GVM_VERSION="v0.5.1" | ||
ASDF_MAGE_VERSION="1.14.0" | ||
SETUP_WIN_PYTHON_VERSION="3.11.0" | ||
|
||
# Docker & DockerHub | ||
DOCKER_COMPOSE_VERSION="1.21.0" | ||
DOCKER_REGISTRY="docker.elastic.co" | ||
|
||
export SETUP_GVM_VERSION | ||
ONLY_DOCS=$(changeset_applies "$DOCS_CHANGESET") | ||
PACKAGING_CHANGES=$(changeset_applies "$PACKAGING_CHANGESET") | ||
GO_MOD_CHANGES=$(changeset_applies "^go.mod") | ||
|
||
export REPO | ||
export WORKSPACE | ||
export BIN | ||
export HW_TYPE | ||
export PLATFORM_TYPE | ||
export REPO | ||
export TMP_FOLDER | ||
export SNAPSHOT | ||
export PYTEST_ADDOPTS | ||
export OSS_MODULE_PATTERN | ||
export XPACK_MODULE_PATTERN | ||
|
||
export SETUP_GVM_VERSION | ||
export ASDF_MAGE_VERSION | ||
export SETUP_WIN_PYTHON_VERSION | ||
|
||
export DOCKER_COMPOSE_VERSION | ||
export DOCKER_REGISTRY | ||
|
||
export ONLY_DOCS | ||
export PACKAGING_CHANGES | ||
export GO_MOD_CHANGES |
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
Oops, something went wrong.