Skip to content

ci: fix chart check test shell and comment #299

Closed

Description

@uniqueg

Two small follow-ups to the chart-artifact check (#296), found while porting it to trs-filer and proTES:

  • Test shell options: test_release_chart_check_runs in tests/test_workflows.py runs the step's script with bash -e -o pipefail, but GitHub runs steps without shell: with bash -e (no pipefail). The test should use the runner's default, so that it tests the script as it runs (as the trs-filer and proTES ports do).
  • Workflow comment: the comment of the step "Check chart" in .github/workflows/release.yml says a rejected chart "leaves nothing attested or signed, the image included". That overclaims: the image was already pushed by push, with BuildKit's SBOM and provenance attestations; the check only comes before the GitHub attestation, the signature and the tags (and before the chart is attested and signed).

Audit of the release image flow (#574 in foca): cloud-registry already pushes the release image by digest only in release, scans the digest without environment or secrets, and attests, signs and only then tags it in release; CI's dev image jobs run in dev-images. Nothing else to change.

Activity

  1. added
    priority: low
    status: in progress
    type: ci / cd
    type: testing
    workload: minutes
    on Oct 31, 2026
  2. removed
    status: in progress
    on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowtype: ci / cdtype: testingworkload: minutes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions