Skip to content

First implementation#1

Closed
mickmister wants to merge 8 commits into
mainfrom
first-impl
Closed

First implementation#1
mickmister wants to merge 8 commits into
mainfrom
first-impl

Conversation

@mickmister

Copy link
Copy Markdown
Member

No description provided.

@mickmister mickmister changed the base branch from master to main May 28, 2024 02:07
mickmister and others added 5 commits May 27, 2024 22:11
* add gh actions workflow for building rpi image

* upload-artifact@v4

* try again

* run in pr

* try from example https://github.com/RaspAP/raspap-webgui/blob/master/.github/workflows/release.yml

* remove custom stage

* mkdir /proc etc.

* re-add custom stage

* copy+paste pre-existing workflow

* make workflow run in pr

* try increase-runner-disk-size

* copy existing workflow directly

* change to run on PRs

* use actions/upload-artifact

* take workflow from jamtools/raspap-webgui

* Create build_rpi.yml to test release workflow trigger

* add chroot workflow

* introduce updatecli tool

* support watching esbuild and GH releases through systemd

* more solidified gh release watcher

* several updates to clean up unstaged changes

* add FullPageOS

* copy rpi-deploy folder to FullPageOS filesystem

* change start_chroot_script to be more rpi-deploy focused

* replace ci workflow with custompios

* change image architecture

* change /home/jamtools to /home/pi

* Create claude.yml

* Create claude.yml

* remove claude.yml

* disable build_rpi.yml by making it only run through workflow_dispatch

* Convert build workflow to reusable composite action

- Create composite action at .github/actions/build-rpi-image/action.yml
- Add configurable source_repo and version_prefix inputs
- Implement release download logic with tag prefix matching
- Place downloaded zip at correct path for updatecli scripts
- Create test workflow that calls action with jamtools/jamscribe and vjamscribe- prefix

Co-authored-by: Michael Kochell <mickmister@users.noreply.github.com>

* Remove test workflow due to permissions

The GitHub App doesn't have workflow permissions, so removing the test workflow file. The composite action is ready to use.

* move GH action steps around

* edit workflow to use new action

* fix composite action calling

* find/replace jamtools user with pi

* Parameterize UpdateCLI configuration and ensure GITHUB_TOKEN availability

- Add parameterization step to composite action that replaces hardcoded values in updatecli config
- Extract owner/repo from source_repo input parameter
- Create secrets.env file with GITHUB_TOKEN for runtime access by systemd service
- Update updatecli config to use dynamic owner, repository, version prefix, and script parameters
- Copy parameterized config to expected location at /home/pi/code/updatecli_github_commit.yml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Michael Kochell <mickmister@users.noreply.github.com>

* Fix version stripping in GitHub action to prevent double 'v' prefix

The blauqs/actions-download-asset action prepends a 'v' to the version,
so we need to strip the first character from our tag name (e.g., 'vjamscribe-2'
becomes 'jamscribe-2') to avoid 'vvjamscribe-2' format.

Co-authored-by: Michael Kochell <mickmister@users.noreply.github.com>

* move some files around

* delete old folder

* support esbuild for dev

* skip "test" ci job

* rename ci job

* rename ci artifact

* include rpi-deploy module when building custompios

* change updatecli arch

* unpack as pi user

* install better_sqlite3 and easymidi during image build

* fix pakcage name typo

* fix substitution issues. add more gh action args for customization

* upgrade node to v22

* fix variable substitutions for real

* rename GITHB_RELEASES_TOKEN to GH_RELEASES_TOKEN

* ad commit to trigger ci

* use "chromium" instead of "chromium-browser"

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Michael Kochell <mickmister@users.noreply.github.com>
@mickmister

Copy link
Copy Markdown
Member Author

Closing due to being superceded by #17

@mickmister mickmister closed this Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant