Skip to content

Package Janus 1.4.3 with automated multiarch images and GitHub Releases - #2

Merged
vitormattos merged 8 commits into
mainfrom
fix/janus-1.4.2-complete-hpb-build
Oct 26, 2026
Merged

vitormattos merged 8 commits into
mainfrom
fix/janus-1.4.2-complete-hpb-build

Conversation

@vitormattos

@vitormattos vitormattos commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Motivation

ADA currently runs a third-party Janus 1.4.1 image without the wsevh WebSocket event handler required by standalone Nextcloud Talk signaling. Package unmodified Meetecho Janus 1.4.3 with commit-verified source, Alpine digest pinning, correct plugins, multiarch validation, security scanning and a fully automated release lifecycle. This remains a generic Janus image and does not deploy to ADA.

Architecture, packaging and governance

  • Build from official upstream Janus version and pinned commit; include VideoRoom, WebSockets and wsevh; nonroot runtime with no older distro Janus binary.
  • Maintain separate workflows for image CI, commit publishing and release promotion. Actionlint, Zizmor, REUSE and the installed DCO Probot cover governance.
  • Use Bats for policy and real startup tests plus Trivy HIGH/CRITICAL SARIF scans for amd64 and arm64.
  • Renovate updates Janus tag+commit, Alpine digests and tooling; Dependabot handles daily GitHub Actions checks, with no automatic dependency merges.
  • Keep the README concise; details and licensing (packaging AGPL versus upstream Janus GPL) reside in docs/ and SPDX/REUSE manifests.

Automatic release lifecycle after every relevant merge

  1. A reviewed change is merged into main (documentation-only changes are excluded).
  2. image-publish.yml invokes reusable image-ci.yml; failed Bats/build/Trivy checks block publication.
  3. Successful CI stages a multiarch OCI image with SBOM/provenance, scans the exact digest and publishes ghcr.io/librecodecoop/janus:sha-<full-commit>.
  4. In the same workflow run, image-release.yml selects the next v<Janus-version>-rN Git tag from existing tags, promotes the unchanged OCI digest to ghcr.io/librecodecoop/janus:<version>-rN, and creates a GitHub Release with generated notes and the exact deployment digest.

The initial upstream Janus 1.4.3 release will be v1.4.3-r1; subsequent packaging/dependency merges produce v1.4.3-r2, and upgrading upstream to 1.4.4 starts again at v1.4.4-r1.

There are no custom release-tag scripts, IMAGE_REVISION files, mutable latest tags or manual release steps. The workflow uses GITHUB_TOKEN with write permissions restricted to the publishing jobs. GitHub-token-generated tags do not trigger arbitrary new workflows, which is why the release is invoked directly via workflow_call. Automatically generated Git tags are not GPG-signed; commits retain signed/DCO verification and images retain attestations.

Validation and conditions

  • Local Bats tests, including five behavioral revision-selection cases (first release, r9→r11, new upstream, retry and malformed tags), all pass.
  • Local ShellCheck, Actionlint and REUSE pass.
  • Last commit is GPG verified with a matching DCO sign-off.
  • GitHub CI, both architectures, Trivy, REUSE, Zizmor and Actionlint pass on the final commit.
  • One independent maintainer approval is recorded as required by the ruleset.
  • After merge, confirm the first automatic GHCR image and GitHub Release are created with matching digests. This publishing path cannot be exercised by a pull request.

Production changes, including actual signaling events, TURN/ICE/media validation and rollback, remain separate and require explicit approval. No tag, image, GitHub Release or merge is created by this PR review itself.

@vitormattos vitormattos changed the title Build Janus 1.4.2 from verified upstream source with required event handler Package upstream Janus 1.4.3 with Bats-tested multiarch GHCR releases Oct 25, 2026
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos force-pushed the fix/janus-1.4.2-complete-hpb-build branch from 9d7db45 to c6c0db1 Compare October 25, 2026 22:46
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos changed the title Package upstream Janus 1.4.3 with Bats-tested multiarch GHCR releases Build secure Janus 1.4.3 images with Bats, REUSE, Trivy and signed releases Oct 25, 2026
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos changed the title Build secure Janus 1.4.3 images with Bats, REUSE, Trivy and signed releases Package Janus 1.4.3 with validated multiarch builds and secure releases Oct 25, 2026
@vitormattos
vitormattos marked this pull request as ready for review October 25, 2026 23:04
@vitormattos
vitormattos requested a review from henmohr October 25, 2026 23:04
…tion

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…tion

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…n builds

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos changed the title Package Janus 1.4.3 with validated multiarch builds and secure releases Package Janus 1.4.3 with automated multiarch images and GitHub Releases Oct 25, 2026
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit 7687564 into main Oct 26, 2026
7 checks passed
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