Skip to content

Commit

Permalink
Partially revert pre-command for OSX runner
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Sapranidis <[email protected]>
  • Loading branch information
alexsapran committed Feb 1, 2024
1 parent a99fa79 commit 50ef24d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ set -euo pipefail

# addtional preparation for macos step
if [[ "$BUILDKITE_PIPELINE_SLUG" == "elastic-agent-libs" && "$BUILDKITE_STEP_KEY" == "test-mac" ]]; then
echo "Golang version:"
version=$(cat .go-version)
export GO_VERSION="${version}"
echo "${GO_VERSION}"

echo "--- prepare env"
source .buildkite/scripts/pre-install-command.sh
with_go ${GO_VERSION} ${SETUP_GVM_VERSION}
Expand Down

0 comments on commit 50ef24d

Please sign in to comment.