docker_update_bot.sh 465 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env bash
  2. set -x
  3. cd /libcxx
  4. git pull
  5. #pushd /tmp
  6. #curl -sSO https://dl.google.com/cloudagents/install-monitoring-agent.sh
  7. #bash install-monitoring-agent.sh
  8. #curl -sSO https://dl.google.com/cloudagents/install-logging-agent.sh
  9. #bash install-logging-agent.sh --structured
  10. #popd
  11. apt-get update -y
  12. apt-get upgrade -y
  13. apt-get install sudo -y
  14. systemctl set-property buildslave.service TasksMax=100000
  15. systemctl daemon-reload
  16. service buildslave restart