Repository navigation
ci: packaging workflows run on the self-hosted runner - #47
Merged
Merged
Conversation
Cloudron, QNAP and Synology build on runs-on: self-hosted like the other workflows. - QNAP's disk clean-up (sudo, docker system prune) runs on GitHub's runners only: on a Mac it would wait for a password and delete its owner's images. Each packaging job now removes only the images it built. - The Cloudron image is built for linux/amd64 whatever the runner's architecture, and uses GitHub's layer cache only on GitHub's runners. - Synology's build.sh computes the checksum with md5 where md5sum is missing (macOS) and leaves macOS resource-fork files out of the package; QEMU is set up for both architectures. - QNAP's release-asset size check uses wc -c instead of GNU stat. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JifG4FUAcs7EFGrcotkEDz
2 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adeel · project thread
Description
Before: the Cloudron, QNAP and Synology workflows still used
ubuntu-latest, so they failed now that the Actions minutes are gone. On the Mac runner, QNAP's clean-up step would have waited for asudopassword, and itsdocker system prune -afwould have deleted every Docker image on the Mac.After: all three use
runs-on: self-hosted, like the rest of CI since #27.wc -cinstead of GNUstat -c.QNAP_ARM_RUNNERcan still name another runner for the ARM build.linux/amd64, with QEMU on an Apple silicon runner. Without this, a Mac would push an arm64 image.build.shfalls back tomd5 -rwheremd5sumis missing (macOS).COPYFILE_DISABLE=1so macOStaradds no._files.Motivation and Context
Follow-up to #27: GitHub-hosted minutes are used up, and everything now runs on the Mac runner. The Mac needs Docker running for these jobs.
Steps to reproduce (if appropriate):
Checks run locally:
actionlintand the repository's pre-commit hooks on the changed files,shellcheckandsh -nonbuild.sh, and the checksum line on Linux. Themd5 -rfallback hasn't been run: it is macOS-only and this environment is Linux. The workflows themselves only run on a release or by hand, so they are not exercised by this PR.Types of changes
Checklist:
🤖 Generated with Claude Code
https://claude.ai/code/session_01JifG4FUAcs7EFGrcotkEDz
Generated by Claude Code