CI and releases
Where things are published
Section titled “Where things are published”| What | Where |
|---|---|
| ISO downloads | SourceForge Files: https://sourceforge.net/projects/flickos/files/ (one folder per release, e.g. v2.0/) |
| Apt repository | GitHub Pages (dvbondoy/flickos-apt): https://dvbondoy.github.io/flickos-apt/ (05) |
| Source code, CI, issues | GitHub: https://github.com/dvbondoy/FlickOS |
| Website | https://flickos.org (Vercel, from the flickos-site repository; DNS at Namecheap) |
Release history: FlickOS 1.0 and 1.1 (FlickOS-64bit-v1.1.iso, May 2023)
were based on Ubuntu 20.04 and LXLE. FlickOS 2.0 is a rebuild on Debian 13.
There is no in-place upgrade from 1.x to 2.0. Release notes must tell 1.x
users to back up their files and reinstall.
The version number
Section titled “The version number”FLICKOS_VERSION in packages/flickos-branding/usr/lib/flickos-release is the
single source of the FlickOS version:
| Uses it | How |
|---|---|
| ISO file name | tools/build-iso.sh names the ISO FlickOS-64bit-v2.0.iso |
| ISO volume label | auto/config reads it for --iso-volume "FlickOS 2.0 amd64" |
/etc/os-release, /etc/issue |
Generated by flickos-branding (09) |
| SourceForge folder | tools/upload-release.sh uploads to files/v2.0/ |
| Git tag | CI refuses a tag that isn’t v + FLICKOS_VERSION |
| Boot test | Check FlickOS version matches build |
One copy can’t read that file: the installer’s
packages/flickos-installer/etc/calamares/branding/flickos/branding.desc
(version, shortVersion, versionedName, shortVersionedName).
tools/build-iso.sh stops with Version mismatch if you forget to update it.
The workflow: .github/workflows/iso.yml
Section titled “The workflow: .github/workflows/iso.yml”GitHub Actions builds the ISO on a clean machine so builds don’t depend on your laptop.
When it runs
Section titled “When it runs”| Trigger | Result |
|---|---|
Push to main |
ISO built and boot-tested, uploaded as a workflow artifact (kept 7 days) |
| Pull request | Same. Checks the change doesn’t break the build or the boot |
Only repo/community/apps/ changed (push or pull request) |
Nothing: a community app is no part of the ISO (paths-ignore; community.yml below builds it) |
| Manual (Actions tab → Build ISO → Run workflow) | Same |
Push a tag vX.Y (e.g. v2.0) |
Same, plus upload of the ISO and SHA256SUMS to SourceForge, and a GitHub Release with SHA256SUMS and a download link |
What it does
Section titled “What it does”- Starts a privileged
debian:trixiecontainer. live-build needs root,mountandchroot, and must match the target release. - Installs the build tools (
live-build,debhelper, …, andsfwbar’sBuild-Depends), the test tools (qemu-system-x86,xorriso,python3) and the upload tools (rsync,openssh-client).wgetis listed explicitly because live-build’s firmware step needs it and--no-install-recommendswould skip it. - Checks out the repo.
- On tags only: checks the tag equals
v+FLICKOS_VERSION. tools/build-iso.sh --purge: builds the FlickOS packages from the commit being tested, thenFlickOS-64bit-vX.Y.isoandSHA256SUMS. It’s the same script you run locally.tools/boot-test.py: boots the ISO headless and runs the checks. See 02. A failed check fails the workflow and shows as an error annotation on the run.- Uploads the
boot-testartifact (serial.log,screen.png,build.log), even when an earlier step failed, so you can see why. - Uploads the
flickos-isoartifact (ISO +SHA256SUMS). - On tags only, if the SourceForge secrets are set:
tools/upload-release.shuploads the ISO andSHA256SUMStosourceforge.net/projects/flickos/files/vX.Y/. - On tags only: creates a GitHub Release with
SHA256SUMSand a link to the SourceForge folder. The ISO itself isn’t attached, because GitHub release files are limited to 2 GB and FlickOS with LibreOffice can exceed that.
A tag is only uploaded and released if the build and boot test passed, because
later steps don’t run after a failure. permissions: contents: write at the top
allows step 10.
KVM in CI: the privileged container can use the runner’s /dev/kvm, so
the boot test normally runs accelerated. If KVM isn’t available, the test
prints a warning annotation and runs much slower, with longer timeouts.
One-time setup: SourceForge upload secrets
Section titled “One-time setup: SourceForge upload secrets”- Create an SSH key only for CI (no passphrase):
ssh-keygen -t ed25519 -N '' -C flickos-ci -f flickos-ci - Add
flickos-ci.pubto the SourceForge account that uploads, at https://sourceforge.net/auth/shell_services. That account must be allowed to release files in the flickos project. - In GitHub → repo Settings → Secrets and variables → Actions → New repository secret:
SF_USER: the SourceForge username, e.g.dvbondoySF_SSH_PRIVATE_KEY: the full content of theflickos-cifile
- Delete the local
flickos-ciprivate key file. If it leaks, remove the public key on SourceForge and repeat.
Without these secrets, tagged builds still work but skip the SourceForge upload.
Upload by hand with tools/upload-release.sh instead.
Requirements for CI to pass
Section titled “Requirements for CI to pass”- The public key
packages/flickos-archive-keyring/keyrings/flickos-archive-keyring.ascis committed. - The apt repository is published at the address in
packages/flickos-archive-keyring/etc/apt/sources.list.d/flickos.sources(https://dvbondoy.github.io/flickos-apt). The build’s finalapt updateneeds it (05). - The version in
branding.descmatchesflickos-release. - All scripts and hooks are committed with the executable bit. Check with
git ls-files -s packages/*/debian/rules packages/*/debian/*.post* config/hooks auto repo/*.sh tools. Mode100755= executable,100644= not. Fix withgit update-index --chmod=+x FILE.
The secret signing key is not needed in CI. CI only builds and uploads the ISO, it doesn’t publish the apt repository.
Getting the ISO and test results from a run
Section titled “Getting the ISO and test results from a run”GitHub → your repo → Actions → click the run → Artifacts:
flickos-iso: zip containing the ISO andSHA256SUMSboot-test:boot-test/serial.log,boot-test/screen.pngandbuild.log
When the boot test fails, open serial.log first. It shows how far the boot
got and the output of the failing check.
Limits
Section titled “Limits”- Build time is roughly 30–50 minutes, plus a few minutes for the boot test. Jobs time out after 6 hours.
- Artifact storage counts against your GitHub quota. That’s why retention is 7 days.
- Runner disk space is about 14 GB free. If builds fail with No space left on device, remove preinstalled tools in an extra first step, or build locally.
Community apps: .github/workflows/community.yml
Section titled “Community apps: .github/workflows/community.yml”Builds other developers’ apps for the community repository (Software design,
ADR-004; repo/community/README.md). It runs
on pushes to main and pull requests that touch repo/community/,
flickos-archive-keyring or the workflow, and by hand.
- changed (a
debian:trixiecontainer): runs the checks’ own tests (repo/community/tests/), thenbuild.py --changed BASElists the apps whose file was added or changed (the pull request’s base, or the push’s previous commit; by hand: every app). - build, one job per app (a matrix): adds FlickOS’s two distributions
from flickos-archive-keyring (the checks ask apt where a dependency comes
from), creates the user
builderand blocks its network with iptables (the job’s container hasNET_ADMINfor that, in its own network namespace only), thenbuild.py --install-build-deps --build-user builder --base BASE NAME: clone, refuse a tag that doesn’t point at the listed commit and source that can’t be reviewed, install the build dependencies, build that commit asbuilder(offline;build.pystops if it isn’t), runcheck.py(lintian included), write the source diff since the published commit andreview.txt, the lines to look at. The summary goes on the run’s page; the folder (.deb,check.txt,source.diff,summary.md) becomes the artifactcommunity-NAME-COMMIT(90 days), orfailed-NAMEwhen it failed.
The workflow has no secrets and a read-only token: building runs the
developer’s debian/rules. Nothing is signed here; the maintainer’s
repo/community/publish.sh takes only artifacts of runs on main, since a
pull request runs its own copy of the workflow.
Discord notices: .github/workflows/discord.yml
Section titled “Discord notices: .github/workflows/discord.yml”Every push to main posts its commits’ first lines to a Discord channel, and
every v* tag posts a notice with the release’s address (the release itself
appears only once iso.yml passes). Other branches and pull requests post
nothing. Commit messages become public there, so keep them fit to be read.
One-time setup: in Discord, Channel settings → Integrations → Webhooks → New
Webhook, copy its URL, and add it in GitHub as the repository secret
DISCORD_WEBHOOK. Without it the workflow posts nothing. Anyone with the URL
can post to the channel: if it leaks, delete the webhook and make a new one.
To post commits from before the workflow existed, run
tools/discord-post-commits.py with git log arguments, for example
DISCORD_WEBHOOK=URL tools/discord-post-commits.py -n 20 main (or
--webhook-file FILE). --dry-run prints the messages instead.
2.x feature freeze
Section titled “2.x feature freeze”Since 2026-11-22, FlickOS 2.x (Debian 13) takes no new features: new work goes
into 3.0, on the forky branch (11). main still
builds 2.x and publishes it to trixie until the cut-over (docs/11 phase 4),
but only these changes:
- bug fixes and regressions,
- security fixes,
- translations and text fixes,
- whatever a Debian 13 point release or security update breaks,
- docs, tests, CI and build tools.
Not on main: a new package, kit, layout, style, setting, keybinding or Settings
page, a new option on an existing feature, or a changed default that users
would notice. These go on forky, which, until phase 4, means no changelog
entry (its merged branches keep their ~test versions). A feature already merged
to main before the freeze may still be finished (the checks it was waiting
for, and fixes for what they find) but not extended. An exception has to be
decided on purpose and written down here. The exceptions so far:
- the 2.x → 3.0 upgrade tool (docs/11 phase 5,
docs/design/flickos-upgrade.md), built on a branch with~testversions and published at phase 5, - the end-of-support notice (below).
Fix on main, then merge main into forky (tools/sync-release.sh) as before.
A fix that is only needed on forky stays there.
Last 2.x ISO: 2.4 is the snapshot of main at the freeze, so that new installs start from what the apt repo already has instead of upgrading 2.3. After it, a 2.4.N ISO only when the ISO itself is broken (it won’t install, boot or upgrade); package fixes reach users through the apt repo alone.
Support after 3.0: 2.x fixes continue on a trixie branch, following
docs/11’s After the release (security, data loss, broken upgrades), for
12 months after 3.0’s release, and never past the end of Debian 13’s
regular security support, whichever comes first. Twelve months gives schools
and organizations a full school year’s break to upgrade in. The clock starts at
3.0’s release, not at the cut-over, and only once the tested upgrade path
(docs/11 phase 5) is out: if that comes later, the end date moves back with it.
- 3.0’s release notes give the end as a month, and explain what it means:
FlickOS stops publishing to
trixie, but the suites stay online and Debian’s own security updates keep arriving until Debian stops them, so a 2.x system keeps working; it just gets no more FlickOS fixes. - About 3 months before the end, 2.x shows a notice on the desktop (Welcome or Software) pointing to the upgrade. This one is an allowed exception to the freeze.
- On the end date, follow docs/11’s At the end of trixie’s security support: announce it, stop publishing, never delete the suites.
Release checklist
Section titled “Release checklist”Use this for every FlickOS release. The examples use 2.0.
Prepare
- All package changes have bumped versions (
dch -i -D trixie) and are committed. - Shortcut for the next three items:
tools/release.sh 2.0does the version bump and the repo publish below, then waits for the newInReleaseto be online (--no-publishstops after the bump). It commits nothing; run it again with the same version to resume after a failed publish. By hand: - Set the FlickOS version and commit:
FLICKOS_VERSION="2.0"inpackages/flickos-branding/usr/lib/flickos-release, then bump that package (dch -i -D trixie "FlickOS 2.0.").- The four version strings in
packages/flickos-installer/etc/calamares/branding/flickos/branding.desc, then bump that package.
-
repo/publish.sh && repo/upload.sh, then check withcurl -fsSI https://dvbondoy.github.io/flickos-apt/dists/trixie/InRelease. - Write release notes (what’s new, known issues, and for 2.0: reinstall required when coming from 1.x).
Build and test locally (see 02)
-
tools/build-iso.sh --purge→FlickOS-64bit-v2.0.iso -
tools/boot-test.py --strictpasses. -
tools/test-iso.sh --biosandtools/test-iso.sh --uefi: boot menu works, desktop works. -
tools/test-iso.sh --reset --install: install with Calamares, reboot, log in, labwc starts. The first install slide mentions the weekly count;flickos-countme statusshows it on (and, withURLset, alast_weekaftersudo systemctl start flickos-countme). -
tools/test-iso.sh --disk:sudo apt update && sudo apt upgradeworks with no errors.
Publish
-
git push, and wait for CI onmainto pass. - Tag and push:
Terminal window git tag -a v2.0 -m "FlickOS 2.0"git push origin v2.0 - Wait for the workflow. Without CI secrets, upload by hand:
tools/upload-release.sh. - On SourceForge → Files →
v2.0:- upload the release notes as
README.mdin that folder (SourceForge shows it below the file list), - click ⓘ next to
FlickOS-64bit-v2.0.iso→ Default Download For: select all → Save, so the big green Download button offers the new release.
- upload the release notes as
- Update the project summary/description on SourceForge if the base or features changed (for 2.0: Debian 13, labwc).
- On GitHub → Releases →
v2.0: paste the release notes. - Download the ISO from SourceForge and verify it:
sha256sum -c SHA256SUMS. - Announce on r/flickos.
If a release is broken: delete the GitHub Release and the tag
(git push --delete origin v2.0, git tag -d v2.0). On SourceForge, hide or
delete the files in v2.0/ and restore the previous default download. Fix,
set FLICKOS_VERSION="2.0.1" and release v2.0.1. Don’t reuse a version people
may already have downloaded.
Version numbers: FlickOS vs packages
Section titled “Version numbers: FlickOS vs packages”They’re independent:
- FlickOS release (
FLICKOS_VERSION, tagv2.0, ISO name): the ISO snapshot as a whole. - Package versions (
flickos-settings 1.3): bumped whenever that package changes. Many package updates can ship between two ISO releases, through the apt repo.
Package versions on branches
Section titled “Package versions on branches”A version names one set of files, for good: apt never replaces an installed package with another of the same version, and reprepro refuses a second file under a published version. So two branches must never give the same package the same number for different changes. It happened once: main published flickos-layouts 1.73 while a logo branch had used 1.73 for its own changes, and installing the branch’s build would have undone main’s fix (apt called it a downgrade).
- On main, and on a branch merged within the day: the next number,
dch -i -D trixie "…", as always. - On a branch that waits (for a release, a test, a decision): a test
version of the next number,
dch -v 1.74~test1 -D trixie "…", then~test2for the next change.~sorts before everything, so1.74~test1is newer than1.73and older than1.74: it can’t clash with any number main publishes, a build installed for trying it is replaced by the next real release, andrepo/publish.shnever puts it intrixie(only--testingputs it intrixie-testing, 05). - When the branch is merged: look in
repo/public/pool/for the newest published version and give the package the next one withdch -i(its~testentries stay in the changelog). A package that depends on it with>=gets the real number too. - Merge main into a branch that waits now and then, so that what it builds for trying has main’s fixes too.
packages/build.sh warns when a package it built has a version that is
already in repo/public/pool/ with other files: a change without a version
bump, or a branch that took a number main published meanwhile. Only a
warning, because a compiled package (sfwbar) can differ between two builds
of the same source; on CI, where there is no pool, it checks nothing.
Moving to a new Debian release
Section titled “Moving to a new Debian release”FLICKOS_DEBIAN in packages/flickos-branding/usr/lib/flickos-release
(trixie) is the Debian release FlickOS is built on and the name of its apt
suites; tools/build-iso.sh stops when the build host, repo/conf/distributions,
flickos.sources or the workflows’ containers name another. The whole move,
in phases: 11 – Moving to a new Debian release.
Ideas for later
Section titled “Ideas for later”- A second workflow that publishes the apt repository when files in
packages/change. It needs the secret signing key as an encrypted GitHub secret. - Cache
cache/between CI runs withactions/cacheto speed up builds.