host info for buildbots
This commit is contained in:
parent
f9822456ca
commit
3c3d093fb6
2 changed files with 16 additions and 3 deletions
|
@ -40,7 +40,15 @@ if [[ -z "${BUILDBOT_ADDRESS+x}" ]]; then
|
|||
else
|
||||
buildbot-worker create-worker /build/buildbot $BUILDBOT_ADDRESS $BUILDBOT_NAME $BUILDBOT_PASSWORD
|
||||
echo "llvm-premerge-buildbots <llvm-premerge-buildbots@google.com>" > /build/buildbot/info/admin
|
||||
echo "Setup analogous to linux agent for to Pull Request checks" > /build/buildbot/info/host
|
||||
echo "Setup analogous to linux agent for Pull Request checks" >> /build/buildbot/info/host
|
||||
echo "Ubuntu 20, cmake-3.23.3, LLVM 16" >> /c/ws/buildbot/info/host
|
||||
echo "https://github.com/google/llvm-premerge-checks/blob/main/containers/buildbot-linux/Dockerfile" >> /c/ws/buildbot/info/host
|
||||
echo "lsb_release -a" >> /build/buildbot/info/host
|
||||
lsb_release -a >> /build/buildbot/info/host
|
||||
echo "lscpu" >> /build/buildbot/info/host
|
||||
lscpu >> /build/buildbot/info/host
|
||||
echo "dpkg -l" >> /build/buildbot/info/host
|
||||
dpkg -l >> /build/buildbot/info/host
|
||||
chown -R ${USER}:${USER} /build/buildbot
|
||||
gosu "$USER" bash -c 'CC=clang CXX=clang++ LD=LLD buildbot-worker start /build/buildbot'
|
||||
fi
|
||||
|
|
|
@ -15,6 +15,11 @@ mkdir -p /c/ws/buildbbot
|
|||
buildbot-worker create-worker /c/ws/buildbot $BUILDBOT_ADDRESS $BUILDBOT_NAME $BUILDBOT_PASSWORD
|
||||
|
||||
echo "llvm-premerge-buildbots <llvm-premerge-buildbots@google.com>" > /c/ws/buildbot/info/admin
|
||||
echo "Setup analogous to windows agent for to Pull Request checks" > /c/ws/buildbot/info/host
|
||||
|
||||
echo "Setup analogous to windows agent for Pull Request checks" > /c/ws/buildbot/info/host
|
||||
echo "Windows ltsc2019, vs-2019, LLVM-16+" >> /c/ws/buildbot/info/host
|
||||
echo "https://github.com/google/llvm-premerge-checks/blob/main/containers/buildbot-windows/Dockerfile" >> /c/ws/buildbot/info/host
|
||||
echo "Get-WmiObject -Class Win32_Processor" >> /c/ws/buildbot/info/host
|
||||
powershell.exe -c "Get-WmiObject -Class Win32_Processor" >> /c/ws/buildbot/info/host
|
||||
echo "Get-WmiObject -Class Win32_Product" >> /c/ws/buildbot/info/host
|
||||
powershell.exe -c "Get-WmiObject -Class Win32_Product" >> /c/ws/buildbot/info/host
|
||||
$@
|
Loading…
Reference in a new issue