summaryrefslogtreecommitdiff
path: root/gnu/llvm/libcxx/utils/docker/scripts/docker_update_bot.sh
blob: 10ff483bb4e5271cf10bc3fd911698a4dc1cdf9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash

set -x

cd /libcxx
git pull


#pushd /tmp
#curl -sSO https://dl.google.com/cloudagents/install-monitoring-agent.sh
#bash install-monitoring-agent.sh
#curl -sSO https://dl.google.com/cloudagents/install-logging-agent.sh
#bash install-logging-agent.sh --structured
#popd


apt-get update -y
apt-get upgrade -y

apt-get install sudo -y

systemctl set-property buildslave.service TasksMax=100000

systemctl daemon-reload
service buildslave restart