CI off: checks run by hand, only package builds run by themselves

The checks no longer run on pushes, pull requests or a schedule, on
GitHub or Gitea: ci.yml, audit.yml, fuzz.yml and Gitea's ci.yml run by
hand only (Run workflow). Only the package builds still run by
themselves, on v* tags (release.yml, docker.yml, Gitea's release.yml),
and the release workflows no longer run the checks first: GitHub's drops
its checks and Windows test jobs, Gitea's the shared checks step. The
docs say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
This commit is contained in:
Claude committed 2026-10-04 17:48:56 +00:00
1 parent 502e908d41
commit 0df4d60693
9 files changed
+32 -83

No files matched your search

+1 -13
View File
@@ -1,20 +1,8 @@
name: CI name: CI
# Linux checks for Gitea act_runner; runner setup and scope: docs/ci.md. # Linux checks for Gitea act_runner; runner setup and scope: docs/ci.md.
# Off for pushes and pull requests: run by hand only.
on: on:
push:
branches: [main, master]
paths:
- "**"
- "!docs/**"
- "!**/*.md"
- "THIRD_PARTY_NOTICES.md"
pull_request:
paths:
- "**"
- "!docs/**"
- "!**/*.md"
- "THIRD_PARTY_NOTICES.md"
workflow_dispatch: workflow_dispatch:
env: env:
-1
View File
@@ -27,7 +27,6 @@ jobs:
- uses: https://github.com/actions/checkout@v4 - uses: https://github.com/actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
- uses: ./.gitea/actions/checks
- name: Check release tools - name: Check release tools
run: | run: |
set -euo pipefail set -euo pipefail
+1 -2
View File
@@ -4,9 +4,8 @@ name: Security audit
# new advisories show up without a push. CI's cargo-deny job checks the same # new advisories show up without a push. CI's cargo-deny job checks the same
# on every push together with licenses and sources. # on every push together with licenses and sources.
# Not scheduled: run by hand only.
on: on:
schedule:
- cron: "41 4 * * *"
workflow_dispatch: workflow_dispatch:
jobs: jobs:
+4 -21
View File
@@ -1,27 +1,10 @@
name: CI name: CI
# Fast checks on every push to main and every PR: lint, tests, license and # Checks: lint, tests, license and advisory checks, and the integration
# advisory checks, and the integration tests against TS3/TS6 servers. # tests against TS3/TS6 servers. Off for pushes and pull requests: run by
# Packages are built only by release.yml (tags, or by hand), which also runs # hand only (Actions → CI → Run workflow). Packages are built by release.yml
# these checks through workflow_call. # (tags, or by hand), which does not wait for these checks.
# Changes to documentation only need no build (same list twice: no YAML
# anchors in workflows). THIRD_PARTY_NOTICES.md is compiled into the app
# (About page) and checked below.
on: on:
push:
branches: [main, master]
paths:
- "**"
- "!docs/**"
- "!**/*.md"
- "THIRD_PARTY_NOTICES.md"
pull_request:
paths:
- "**"
- "!docs/**"
- "!**/*.md"
- "THIRD_PARTY_NOTICES.md"
workflow_dispatch: workflow_dispatch:
workflow_call: workflow_call:
+1 -2
View File
@@ -1,8 +1,7 @@
name: Fuzz name: Fuzz
# Not scheduled: run by hand only.
on: on:
schedule:
- cron: "17 3 * * *"
workflow_dispatch: workflow_dispatch:
jobs: jobs:
+2 -22
View File
@@ -3,8 +3,7 @@ name: Release
# The packages (docs/building.md), made by scripts/package.sh like the Docker # The packages (docs/building.md), made by scripts/package.sh like the Docker
# builds in docker/. A v* tag attaches them to a draft GitHub release; run by # builds in docker/. A v* tag attaches them to a draft GitHub release; run by
# hand (Actions → Release → Run workflow) they are only uploaded as artifacts. # hand (Actions → Release → Run workflow) they are only uploaded as artifacts.
# The package jobs run alongside the checks, so a manual run yields packages # Only the packages are built: the checks (ci.yml) run by hand.
# even when a check fails; a release needs everything green.
on: on:
push: push:
@@ -25,25 +24,6 @@ env:
CARGO_INCREMENTAL: "0" CARGO_INCREMENTAL: "0"
jobs: jobs:
# The same checks as every push (lint, Linux tests, Windows and Android
# clippy, deny, notices, integration tests).
checks:
uses: ./.github/workflows/ci.yml
test-windows:
name: test (Windows)
runs-on: windows-2025
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/system-deps
- name: Install toolchain (rust-toolchain.toml)
run: rustup toolchain install
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --workspace --all-targets --locked
- name: Test
run: cargo test --workspace --locked
package-linux: package-linux:
name: package (Linux) name: package (Linux)
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
@@ -226,7 +206,7 @@ jobs:
release: release:
name: draft release name: draft release
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
needs: [checks, test-windows, package-linux, package-windows, package-flatpak, package-gateway-image, package-android] needs: [package-linux, package-windows, package-flatpak, package-gateway-image, package-android]
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
permissions: permissions:
contents: write contents: write
+3 -3
View File
@@ -3,8 +3,8 @@
Every platform has installable packages. The release workflow builds them, Every platform has installable packages. The release workflow builds them,
and the Dockerfiles in `docker/` build the same kinds of packages on any and the Dockerfiles in `docker/` build the same kinds of packages on any
machine with Docker. Both use `scripts/package.sh`, so file names and machine with Docker. Both use `scripts/package.sh`, so file names and
contents match. Regular CI (`ci.yml`, every push and PR) only runs the fast contents match. CI (`ci.yml`, run by hand only) runs the checks and builds
checks and builds no packages. no packages; the release workflow builds packages without running them.
The packages hold the app, Voelin. The gateway `tsgw` runs on servers and is The packages hold the app, Voelin. The gateway `tsgw` runs on servers and is
packaged for Linux only, separately. `voelinctl` is a development tool and is packaged for Linux only, separately. `voelinctl` is a development tool and is
@@ -43,7 +43,7 @@ and [runner setup](ci.md#gitea-release-runner) for host requirements.
- **A version tag** `v*` (`git tag -s v0.2.0 && git push origin v0.2.0`): the - **A version tag** `v*` (`git tag -s v0.2.0 && git push origin v0.2.0`): the
packages and a `SHA256SUMS` are attached to a **draft** GitHub release once packages and a `SHA256SUMS` are attached to a **draft** GitHub release once
all checks pass (the same checks as CI, plus the Windows tests); review and every package is built (no checks run; run CI by hand first); review and
publish it by hand ([release.md](release.md#checklist)). publish it by hand ([release.md](release.md#checklist)).
- **By hand**, for a build to test without a release: Actions → Release → Run - **By hand**, for a build to test without a release: Actions → Release → Run
workflow (or `gh workflow run release.yml --ref <branch>`). The packages are workflow (or `gh workflow run release.yml --ref <branch>`). The packages are
+14 -12
View File
@@ -1,9 +1,12 @@
# CI # CI
GitHub Actions runs `.github/workflows/ci.yml`, including Linux checks, GitHub Actions runs `.github/workflows/ci.yml`, including Linux checks,
Windows and Android Clippy, and TeamSpeak integration smoke tests. Both Windows and Android Clippy, and TeamSpeak integration smoke tests. Automatic
GitHub and Gitea provide release packaging; see [release.md](release.md) and runs are off: CI, the dependency audit and fuzzing run only by hand
[building.md](building.md). (Actions → the workflow → Run workflow; the same on Gitea). Only the package
builds run by themselves, on `v*` tags, and they run none of these checks.
Both GitHub and Gitea provide release packaging; see [release.md](release.md)
and [building.md](building.md).
Cargo builds use one job in CI so the generated UI library and its test Cargo builds use one job in CI so the generated UI library and its test
target do not compile concurrently. The release profile uses ThinLTO and target do not compile concurrently. The release profile uses ThinLTO and
@@ -15,10 +18,8 @@ runtime performance has not been benchmarked for this change.
## Gitea Actions ## Gitea Actions
`.gitea/workflows/ci.yml` runs a single Linux job on pushes to `main` and `.gitea/workflows/ci.yml` runs a single Linux job when dispatched by hand
`master`, pull requests, and manual dispatch. Documentation-only changes (automatic runs on pushes and pull requests are off).
are excluded; `THIRD_PARTY_NOTICES.md` is not excluded because the app embeds
it and CI verifies it.
The job runs: The job runs:
@@ -147,10 +148,11 @@ ENDLESS_TASK_TIMEOUT = 9h
Keep sufficient RAM/swap and free disk for all package builds and their Keep sufficient RAM/swap and free disk for all package builds and their
Docker caches. Builds run sequentially and limit Cargo to one job. The Docker caches. Builds run sequentially and limit Cargo to one job. The
workflow never prunes shared Docker state or creates host swap. The token and optional Android signing workflow never prunes shared Docker state or creates host swap. The token
secrets are documented in [Gitea releases](release.md#gitea-releases). and optional Android signing secrets are documented in
[Gitea releases](release.md#gitea-releases).
Gitea packages pass the shared Linux checks but do not gain native Windows, The Gitea release job builds packages only: it runs no formatting, Clippy,
Android Clippy or TS3/TS6 smoke-test acceptance from a successful release tests, native Windows, Android Clippy or TS3/TS6 smoke tests; run CI by hand
job. Full hosted builds and a draft upload must be verified on the registered for those. Full hosted builds and a draft upload must be verified on the registered
runner; local shell/API fixtures do not establish deployment acceptance. runner; local shell/API fixtures do not establish deployment acceptance.
+6 -7
View File
@@ -13,13 +13,12 @@ requirements differ.
`.gitea/workflows/release.yml` builds Linux tarballs and `.deb` files, Windows `.gitea/workflows/release.yml` builds Linux tarballs and `.deb` files, Windows
zip and NSIS installer (MinGW cross-build), Android debug APK (arm64-v8a and zip and NSIS installer (MinGW cross-build), Android debug APK (arm64-v8a and
x86_64), a Flatpak bundle, and the gateway container image. It shares Linux x86_64), a Flatpak bundle, and the gateway container image. It reuses the
checks with Gitea CI, and reuses the Dockerfiles and `scripts/package.sh`. Dockerfiles and `scripts/package.sh`, and builds packages only: it runs none
Unlike GitHub's release pipeline, it does not run native Windows tests, of the checks (formatting, Clippy, tests, TeamSpeak smoke tests); run CI by
Android Clippy, TeamSpeak smoke tests or browser interop; complete those hand for those before accepting a release.
checks in GitHub or separately before accepting a release.
- **Manual dispatch:** after checks and all builds pass, download the - **Manual dispatch:** after all builds pass, download the
`voelin-packages` artifact from the run. Manual runs never publish a draft, `voelin-packages` artifact from the run. Manual runs never publish a draft,
even when dispatched against a tag. even when dispatched against a tag.
- **Push a `v*` tag:** the same artifact is uploaded, then packages and a - **Push a `v*` tag:** the same artifact is uploaded, then packages and a
@@ -218,7 +217,7 @@ Release:
7. Tag `v<version>` (signed) on the release commit and push it. 7. Tag `v<version>` (signed) on the release commit and push it.
8. The tag's release workflow (`release.yml`, [building.md](building.md)) 8. The tag's release workflow (`release.yml`, [building.md](building.md))
runs the checks and the Windows tests and builds every package: the app's builds every package (it runs no checks: run CI by hand first): the app's
Linux tarball and `.deb`, Flatpak bundle, Windows zip and installer and Linux tarball and `.deb`, Flatpak bundle, Windows zip and installer and
Android APKs (signed when the secrets are set), and the gateway's Linux Android APKs (signed when the secrets are set), and the gateway's Linux
tarball, `.deb` and image; its `release` job attaches them with a tarball, `.deb` and image; its `release` job attaches them with a