| Machines: |
| |
| r2-a25: |
| |
| $ ssh -i ~/keys/id_ed25519_golang1 linaro@64.28.99.28 |
| (key: http://go/golang-ssh-key) |
| |
| Machine details: |
| |
| linaro@r2-a25:~# cat /proc/cpuinfo | grep process | wc -l |
| 8 |
| |
| linaro@r2-a25:~# free |
| total used free shared buff/cache available |
| Mem: 32942028 850048 30117168 619288 1974812 31097620 |
| Swap: 32165884 0 32165884 |
| |
| |
| linaro@r2-a25:~# lsb_release -a |
| No LSB modules are available. |
| Distributor ID: Ubuntu |
| Description: Ubuntu 16.04.2 LTS |
| Release: 16.04 |
| Codename: xenial |
| |
| |
| But each machine is setup like: |
| |
| $ apt-get install docker.io |
| |
| $ build.sh (with Dockerfile in same directory) |
| |
| $ echo "<BUILDER KEY>" > /etc/gobuild.key # or custom path, see rundockerbuildlet.go |
| |
| $ GOARCH=arm64 GOOS=linux go install golang.org/x/build/cmd/rundockerbuildlet && \ |
| scp -i ~/keys/id_ed25519_golang1 ~/bin/linux_arm64/rundockerbuildlet linaro@64.28.99.28:/usr/local/bin |
| |
| $ scp -i ~/keys/id_ed25519_golang1 rundockerbuildlet.service linaro@64.28.99.28:/etc/systemd/user/ |
| |
| $ systemctl enable /etc/systemd/user/rundockerbuildlet.service |
| $ systemctl start rundockerbuildlet.service |