-
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 (wrong branch) #53
Conversation
trying to do it from a branch in the same repo... based on #50 |
This comment has been minimized.
This comment has been minimized.
Rebuilding for new version of image sequencer! |
New image available! https://gitlab.com/publiclab/pi-builder/-/jobs/121890022/artifacts/download |
Hi @icarito i've just published a new |
Same error as in #68 ! |
OK, this needs rebase now after #69 ! |
Rebased! Update Hmm. not rebuilding. will try adding one more small commit. |
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.
@icarito would you mind checking if my rebase introduced a bunch of unnecessary stuff vs. https://github.com/publiclab/pi-builder/pull/40/files ? Thank you!
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.
@icarito can you check if this should be here? It exists on https://github.com/publiclab/pi-builder/pull/40/files but not sure if it's an artifact of rebasing.
builder/chroot-script.sh
Outdated
get_gpg "${PACKAGECLOUD_FPR}" "${PACKAGECLOUD_KEY_URL}" | ||
|
||
echo 'deb https://packagecloud.io/Hypriot/rpi/debian/ stretch main' > /etc/apt/sources.list.d/hypriot.list | ||
# set up hypriot rpi repository for raspbian specific packages |
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.
Same here... is this right for this PR or is this reverting something?
@@ -0,0 +1,14 @@ | |||
#!/bin/sh -e |
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 one more spot I'm uncertain - this doesn't exist in https://github.com/publiclab/pi-builder/pull/40/files for example, which builds properly and is supposed to be almost the same as this PR.
versions.config
Outdated
@@ -4,14 +4,15 @@ 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.
Ah, one more, apologies. this is the last spot.
Sorry I just got around to check this! I think that the issue is you're rebasing into |
Ah, this makes sense, but actually all our PRs are against |
You're right our PR's are for |
Merge branch 'image-sequencer' of https://gitlab.com/publiclab/pi-builder into image-sequencer
Hey, i figured out the issue is that you force-pushed and this stalled the repository synchronization. It's building now, fingers crossed! |
…bglew-dev pkg-config
builder/chroot-script.sh
Outdated
|
||
# install infragram in the web public folder: | ||
# prerequisites: | ||
sudo apt-get install -y build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config |
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.
Ok @icarito do I need to rebase this again?
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.
Ah looks like no, it's building now!
@jywarren is there something I can help here? |
@Divy123 is python a requirement to build headless-gl?
|
yes, we do require!! |
Hmm:
|
builder/chroot-script.sh
Outdated
|
||
# install infragram in the web public folder: | ||
# prerequisites: | ||
sudo apt-get install -y build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config python2.7 python2.7-dev |
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.
Maybe this doesn't install as python
?
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.
Maybe this doesn't install as python?
I think this may be needed:
sudo apt-get install -y build-essential libxi-dev libgl1-mesa-dev libglew-dev pkg-config python2.7 python2.7-dev. Just confirming!!
ca35fc9
to
b291018
Compare
Hmm, switching back to python 2.7, but really just trying to not have a force push so that this will build properly... |
We may need to close this and move to a new PR which is against |
Hey, I just went to check the Gitlab repository configuration and I found I could modify the CI timeout - I set it to 4 hours! So maybe let's try again with the build that timed out? Thanks and sorry I didn't know that was possible! |
Here I restarted the build from last week: |
https://gitlab.com/publiclab/pi-builder/-/jobs/264059463 (revert builder/build.sh) timed out at one hour because it started before I changed the setting (the max is 3 hours). I'm restarting this build! |
Testimage |
Hi, can someone tell me where I should download this image? There is no green check mark? |
Hi! It looks like the build didn't correctly complete -- so it shows a red X instead. The link is under the word The error was:
In the log here: https://gitlab.com/publiclab/pi-builder/-/jobs/264061251 Not sure why that happened! It looks like even in the new issue we moved to from here, we are seeing some issues as well: #73 |
Note: this is opened against the
master
branch instead of the correctmain
branch. However another PR already exists (#73) for this branch againstmain
so we cannot repoint this PR. Keeping it open to preserve the discussion!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!
Note: a working image can be downloaded here:
https://gitlab.com/publiclab/pi-builder/-/jobs/121890022/artifacts/download