Commit graph

39 commits

Author SHA1 Message Date
rootzoll
7eaf68cd41 simplify packer 2024-04-05 14:30:10 +02:00
rootzoll
35b5e8e670 fail on wrong branch 2024-04-04 12:36:52 +02:00
rootzoll
69a18c7375 fix packer script 2024-04-04 12:30:09 +02:00
rootzoll
8b77877d6b clean up 2024-04-04 12:22:34 +02:00
rootzoll
6558fb41f1 check internet & clean 2024-04-04 12:18:59 +02:00
openoms
c4b8ef5586
ci: add base image build (#4465)
* ci: add base image build
add stop file and --image_size 20G
* make /var/cache/raspiblitz world writable for qemu
* add stop file to /boot/
---------
Co-authored-by: Christoph Stenglein <christoph@cstenglein.com>
2024-04-03 21:26:00 +02:00
rootzoll
2c56f5248b #4477 packer min-build without display 2024-03-19 15:24:25 +01:00
openoms
5581a40b2b
base image update: raspios_arm64-2024-03-15 (#4479) 2024-03-17 08:49:01 +01:00
rootzoll
e477377214 adapt versioning with v 2024-03-15 11:59:44 +01:00
/rootzoll
2f0abcf7fa
fix #4456 packer local build (#4461) 2024-03-08 21:30:43 +01:00
/rootzoll
2de42dc72a
Fix #4456 local packer build (#4460) 2024-03-08 20:48:21 +01:00
openoms
87d63e5f32
docs: fix local build command 2024-03-07 19:07:34 +01:00
rootzoll
c5fedf71c2 improve packer doc 2024-03-07 18:55:49 +01:00
rootzoll
b02db0b46c update packer script 2024-03-07 18:28:18 +01:00
openoms
81e5fae6dc
ci: amd64 base image update to debian 12.5.0 (#4411) 2024-02-11 19:33:48 +01:00
/rootzoll
c2df07efd1
Local release image build with Packer (#4335)
* packer build live image
2024-01-18 17:25:35 +01:00
openoms
5321480fb5
build(arm64-rpi): make /dev/shm world writable for the build (#4347) 2024-01-02 14:19:20 +01:00
/rootzoll
fac733a0a1
raspios_arm64-2023-12-06 (#4319)
* raspios_arm64-2023-10-10
* update signature check
* Update Packer
2023-12-14 19:43:30 +01:00
openoms
c17066cb07
build: debian update to 12.4.0-amd64 (#4313) 2023-12-11 11:50:20 +01:00
openoms
50769843ba
docs: update link for arm64-rpi images in ci 2023-12-02 18:39:14 +01:00
openoms
df210e6e45
local build fixes (#4260)
* run the local build uninterrupted
* fix local build amd64-lean-desktop-uefi-image
2023-11-22 07:30:43 +00:00
openoms
b57aba6acf
Debian12 Bookworm for RPi in ci (#4238)
* update RPi base image to Debian12 Bookworm in ci
* ci: remove  -d headless for rpi
* docs: ready made images for arm64-rpi
* update python deps, add rsyslog, armbian_deps
* hide wget progress in lean build, keep errors
* apt-get instead of apt
* enable ssh
* apt-get everywhere, remove only if present
* use --quiet for wget for cleaner logs
2023-11-22 07:28:54 +00:00
openoms
c67499b222
ci: fix builds (#4160)
* fix: missing space in amd64 fatpack action
* change tab to space
* determine github user
* use $GITHUB_OUTPUT instead of set-output
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
* update all build workflows

* fix: don't protect system packages from pip
Discussed in: https://github.com/raspiblitz/raspiblitz/issues/4170

* add raspi.list only on aarch64

* create auth.log for fail2ban
related: https://github.com/raspiblitz/raspiblitz/issues/4044

* Broken builds on amd64 for blitz api and core lightning (debian 12) (#4242)
Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>

* remove the arm64-rpi-debian12-lean-image-build
* deactivate automatic fatpack builds in gh actions

---------

Co-authored-by: Akihiko <105069903+0xakihiko@users.noreply.github.com>
2023-11-15 15:12:59 +01:00
openoms
68f21035c1
docs: add instructions to prepare a used OSdisk (#4218) 2023-11-14 18:36:08 +01:00
Christoph Stenglein
4a194007a8
(dev): update debian iso to 12.2.0 (#4214)
Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
2023-10-11 15:31:45 +02:00
openoms
2c235f3b53
fix adduser + maintenance tasks (#4172)
* fix: add --shell /bin/bash to adduser

* joininbox update to v0.8.1 and install fixes

* CLN update to v23.08.1

* bos update to 15.8.14, improve menu

* lnproxy: deactivate in menu and provision

* copy the skeleton files for user used with login

* deprecate loop single install further

do not install in any case
the uninstall option is still used

* deprecate faraday single install further

do not install in any case
the uninstall option is still used

* deprecate pool single install further

do not install in any case
the uninstall option is still used

* bos: minimize changes to script

* only add --bash oprion to users intended for login

* add info to CHANGES

* add sudo to non-privileged scripts

* bos: don't download source

* ci: run apt update before qemu install
2023-09-20 10:29:15 +02:00
openoms
a394ba59a3
add missing make command 2023-09-11 12:50:32 +02:00
openoms
547e0456a9
docs: fix steps for the ready made images 2023-09-10 20:58:00 +02:00
openoms
e3982b9175
recommend using qemu-image dd first 2023-08-31 13:50:59 +02:00
openoms
01560a95b1
docs: reorganize the amd64 image instructions 2023-08-31 12:32:19 +02:00
openoms
f58a388cdb
ci: change variables in gh actions to new format (#4045)
* ci: change variables in gh actions to new format

* ci: remove quotes and set vars correctly
2023-07-31 22:34:52 +02:00
openoms
0d0e5581a5
ci: UEFI image generation and build updates (#4033)
* ci: use uefi for amd64 image, debian 12.1.0
* build: add amd64 legacyboot image action
* ci: store var values in config, update readme
* fix: add raspi repo on aarch64 only
fixes: https://github.com/raspiblitz/raspiblitz/issues/4029
* docs: guide to extend the root partition
2023-07-30 10:51:33 +02:00
openoms
8bbdd957fb
ci: update packer-builder (#4017) 2023-07-18 18:53:51 +02:00
openoms
d270662b73
ci: update images, add arm64-rpi-debian12 build (#3985)
* ci: update images, add arm64-rpi-debian12 build

* ci: add apt update and concurrency

* fix: use netcat-openbsd in build

* ci: add concurrency to all jobs

* fix: simplify image check and add python 3.11

* ci: update amd64 base image to Debian 12.0.0

* build: separate apt_installs

* add btrfs-progs only if not bookworm on aarch64

* build: remove armbian, add aarch64 debian

---------

Co-authored-by: /rootzoll <christian@geektank.de>
2023-07-08 14:58:00 +02:00
openoms
8d72c83ca9
amd64 image update to Debian 12.0.0 and Python compatibility (#3967)
* build:  use python 3.11 if available

* ci: update amd64 base image to Debian 12.0.0

* use netcat-openbsd package
2023-07-08 14:51:11 +02:00
openoms
d9cfe82b51
ci: use debian-11.7.0-amd64 base image 2023-05-23 12:30:26 +01:00
openoms
744dd45758
ci docs update (#3578) 2023-01-18 13:26:38 +01:00
openoms
ff4d35b038
reduce arm64-rpi image size to 28G (#3557) 2022-12-21 12:07:37 +01:00
openoms
4ab6c46a27
Add automated image builds for VM, bare metal (amd64) and RPi (arm64-rpi) (#3486)
* add amd64 image build with lean and fatpack option

* use the pi user for setup

* add notes to ci readme

* add gnome desktop to fatpack image, reduce to 30GB

* documentation updates

* install gnome with --force-yes

* install gnome desktop non-interactively

* change links to rootzoll dev

* pass user and branch to build_sdcard.sh from PR

* add user and branch to Makefile

* Add arm64 rpi image build (#74)

ci:
* add arm64-rpi image build
* rename to raspiblitz-amd64-debian-11.5-lean/fatpack
* use rm -f to not exit with error
* place amd64 images under ci/amd64/builds/
* make /dev/shm world writable for fatpack
* fix vlc remove and --var syntax
* remove sudo-s
* leave update and upgrade to the build_sdcard.sh
* increase image size to 16GB, rename build dir

build_sdcard.sh:
* detect raspios_arm64 with raspi.list
* switch ssmtp to msmtp
related: https://github.com/rootzoll/raspiblitz/pull/2232

Co-authored-by: rootzoll <johndoe@example.com>

* i2pd: unified install from repo, /usr/sbin to PATH

related: #2413, fixes amd64 build

* update CHANGES.md

* fix amd64 path in Makefile

* use only qemu image, run on ubuntu-22.04

* use file_checksum for the arm64-rpi base image

* Fix the local arm64-rpi image generation (#75)

* add selfrun script
* ubuntu: add universe repo and qemu-user-static
* test on ubuntu live (jammy)

* build from branches: [ "dev", "v1.8", "v1.9" ]

* correct Makefile paths for the  local run

* make the local run non-interactive

* improve readme and Makefile

* increase disk image sizes to 32GB

* set image sizes to 30 GB for amd64 and arm64-rpi

* add network-manager for amd64

* add to readme

* skip Code&Compile for VM builds

* add to readme

* amd64 base image update to debian 11.6.0

* remove debian version from filenames

* skip Code&Compile for amd64 builds

* Merge branch 'dev' into add-amd64-image-build

* amd64: increase cpu and RAM, compile mempool last

* trigger workflows only on scripts used or called

* Update ci/arm64-rpi/packer.build.arm64-rpi.sh

Co-authored-by: Daniel Bast <2790401+dbast@users.noreply.github.com>

* arm64 remove setup-qemu-action, leave npm last

* set only manual trigger for fatpack, edit triggers

Co-authored-by: rootzoll <johndoe@example.com>
Co-authored-by: Daniel Bast <2790401+dbast@users.noreply.github.com>
2022-12-20 15:31:51 +01:00