-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image sequencer, infragram, and RPi Cam for Raspberry Pi camera #73
base: main
Are you sure you want to change the base?
Conversation
Merge branch 'image-sequencer' of https://gitlab.com/publiclab/pi-builder into image-sequencer
…bglew-dev pkg-config
builder/build.sh
Outdated
@@ -84,7 +84,7 @@ ls -alh /image_with_kernel_*.tar.gz | |||
|
|||
# download the ready-made raw image for the RPi | |||
if [ ! -f "${BUILD_RESULT_PATH}/${RAW_IMAGE}.zip" ]; then | |||
wget -q -O "${BUILD_RESULT_PATH}/${RAW_IMAGE}.zip" "https://github.com/hypriot/image-builder-raw/releases/download/${RAW_IMAGE_VERSION}/${RAW_IMAGE}.zip" | |||
wget -q -O "${BUILD_RESULT_PATH}/${RAW_IMAGE}.zip" "https://jenkins.laboratoriopublico.org/job/image-builder-raw/ws/${RAW_IMAGE}.zip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should revert this, I think?
ok, and when we had used just python, not python2.7, we had:
Hm. Actually it looks like that had worked -- ran past all the npm/javascript installs and just timed out on installing |
I'll try reverting it back to regular python and seeing if we can get it to not time out on that install script. For record, the script that was running when it timed out was: https://github.com/silvanmelchior/RPi_Cam_Web_Interface/blob/master/install.sh And, GitLab can only run jobs for an hour, i think. |
versions.config
Outdated
@@ -4,11 +4,11 @@ ROOTFS_TAR_CHECKSUM="d1e7e6d48a25b4a206c5df99ecb8815388ec6945e4f97e78413d5a80778 | |||
|
|||
# name of the ready made raw image for RPi | |||
RAW_IMAGE="rpi-raw.img" | |||
RAW_IMAGE_VERSION="v0.2.2" | |||
RAW_IMAGE_CHECKSUM="2fbeb13b7b0f2308dbd0d82780b54c33003ad43d145ff08498b25fb8bbe1c2c6" | |||
RAW_IMAGE_VERSION="master" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And should this be reverted too?
I tried it a couple of times - the issue I think is that it takes a lot of time to compile image-sequencer dependencies on emulated arm - it takes past the 1H allowed maximum at Gitlab. |
@@ -4,11 +4,11 @@ ROOTFS_TAR_CHECKSUM="d1e7e6d48a25b4a206c5df99ecb8815388ec6945e4f97e78413d5a80778 | |||
|
|||
# name of the ready made raw image for RPi | |||
RAW_IMAGE="rpi-raw.img" | |||
RAW_IMAGE_VERSION="v0.2.2" | |||
RAW_IMAGE_CHECKSUM="2fbeb13b7b0f2308dbd0d82780b54c33003ad43d145ff08498b25fb8bbe1c2c6" | |||
RAW_IMAGE_VERSION="master" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried reverting this file but seem not to be able to???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how so "not able to" is it a permissions issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are finding issues building, it's a good idea to check the upstream project https://github.com/hypriot/image-builder-rpi/blob/master/versions.config - as Raspbian is a moving target that gets updated and requires tweaking the build.
(copy of #53 but against
main
branch instead ofmaster
)Thanks for opening a pull request! In this repository, opening a PR will initiate the generation of a new Raspberry Pi image, and create an image file you can download and use in your Raspberry Pi.
The changes you add to the pull request, such as adding software to install, will be run on the generated image.
For an example, see the software installed and configured in this pull request: https://github.com/publiclab/image-builder-rpi/pull/15/files
Recipe
Use this space to describe what your "recipe" is intended to install and configure on a Raspberry Pi:
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:
https://gitlab.com/publiclab/image-builder-rpi/pipelines/########/builds
Jobs
tab, next toPipeline
Passed
buttonDownload
in the right-hand sidebarartifacts.zip
file, and also thehypriotos-rpi-camera_web.img.zip
within itYou'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!