Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/setup-debian-buster.sh
Show All 11 Lines | |||||
# Python library for interacting with teamcity | # Python library for interacting with teamcity | ||||
pip3 install teamcity-messages | pip3 install teamcity-messages | ||||
# Install Python dependencies for the build bot | # Install Python dependencies for the build bot | ||||
# Note: Path should be relative to TEAMCITY_DIR since the base image build | # Note: Path should be relative to TEAMCITY_DIR since the base image build | ||||
# context may be different than the project root. | # context may be different than the project root. | ||||
pip3 install -r "${TEAMCITY_DIR}"/../buildbot/requirements.txt | pip3 install -r "${TEAMCITY_DIR}"/../buildbot/requirements.txt | ||||
# Make sure clang-10 has highest priority | # Make sure clang-10 has highest priority | ||||
update-alternatives --install /usr/bin/clang clang "$(command -v clang-10)" 100 | update-alternatives --install /usr/bin/clang clang "$(command -v clang-11)" 100 | ||||
update-alternatives --install /usr/bin/clang++ clang++ "$(command -v clang++-10)" 100 | update-alternatives --install /usr/bin/clang++ clang++ "$(command -v clang++-11)" 100 | ||||
update-alternatives --install /usr/bin/llvm-symbolizer llvm-symbolizer "$(command -v llvm-symbolizer-10)" 100 | update-alternatives --install /usr/bin/llvm-symbolizer llvm-symbolizer "$(command -v llvm-symbolizer-11)" 100 | ||||
# Set default git config so that any git operations requiring authoring, | # Set default git config so that any git operations requiring authoring, | ||||
# rebasing, or cherry-picking of commits just work out of the box. | # rebasing, or cherry-picking of commits just work out of the box. | ||||
git config --global user.name "abc-bot" | git config --global user.name "abc-bot" | ||||
git config --global user.email "no-email-abc-bot@bitcoinabc.org" | git config --global user.email "no-email-abc-bot@bitcoinabc.org" | ||||
# npm uses ssh to connect to github by default, use https instead | # npm uses ssh to connect to github by default, use https instead | ||||
git config --global url."https://github.com".insteadOf ssh://git@github.com | git config --global url."https://github.com".insteadOf ssh://git@github.com |