Skip to content
Snippets Groups Projects
Tobias Stein's avatar
Tobias Stein authored
1f8c5931
History

Image builder

This is a fork of the official pi-gen repository used for building raspberry pi images.

Changes

  • Added gitlab-release-upload.sh script to automate uploading builds to a google drive and creating a release in the repository with those builds
  • Added 04-ai-on-the-edge to stage2

pi-gen readme

The readme of the pi-gen project can be found here

gitlab-release-upload script

Prerequesites:

Running this script requires installation of gupload. This script is intended to upload the latest generated images, upload them to a google drive with activated drive API and bundling them into a gitlab release.

For configuration instructions of gupload please refer to the official documentation of that project.

API_KEY:

You will need to create a gitlab access token and store it in a plain file named API_KEY in the base directory of this project.

Configuration:

Apart from the gitlab access token you will also need to change the project id and base url in the script. Set the base url to the url of your gitlab instance and the project id to the ID of your project that is shown on your project overview page in gitlab under the repository name.