1- Image Generation Examples for Forrest
2- =====================================
1+ Forrest Runner images used by Pengutronix
2+ =========================================
33
44 ┏━━━━━━━━━━━━━━━┓
55 ┃ Run ┃
@@ -9,10 +9,71 @@ Image Generation Examples for Forrest
99
1010---
1111
12- This repository contains examples on how to generate images for the
13- [ Forrest] ( https://github.com/hnez/forrest/ ) GitHub action runner runner.
14- If these words do not make sense to you, you should start your journey there.
12+ This repository contains [ Forrest] [ forrest-project ] machine
13+ set up actions.
14+ If these words do not make sense to you, you should start your journey at the
15+ link above.
1516
16- There are jobs to:
17+ To use these jobs you will need a [ Forrest] [ forrest-project ] runner with a
18+ config that looks something like this:
1719
18- - [ Generate Debian based images] ( .github/workflows/debian.yaml )
20+ ``` yaml
21+ host :
22+ base_dir : /srv/gh-runner/forrest
23+ ram : 32G
24+
25+ github :
26+ app_id : [YOUR APP ID]
27+ jwt_key_file : [PATH TO YOUR JWT KEY]
28+ webhook_secret : [YOUR GITHUB WEBHOOK SECRET]
29+
30+ repository_snippets :
31+ image-machines : &image-machines
32+ machines :
33+ generator : &image-generator
34+ setup_template :
35+ path : /etc/forrest/templates/generic
36+ parameters :
37+ RUNNER_VERSION : " 2.323.0"
38+ RUNNER_HASH : " 0dbc9bf5a58620fc52cb6cc0448abcca964a8d74b5f39773b7afcad9ab691e19"
39+ use_base : always
40+ cpus : 4
41+ disk : 16G
42+ ram : 4G
43+
44+ repositories :
45+ pengutronix :
46+ forrest-images :
47+ persistence_token : [A RANDOM PERSISTENCE TOKEN]
48+ machines :
49+ debian-bookworm-base :
50+ << : *image-generator
51+ base_image : /srv/gh-runner/forrest/images/debian-12-generic-amd64.raw
52+ debian-bookworm-debos :
53+ << : *image-generator
54+ base_machine : pengutronix/forrest-images/debian-bookworm-base
55+ debian-bookworm-ptxdist :
56+ << : *image-generator
57+ base_machine : pengutronix/forrest-images/debian-bookworm-base
58+ debian-bookworm-yocto :
59+ << : *image-generator
60+ base_machine : pengutronix/forrest-images/debian-bookworm-base
61+ ` ` `
62+
63+ The jobs will set up images for use with debos, ptxdist and yocto jobs from
64+ plain Debian generic [cloud images](https://cloud.debian.org/images/cloud/).
65+
66+ See the [workflow file](.github/workflows/debian.yaml) for more information.
67+
68+ Refer to the [Forrest][forrest-project] documentation for information on how
69+ actually to use these machine images.
70+
71+ ---
72+
73+ ┏━━━━━━━━━━━━━━┓
74+ ┃ Stop ┃
75+ ┃ Forrest ┃
76+ ┃ Stop ┃
77+ ┗━━━┯━━━━━━┯━━━┛
78+
79+ [forrest-project]: https://github.com/forrest-runner/forrest/
0 commit comments