Skip to content

v0.16.6

Choose a tag to compare

@ashigaru-crunchtools-com ashigaru-crunchtools-com released this 25 Nov 23:31
0cbeec7

Changed

  • A release is tagged only after its gates pass (a1667). The fleet's
    write needs image and boot, and on a release its if: wants each to
    have succeeded or been skipped with none planned; write also refuses in
    code when the SDLC_IMAGE or SDLC_BOOT it is handed says otherwise (a
    fleet file older than this maps neither, and stays unenforced, as promote
    treats SDLC_BOOT). A release whose image or boot fails leaves no vX.Y.Z
    and no GitHub Release behind, as rhel10-bootc-server v1.8.0 did. Fleet repos
    take it by re-copying examples/ci.yml.
  • scripts/local-release.sh runs check, image, boot, write, promote: write
    after the gates, handed their results.
  • sdlc's own release: image builds the version check planned without
    waiting on write, write waits on image, and sign signs only what
    write then released (SDLC_WRITE success, SDLC_RELEASE at the image's
    version). scripts/hotfix.sh hands self.sh the same inputs.
  • containerfile-lint: a Containerfile hadolint cannot parse is a finding
    (exit 1) in the PR check, as it already failed the image job, instead of
    ADVISORY and SKIPPED there. A PR no longer passes a lint its release fails.

Fixed

  • bootc-lint gets DAC_OVERRIDE back after --cap-drop=all, on a
    --read-only root, and nothing else. bootc container lint walks the whole
    image as root, and a RHEL bootc image with setroubleshoot ships
    /var/lib/setroubleshoot 0700 to another user, so the gate stopped at
    "Permission denied (os error 13)" on an image whose in-build lint, with
    podman's default capabilities, passed (rhel10-bootc-server 1.8.1, a1654).
    Not DAC_READ_SEARCH: it is what open_by_handle_at needs, the "shocker"
    escape, which is why it is outside the default set. The image job takes
    --cap-add only for bootc-lint, only DAC_OVERRIDE, and only beside
    --read-only.
  • sdlc's own release plan carries image: true, so write's own refusal
    holds back a release whose image was skipped, not only ci.yml's if: (a1667)
  • S2 parses a Renovate config as JSON5 and judges the keys it sets and the
    presets it extends, so a locked name in a description, a comment or
    ignorePresets is no longer an override. The locked keys and presets come
    from the constitution's fleet.toml, not a list in sdlc. A preset from
    outside Renovate's built-ins and crunchtools/constitution (github>…,
    local>…, a URL, an npm package) is reported as unjudgeable. The image adds
    json5 0.17.3 (sdlc#203, a1411)
  • The image carries one constitution pin, at constitution main, with
    constitution.md and fleet.toml; audit_alert is vendored as
    sdlc_jobs/_audit_alert.py, since the constitution deleted it (a1411)
  • S1 counts a --require-hashes install as from the lock only when the flag is
    the install's own and its requirements file is one the repo commits, copied
    in and not named by any later shell command except as an install's -r
    (so >>, sed -i, cp and curl -o over it count as generated). A copy
    into ., the WORKDIR or a known directory keeps the file's name. Commands
    now split on || and | too, with inline comments dropped (a # inside
    quotes is text), and an exec-form COPY ["src", "dest"] is read as JSON
    (sdlc#203, a1411)