Skip to content

Commit

Permalink
[buildkite] Fix packer cache issues (#113769) (#113773)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
  • Loading branch information
kibanamachine and brianseeders authored Oct 4, 2021
1 parent d5cb31a commit 52aeed6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/scripts/common/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ else
fi

# These are for backwards-compatibility
export GIT_COMMIT="$BUILDKITE_COMMIT"
export GIT_BRANCH="$BUILDKITE_BRANCH"
export GIT_COMMIT="${BUILDKITE_COMMIT:-}"
export GIT_BRANCH="${BUILDKITE_BRANCH:-}"

export FLEET_PACKAGE_REGISTRY_PORT=6104
export TEST_CORS_SERVER_PORT=6105
Expand Down
1 change: 1 addition & 0 deletions .buildkite/scripts/packer_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

set -euo pipefail

source .buildkite/scripts/common/util.sh
source .buildkite/scripts/common/env.sh
source .buildkite/scripts/common/setup_node.sh

Expand Down

0 comments on commit 52aeed6

Please sign in to comment.