Skip to content
Branch: master
Find file History
bradfitz env/linux-arm/scaleway: update notes
Change-Id: I5385e0bdc380b5849e3cc5db01bc9ffc8ddbce29
Reviewed-on: https://go-review.googlesource.com/c/build/+/170440
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Latest commit 4db5502 Mar 7, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Dockerfile all: dockerize scaleway builders Jun 22, 2017
Makefile all: dockerize scaleway builders Jun 22, 2017
README env/linux-arm/scaleway: update notes Apr 2, 2019
rundockerbuildlet.service all: dockerize scaleway builders Jun 22, 2017

README

C1 image created with docker base image using 
`armv7l 4.10.8 docker #1` bootscript.

Machines:

    $ ssh -i ~/keys/id_ed25519_golang1 root@$C1_SERVER_IP
    (key: http://go/go-builders-ssh)

Machine setup:
	# local:
	$ scp env/linux-arm/scaleway/* root@$C1_SERVER_IP:~/scaleway

	$ GOARCH=arm GOOS=linux go install golang.org/x/build/cmd/rundockerbuildlet && \
	 scp ~/bin/linux_arm/rundockerbuildlet root@$C1_SERVER_IP:/usr/local/bin
	$ GOARCH=arm GOOS=linux go install golang.org/x/build/cmd/buildlet/stage0 && \
	 scp ~/bin/linux_arm/stage0 root@$C1_SERVER_IP:~/scaleway
	# NOTE: commit SHA of rundockerbuildlet/stage0 on instance snapshot (06/19/17)
	# golang.org/x/build is 282d813.

	$ scp rundockerbuildlet.service root@$C1_SERVER_IP:/etc/systemd/user/

	# c1 server:

	$ echo "<BUILDER KEY>" > /etc/gobuild.key > /root/.gobuildkey

	$ apt-get remove --purge unattended-upgrades

	$ systemctl enable /etc/systemd/user/rundockerbuildlet.service
	$ systemctl start rundockerbuildlet.service

You can’t perform that action at this time.