Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

(FEAT) Run Lumogon on ARM (Raspberry Pi) [WIP] #34

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

(FEAT) Run Lumogon on ARM (Raspberry Pi) [WIP] #34

wants to merge 4 commits into from

Conversation

johnmccabe
Copy link
Contributor

raspberrypi-sensehat

Raising this for visibility/feedback. I've tested this locally on a Raspberry Pi running Docker and have made an image available johnmccabe/lumogon-arm.

pi@pi3:~$ uname -a
Linux pi3 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux

pi@pi3:~$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

pi@pi3:~$ docker ps
CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS              PORTS                     NAMES
0a9331d9056e        alexellis2/nginx-arm        "/usr/sbin/nginx -..."   11 hours ago        Up About an hour    80/tcp                    reverent_meitner
3e7090d7bd2a        hypriot/rpi-dockerui        "/dockerui"              11 hours ago        Up About an hour    0.0.0.0:32768->9000/tcp   silly_swartz
235216495ff5        hypriot/rpi-busybox-httpd   "/bin/busybox http..."   12 hours ago        Up About an hour    0.0.0.0:32769->80/tcp     elated_panini

pi@pi3:~$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock johnmccabe/lumogon-arm report
Unable to find image 'johnmccabe/lumogon-arm:latest' locally
latest: Pulling from johnmccabe/lumogon-arm
404291400c57: Pull complete
b0f21d3b4f7e: Pull complete
Digest: sha256:c7cd19b41ade16c6750482d62cc690d4afa109518fc9cfb8d3502abef25590ba
Status: Downloaded newer image for johnmccabe/lumogon-arm:latest

https://reporter.app.lumogon.com/xgAgDoPn76HAAqzeKZyBv08cXrsgJMSx1ZeQGLLRFT4=
  • Test on Scaleway
  • Test on Beaglebone Black

Adds raspbian to support running on the Raspberry Pi
Prior to this commit the client was using a hardcoded reference to the
Lumogon image name, this commit instead determines the ImageID of the
running scheduler and uses that when creating attached harvester
containers.
This commit updates the Makefile to allow building for ARM (tested on
the Raspberry Pi). Note the `GOOS` and `GOARCH` are unset when running
`go vet` and tests.

For example to build for ARM on OSX:
```
GOARCH=arm GOOS=linux DOCKER_IMAGE_NAME=yourname/lumogon-arm make all
```
@johnmccabe johnmccabe changed the title [FEAT] [WIP] Run Lumogon on ARM (Raspberry Pi) (FEAT) Run Lumogon on ARM (Raspberry Pi) [WIP] May 22, 2017
@rick
Copy link
Contributor

rick commented May 23, 2017

✨ very 🆒

@johnmccabe
Copy link
Contributor Author

@puppetlabs/lumogon worth dusting this off and merging?

@jfryman
Copy link
Contributor

jfryman commented Jun 21, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants