-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snapshot packaging stage migration #37827
Changes from all commits
271b27b
9f1e8a3
b7f40a3
292b053
a42085b
8df62da
b8967a3
22c1a50
0237627
fec7219
8d37337
5c177ba
f24bd02
efa94e8
6c5b300
0fade9e
e7c6584
6708eed
55e308d
2488a59
6e5ab28
1a25aec
5c4a3e3
3cbb8bf
34e0921
3c38d13
e169556
23d34eb
0de3efd
c08a017
650fac7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
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" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same question here, when we start using the custom windows vm images, this shouldn't be required. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This could be removed once we will switch to Beats win images. I thought it would be better to have win image change in a separate PR, since the current one is already overwhelmed with the changes. WDYT? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if things work in the current hybrid state i.e. some tests using the vanilla images and some others the custom ones, I am good for us to address in the near future. |
||
|
||
# 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this after using our custom vm images? I suppose it's for modules that haven't been switched to the new approach yet, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's needed for MacOS for the current not refactored version of env setup scripts.