bromite-buildtools/setup-goma-client.sh

22 lines
776 B
Bash
Raw Normal View History

#!/bin/bash
2021-05-30 00:05:36 +05:30
echo -e ${RED} -------- set envs ${NC}
2021-05-31 13:39:05 +05:30
PATH=$GITHUB_WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$GITHUB_WORKSPACE/depot_tools/:/usr/local/go/bin:$PATH
2021-05-30 00:05:36 +05:30
2021-05-31 13:39:05 +05:30
cipd install infra/goma/client/linux-amd64 -root $GITHUB_WORKSPACE/goma
2021-05-31 13:39:05 +05:30
cat "nomatter" >$GITHUB_WORKSPACE/.debug_auth_file
sudo cp $GITHUB_WORKSPACE/bromite-buildtools/goma_auth.py $GITHUB_WORKSPACE/goma/
export GOMA_SERVER_HOST=127.0.0.1
export GOMA_SERVER_PORT=5050
export GOMA_USE_SSL=false
2021-05-31 13:39:05 +05:30
export GOMA_HTTP_AUTHORIZATION_FILE=$GITHUB_WORKSPACE/.debug_auth_file
export GOMA_HERMETIC=error
export GOMA_USE_LOCAL=false
export GOMA_FALLBACK=true
export GOMA_ARBITRARY_TOOLCHAIN_SUPPORT=true
2021-05-31 13:39:05 +05:30
$GITHUB_WORKSPACE/goma/goma_ctl.py ensure_stop
$GITHUB_WORKSPACE/goma/goma_ctl.py ensure_start