publiclab / pi-builder

Developing a reproducible build script system for making Raspberry Pi .img files
MIT License
22 stars 15 forks source link

Witty pi #59

Open imvectech opened 6 years ago

imvectech commented 6 years ago

What's this recipe about?

Witty pi mini is a Uugear RPi shield capable of managing energy of the RPi together with keeping time using an embedded RTC.

https://github.com/uugear/Witty-Pi-2

Together with the Calafou community we are working on a timelapse camera for river monitoring. First test are being carried out at the Anoia river close to Barcelona.

The intention is to turn on the rpi 5 minutes every hour and take a picture. Simple as that. The Witty pi controls the On/OFF of the RPi sending zero voltage to the Pi to fully turn it off. After 55 minutes the Witty sends a electrical signal and the Pi boots up.

011

Set up of the very first ANOIAcam prototype over the Anoia river: anoiacam_setup_anoia

First picture of the Anoia river: 21-38-20

Download instructions Generating the image will take a few minutes. Once the image is prepared, and if it succeeded, you'll see a green checkmark at the bottom of the pull request. To download the image go to https://gitlab.com/publiclab/image-builder-rpi/pipelines/#59/builds and click the green checkmark. On this page, click the Jobs tab, next to Pipeline Click the green Passed button Click Download in the right-hand sidebar Unzip the artifacts.zip file, and also the hypriotos-rpi-camera_web.img.zip within it Use a program like https://etcher.io/ to flash it to an SD card You'll also be able to read the output of the image generation in this window.

We hope to create a bot to report back the completed image URL in each pull request. If you can help create such a bot, please contact us at:

16

Thanks!

icarito commented 6 years ago

Oh man - @jywarren and I were sure this was going to build! I'll try to push the same branch maybe it's a matter of permissions.

icarito commented 6 years ago

@imvectech I'm sorry, after resetting and recreating the repository mirroring at Gitlab CI - We came to realize that Gitlab CI doesn't build from Github Pull Requests. I will have to figure out a solution for this as I was excited about the possibilities for collaboration over PRs! I really want to collaborate with you on this. So I propose two possible paths: 1.- On Github: I've given you "Collaborator" access to this repository, so you can push to a branch directly (e.g. witty). Pull requests from within the repo should trigger a build. 2.- on Gitlab: https://gitlab.com/publiclab/pi-builder "fork" our repository. You can push to your Gitlab fork and hopefully get immediate builds, and issue merge requests. Hope it works! :crossed_fingers: