Skip to content

v0.20.0

Latest

Choose a tag to compare

@ashigaru-crunchtools-com ashigaru-crunchtools-com released this 28 Nov 07:42
c62d881

Added

  • [tool.sdlc.image.disk]: a bootc repo's raw disk, built by the image job
    from the gated digest with a digest-pinned bootc-image-builder and pushed to
    the image's repo as an OCI artifact (disk-gated-<sha>). promote signs it
    with the fleet key and attests the image's SBOM and a SLSA v1 provenance,
    then tags it disk-X.Y.Z and disk-latest along with the image (#273,
    a1887). The builder runs with no network, no environment and a private image
    store seeded with that digest alone, because osbuild runs the image's own code as
    its buildroot. The table only declares type, rootfs and a root-keys file. The
    build runs only on GitHub-hosted runners, where it uses /mnt. Anywhere else
    it exits 2, and it also exits 2 when /mnt has too little room or the
    uid_map is not the full range. No ci.yml change.

Security

  • The fleet ci.yml's ai job no longer hands OPENROUTER_API_KEY to any
    issue (#294): only review() reads it. It reaches every
    pull_request_target run, a fork's included: Gatehouse is a fork PR's
    required review, and the job runs only the digest-pinned bootstrap, which
    passes the key to the gatehouse CLI and never to a model.
    tests/test_workflows.py now evaluates both model-key expressions, value
    for value, across fork, same-repo and deleted-fork PRs, each
    author_association, push and schedule. examples/sdlc-ci.yml and its doc
    block, which still handed out both keys unconditionally, get the same env,
    and a test holds them to it. Re-copy examples/ci.yml.

Fixed

  • The image job verifies an image a COPY|ADD --from= or a
    RUN --mount=...,from= names as it does a builder FROM (#277, a1890): it
    is resolved to a digest, verified by the same trust rules, and the build
    takes it at that @sha256:. A stage name or an earlier stage's index is not
    an image; an index past the stages is a 2, as is one the build cannot pin
    (named through a variable, or broken across lines), a quoted --mount, and a
    source named through a variable its own stage declares. An ONBUILD's
    source is held to the same rule.
  • The fleet ci.yml's pages job names its environment through an
    expression (pages-signing when the plan has pages, else none). With the
    bare name, GitHub refused the whole workflow file in every repo without a
    pages-signing environment, so 0.19.0's re-copy started no pull_request
    run and its required sdlc / check never reported. Without the environment
    the job has no key. Re-copy examples/ci.yml.

Removed

  • examples/sdlc-ci.yml, and the copy of sdlc's own workflow in
    docs/marketplace-free-ci.md (#296). Both claimed to be
    .github/workflows/ci.yml byte for byte; neither was, and nothing tested
    that they were. The doc now points at .github/workflows/ci.yml as the one
    copy, and tests/test_workflows.py checks the fleet block is the doc's only
    workflow.