-
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.
- Loading branch information
Showing
10 changed files
with
228 additions
and
136 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,34 @@ | ||
#!/usr/bin/env bash | ||
|
||
source .buildkite/env-scripts/util.sh | ||
|
||
docs_changeset="^.*\.(asciidoc|md)$ | ||
deploy/kubernetes/.*-kubernetes.yaml" | ||
packaging_changeset="^dev-tools/packaging/ | ||
^.go-version" | ||
|
||
SETUP_GVM_VERSION="v0.5.1" | ||
WORKSPACE="$(pwd)" | ||
BIN="${WORKSPACE}/bin" | ||
HW_TYPE="$(uname -m)" | ||
PLATFORM_TYPE="$(uname)" | ||
|
||
# Env vars for Packaging stage | ||
DOCKER_REGISTRY="docker.elastic.co" | ||
SNAPSHOT=true | ||
VERSION=$(make get-version | tr -d '\n') | ||
ONLY_DOCS=$(changeset_applies "$docs_changeset") | ||
PACKAGING_CHANGES=$(changeset_applies "$packaging_changeset") | ||
GO_MOD_CHANGES=$(changeset_applies "^go.mod") | ||
|
||
export SETUP_GVM_VERSION | ||
export WORKSPACE | ||
export BIN | ||
export HW_TYPE | ||
export PLATFORM_TYPE | ||
export PACKAGING_CHANGES | ||
export ONLY_DOCS | ||
export GO_MOD_CHANGES | ||
export DOCKER_REGISTRY | ||
export SNAPSHOT | ||
export VERSION |
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
Empty file.
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
Empty file.
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
Oops, something went wrong.