5 Commits
Author SHA1 Message Date
Agel 92c6a7a193 Merge branch 'docker_wiki_static_site'
Asteria Qt CI / rebuild-images (linux-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (linux-x86_64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-x86_64) (push) Skipped
Asteria Qt CI / build-macos (push) Successful in 9s
Asteria Qt CI / test-macos (push) Successful in 39s
Asteria Qt CI / build-linux (push) Successful in 1m13s
Asteria Qt CI / build-windows-arm64 (push) Successful in 1m30s
Asteria Qt CI / build-windows (push) Successful in 1m30s
Asteria Qt CI / build-linux-arm64 (push) Successful in 1m32s
Asteria Qt CI / package-macos (push) Successful in 55s
Asteria Qt CI / package-windows-arm64 (push) Successful in 19s
Asteria Qt CI / test-linux (push) Successful in 3m19s
Asteria Qt CI / package-linux-arm64 (push) Successful in 17s
Asteria Qt CI / package-linux (push) Successful in 18s
Asteria Qt CI / package-windows (push) Successful in 23s
Asteria Qt CI / release (push) Successful in 8s
Asteria Qt CI / build-site-image (push) Successful in 14s
2026-11-23 20:22:02 +01:00
Agel 7f1fc077e7 ci: allow master releases on manual runs and skip PR triggers
Asteria Qt CI / rebuild-images (linux-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (linux-x86_64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-x86_64) (push) Skipped
Asteria Qt CI / build-macos (push) Successful in 10s
Asteria Qt CI / build-windows-arm64 (push) Canceled after 13s
Asteria Qt CI / build-windows (push) Canceled after 12s
Asteria Qt CI / package-linux (push) Canceled after 0s
Asteria Qt CI / test-macos (push) Canceled after 5s
Asteria Qt CI / build-linux (push) Canceled after 3s
Asteria Qt CI / build-linux-arm64 (push) Canceled after 14s
Asteria Qt CI / test-linux (push) Canceled after 0s
Asteria Qt CI / package-linux-arm64 (push) Canceled after 0s
Asteria Qt CI / package-windows (push) Canceled after 0s
Asteria Qt CI / package-windows-arm64 (push) Canceled after 0s
Asteria Qt CI / package-macos (push) Canceled after 0s
Asteria Qt CI / release (push) Canceled after 0s
Manual `workflow_dispatch` runs on `master` previously skipped the `release`
and macOS DMG asset-attach steps because the job conditions required
`github.event_name == 'push'`. Update those conditions to run for both `push`
and manual `workflow_dispatch` runs on `master` (when `rebuild_images` is
false), matching both `github.ref` and `github.ref_name` with an explicit
`success()` check.

Also remove the `pull_request` trigger so workflows run only on branch pushes
and manual dispatches.
2026-11-23 20:14:33 +01:00
Agel 92f773aa8f ci: build and push static download site Docker image on master
Asteria Qt CI / rebuild-images (linux-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (linux-x86_64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-x86_64) (push) Skipped
Asteria Qt CI / build-macos (push) Successful in 10s
Asteria Qt CI / test-macos (push) Successful in 39s
Asteria Qt CI / rebuild-images (linux-arm64) (pull_request) Skipped
Asteria Qt CI / rebuild-images (linux-x86_64) (pull_request) Skipped
Asteria Qt CI / rebuild-images (windows-arm64) (pull_request) Skipped
Asteria Qt CI / rebuild-images (windows-x86_64) (pull_request) Skipped
Asteria Qt CI / build-linux (push) Successful in 1m12s
Asteria Qt CI / build-linux (pull_request) Canceled after 0s
Asteria Qt CI / build-linux-arm64 (pull_request) Canceled after 0s
Asteria Qt CI / build-windows (pull_request) Canceled after 0s
Asteria Qt CI / build-windows-arm64 (pull_request) Canceled after 0s
Asteria Qt CI / build-macos (pull_request) Canceled after 0s
Asteria Qt CI / test-linux (pull_request) Canceled after 0s
Asteria Qt CI / test-macos (pull_request) Canceled after 0s
Asteria Qt CI / package-linux (pull_request) Canceled after 0s
Asteria Qt CI / package-linux-arm64 (pull_request) Canceled after 0s
Asteria Qt CI / package-windows (pull_request) Canceled after 0s
Asteria Qt CI / package-windows-arm64 (pull_request) Canceled after 0s
Asteria Qt CI / package-macos (pull_request) Canceled after 0s
Asteria Qt CI / release (pull_request) Canceled after 0s
Asteria Qt CI / build-site-image (pull_request) Canceled after 0s
Asteria Qt CI / package-windows (push) Successful in 23s
Asteria Qt CI / build-windows-arm64 (push) Successful in 1m29s
Asteria Qt CI / build-windows (push) Successful in 1m29s
Asteria Qt CI / build-linux-arm64 (push) Successful in 1m31s
Asteria Qt CI / package-windows-arm64 (push) Successful in 19s
Asteria Qt CI / package-macos (push) Successful in 56s
Asteria Qt CI / test-linux (push) Successful in 3m20s
Asteria Qt CI / package-linux-arm64 (push) Successful in 17s
Asteria Qt CI / package-linux (push) Successful in 17s
Asteria Qt CI / release (push) Skipped
Asteria Qt CI / build-site-image (push) Skipped
Instead of linking to ephemeral CI artifacts on a wiki, package each
master release's built binaries into a self-contained Nginx static site
container (`gitea.agel.dev/asteria/site:latest` and `:<version>`) via a
new `build-site-image` job in Gitea Actions.

Because the unprivileged `kaniko-builder` runner has no Node.js runtime
for artifact actions, the multi-stage `Dockerfile.site` fetches the
just-published `v<version>` release assets (permission-preserving Linux
`.AppImage.tar.gz` archives, Windows portable `.zip` packages, and
optional macOS `.dmg`) from the Gitea Release API inside a throwaway
Python builder stage and strips the temporary token file before copying
the static output into `nginx:1.27-alpine`.

HTML, CSS, and JS are kept as standalone static files under `site/`
with `{{PLACEHOLDER}}` tokens substituted by `generate-static-site.py`
alongside generated `manifest.json` and `downloads/SHA256SUMS`, allowing
the page layout and styling to be edited independently of the build
script.
2026-11-23 20:10:35 +01:00
Agel 9f82561098 ci: allow manual workflow_dispatch runs on master to publish releases
Asteria Qt CI / rebuild-images (linux-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (linux-x86_64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-x86_64) (push) Skipped
Asteria Qt CI / build-macos (push) Successful in 10s
Asteria Qt CI / test-macos (push) Successful in 39s
Asteria Qt CI / build-linux (push) Successful in 1m13s
Asteria Qt CI / build-windows (push) Successful in 1m28s
Asteria Qt CI / build-windows-arm64 (push) Successful in 1m28s
Asteria Qt CI / build-linux-arm64 (push) Successful in 1m33s
Asteria Qt CI / package-windows-arm64 (push) Successful in 18s
Asteria Qt CI / package-macos (push) Successful in 57s
Asteria Qt CI / package-windows (push) Successful in 22s
Asteria Qt CI / test-linux (push) Successful in 3m20s
Asteria Qt CI / package-linux-arm64 (push) Successful in 18s
Asteria Qt CI / package-linux (push) Successful in 18s
Asteria Qt CI / release (push) Successful in 8s
Previously, the release job and the macOS DMG release-attachment step
gated on `github.event_name == 'push'`, which caused manual Gitea UI
runs (`workflow_dispatch`) on `master` to skip creating the release,
uploading assets, and bumping `VERSION` after all builds succeeded.

Update the condition in `.gitea/workflows/ci.yml` (and document it in
`AGENTS.md`) so `master` runs triggered by either `push` or
`workflow_dispatch` (when `rebuild_images` is false) execute the
release flow while preserving `success()` gating on upstream packaging
jobs and keeping PRs, feature branches, and image-rebuild runs
isolated.
2026-11-23 19:50:24 +01:00
Agel b05a2fecf8 swtich to gitea
Asteria Qt CI / rebuild-images (linux-x86_64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-x86_64) (push) Skipped
Asteria Qt CI / build-linux (push) Canceled after 0s
Asteria Qt CI / build-linux-arm64 (push) Canceled after 0s
Asteria Qt CI / build-windows (push) Canceled after 0s
Asteria Qt CI / build-windows-arm64 (push) Canceled after 0s
Asteria Qt CI / build-macos (push) Canceled after 0s
Asteria Qt CI / test-linux (push) Canceled after 0s
Asteria Qt CI / test-macos (push) Canceled after 0s
Asteria Qt CI / package-linux (push) Canceled after 0s
Asteria Qt CI / package-linux-arm64 (push) Canceled after 0s
Asteria Qt CI / rebuild-images (linux-arm64) (push) Skipped
Asteria Qt CI / package-windows (push) Canceled after 0s
Asteria Qt CI / package-windows-arm64 (push) Canceled after 0s
Asteria Qt CI / package-macos (push) Canceled after 0s
Asteria Qt CI / release (push) Canceled after 0s
2026-11-22 17:28:07 +01:00