pkg-pipeline-abstract: CI-agnostic pipeline definition for all package operations #168

Closed
opened 2026-03-24 03:54:38 +00:00 by kert · 0 comments
Owner

Goal

Define the package supply chain pipeline in a CI-agnostic format that generates concrete workflow files for Gitea Actions, Woodpecker, and GitHub Actions.

Scope

  • Abstract definition: dev/pipelines/pkg-supply-chain.yml (custom schema)
  • Steps: inventory → mirror-sync → drift-check → vuln-scan → issue-create
  • Generator script: dev/scripts/generate_ci.py that emits:
    • .gitea/workflows/pkg-supply-chain.yml
    • .woodpecker/pkg-supply-chain.yml
    • .github/workflows/pkg-supply-chain.yml
  • Each generated file uses the same scripts/containers, only CI syntax differs
  • Triggers: on push (if Dockerfile/pyproject.toml/uv.lock changed), on schedule (daily)

Acceptance

  • uv run python dev/scripts/generate_ci.py produces valid workflow files for all 3 CI systems
  • Generated Gitea Actions workflow runs successfully
  • Pipeline includes: inventory, mirror sync, drift detection, vuln scanning, auto-issue creation
## Goal Define the package supply chain pipeline in a CI-agnostic format that generates concrete workflow files for Gitea Actions, Woodpecker, and GitHub Actions. ## Scope - Abstract definition: `dev/pipelines/pkg-supply-chain.yml` (custom schema) - Steps: inventory → mirror-sync → drift-check → vuln-scan → issue-create - Generator script: `dev/scripts/generate_ci.py` that emits: - `.gitea/workflows/pkg-supply-chain.yml` - `.woodpecker/pkg-supply-chain.yml` - `.github/workflows/pkg-supply-chain.yml` - Each generated file uses the same scripts/containers, only CI syntax differs - Triggers: on push (if Dockerfile/pyproject.toml/uv.lock changed), on schedule (daily) ## Acceptance - [ ] `uv run python dev/scripts/generate_ci.py` produces valid workflow files for all 3 CI systems - [ ] Generated Gitea Actions workflow runs successfully - [ ] Pipeline includes: inventory, mirror sync, drift detection, vuln scanning, auto-issue creation
kert added this to the P21: Package Supply Chain — inventory, mirrors, drift, vuln scanning milestone 2026-03-24 03:54:38 +00:00
kert added the cipipeline:ci labels 2026-03-24 03:54:38 +00:00
kert closed this issue 2026-03-24 04:35:00 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#168