Skip to content

Commit

Permalink
chore(NA): sync settings on ci setup with the other PR
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic committed Feb 5, 2021
1 parent 4267ea0 commit cc503f8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/dev/ci_setup/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ yarn config set yarn-offline-mirror "$cacheDir/yarn-offline-cache"
###
yarnGlobalDir="$(yarn global bin)"
export PATH="$PATH:$yarnGlobalDir"
# In some situations looks lik the yarn binaries added through
# yarn global add will not be placed on yarn global bin
# but on $HOME/.yarn/bin. I'm also adding it into the PATH
export PATH="$PATH:$HOME/.yarn/bin"

# use a proxy to fetch chromedriver/geckodriver asset
export GECKODRIVER_CDNURL="https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache"
Expand Down Expand Up @@ -186,10 +190,4 @@ cp -f "$KIBANA_DIR/src/dev/ci_setup/.bazelrc-ci" "$HOME/.bazelrc";
echo "# Appended by $KIBANA_DIR/src/dev/ci_setup/setup.sh" >> "$HOME/.bazelrc"
echo "build --remote_header=x-buildbuddy-api-key=$KIBANA_BUILDBUDDY_CI_API_KEY" >> "$HOME/.bazelrc"

###
### make sure bazelisk is installed on CI
###
bazeliskVersion=$(head -n 1 "$KIBANA_DIR/.bazeliskversion")
npm install -g "@bazel/bazelisk@${bazeliskVersion}"

export CI_ENV_SETUP=true

0 comments on commit cc503f8

Please sign in to comment.