Pilot Token TV flake development and CI on GitLab #347

Closed
opened 2026-10-16 18:51:49 +01:00 by nimmo · 3 comments
Owner

Use the imported Token TV flake as the first GitLab development/CI pilot, then update the fleet input after the new workflow is validated.

Scope:

  • Confirm the GitLab import retains the existing Git revision.
  • Prepare GitLab merge-request CI for formatting, flake checks, module JUnit reports and package provenance.
  • Provide optional version-tag publication of Nix runtime closures to the generic package registry using CI_JOB_TOKEN.
  • Add a project-scoped Docker runner on the user-authorized host, limited to one job at a time.
  • Validate locally and in the actual runner container environment.
  • Prepare an isolated NixOS consumer change using public GitLab HTTPS, retaining the existing pinned application revision during transport validation.

Completion criteria: reviewed/published project MR, green GitLab pipeline, separately reviewed consumer cutover, and explicit remaining validation limits. Preserve Forgejo during the pilot. Do not imply that import automatically migrates Actions workflows or runner credentials.

Use the imported Token TV flake as the first GitLab development/CI pilot, then update the fleet input after the new workflow is validated. Scope: - Confirm the GitLab import retains the existing Git revision. - Prepare GitLab merge-request CI for formatting, flake checks, module JUnit reports and package provenance. - Provide optional version-tag publication of Nix runtime closures to the generic package registry using CI_JOB_TOKEN. - Add a project-scoped Docker runner on the user-authorized host, limited to one job at a time. - Validate locally and in the actual runner container environment. - Prepare an isolated NixOS consumer change using public GitLab HTTPS, retaining the existing pinned application revision during transport validation. Completion criteria: reviewed/published project MR, green GitLab pipeline, separately reviewed consumer cutover, and explicit remaining validation limits. Preserve Forgejo during the pilot. Do not imply that import automatically migrates Actions workflows or runner credentials.
nimmo added this to the GitLab Pilot milestone 2026-10-16 18:51:49 +01:00
Author
Owner

Prepared and validated two isolated local commits (neither published):

  • Token TV GitLab project: 72d350a on feat/gitlab-native-ci in /tmp/token-tv-gitlab. Adds native MR-aware CI, eight-case JUnit module reports, metadata artifacts, optional manual version-tag generic-package publication, and a review template. Existing Forgejo workflow retained.
  • Consumer: f32685c on feat/token-tv-gitlab-input in /tmp/nixos-token-tv-gitlab. HTTPS origin change preserves the exact original commit and NAR hash. Full NixOS flake check passed.

Validation: project flake check passed (75 package tests, eight module guard cases); GitLab CI lint returned no errors/warnings; exact validation script passed in the pinned, resource-limited Docker environment and generated parseable JUnit/package/flake artifacts. Optional release export/upload succeeded against a local receiver; checksum/archive verification and 55-path import into a disposable store passed. These archives are unsigned, not a signed binary cache. No real GitLab package/release was published. ARM execution and physical clock testing are not covered.

The separately authorized pilot runner is online and eligible for this project. Live GitLab pipeline/artifact ingestion awaits branch publication. Prepared MR descriptions are /tmp/token-tv-gitlab-MR.md and /tmp/token-tv-consumer-MR.md. Keep the consumer MR draft until native CI is green. No fleet activation or source deletion performed. Existing unrelated dependency deprecation/ResourceWarnings were assessed without changing upstream packages.

Prepared and validated two isolated local commits (neither published): - Token TV GitLab project: `72d350a` on `feat/gitlab-native-ci` in `/tmp/token-tv-gitlab`. Adds native MR-aware CI, eight-case JUnit module reports, metadata artifacts, optional manual version-tag generic-package publication, and a review template. Existing Forgejo workflow retained. - Consumer: `f32685c` on `feat/token-tv-gitlab-input` in `/tmp/nixos-token-tv-gitlab`. HTTPS origin change preserves the exact original commit and NAR hash. Full NixOS flake check passed. Validation: project flake check passed (75 package tests, eight module guard cases); GitLab CI lint returned no errors/warnings; exact validation script passed in the pinned, resource-limited Docker environment and generated parseable JUnit/package/flake artifacts. Optional release export/upload succeeded against a local receiver; checksum/archive verification and 55-path import into a disposable store passed. These archives are unsigned, not a signed binary cache. No real GitLab package/release was published. ARM execution and physical clock testing are not covered. The separately authorized pilot runner is online and eligible for this project. Live GitLab pipeline/artifact ingestion awaits branch publication. Prepared MR descriptions are `/tmp/token-tv-gitlab-MR.md` and `/tmp/token-tv-consumer-MR.md`. Keep the consumer MR draft until native CI is green. No fleet activation or source deletion performed. Existing unrelated dependency deprecation/ResourceWarnings were assessed without changing upstream packages.
Author
Owner

Publication authorized and completed:

Token TV's original Forgejo repository now has Actions disabled (has_actions=false), with no active runs found. The imported Forgejo workflow was also removed from the GitLab branch. Other repositories' Forgejo CI remains enabled.

GitLab MR pipeline 2 is running; package/module checks have passed and artifact upload is being verified. The consumer remains draft until native CI is green, then its ready-for-review event can start the configured automated review. No merge or host activation performed.

Publication authorized and completed: - GitLab project MR: https://forge.nimmog.uk/nimmo/token-tv-nix/-/merge_requests/3 (head c7bd172cfa7edaf0b7fc58130d2e51504afa019e). - Consumer MR: https://git.nimmog.uk/nimmo/nixos-config/pulls/348 (head f32685c1f9cf931603c654dbfd3f7f23a698c7e9), linked to milestone 41. Token TV's original Forgejo repository now has Actions disabled (`has_actions=false`), with no active runs found. The imported Forgejo workflow was also removed from the GitLab branch. Other repositories' Forgejo CI remains enabled. GitLab MR pipeline 2 is running; package/module checks have passed and artifact upload is being verified. The consumer remains draft until native CI is green, then its ready-for-review event can start the configured automated review. No merge or host activation performed.
nimmo closed this issue 2026-10-16 22:22:12 +01:00
Author
Owner

Completed the separately reviewed consumer cutover: #348 merged as 89d2a837be877159a3123f913783415326c39b54, with clean current-head review #109 and passing consumer CI. It retains the exact application revision/NAR hash and fetches this input over public GitLab HTTPS; other inputs retain their existing authentication requirements. The GitLab project MR was already merged and its runner pipeline was validated. Host activation, optional real closure/release publication and backup/restore acceptance are not claimed by this configuration merge; Forgejo is preserved during the pilot.

Completed the separately reviewed consumer cutover: #348 merged as `89d2a837be877159a3123f913783415326c39b54`, with clean current-head review #109 and passing consumer CI. It retains the exact application revision/NAR hash and fetches this input over public GitLab HTTPS; other inputs retain their existing authentication requirements. The GitLab project MR was already merged and its runner pipeline was validated. Host activation, optional real closure/release publication and backup/restore acceptance are not claimed by this configuration merge; Forgejo is preserved during the pilot.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#347
No description provided.