Skip to content

feat: add minimal deterministic-zip image to verify tag_ranges' github source - #4

Merged
timo-reymann merged 1 commit into
mainfrom
feat/tag-ranges-demo-github
Sep 9, 2026
Merged

timo-reymann merged 1 commit into
mainfrom
feat/tag-ranges-demo-github

Conversation

@timo-reymann

Copy link
Copy Markdown
Member

Follow-up to #2 and #3 (both merged) — adds a third tag_ranges demo image, this time
exercising the github source instead of dockerhub/json, covering all three source
types added by ContainerHive/ContainerHive#251.

tag_ranges:
  - tag_name: "{{.full}}"
    source:
      type: github
      repo: timo-reymann/deterministic-zip
    select:
      major: { last: 1 }
      minor: { last: 1 }
      patch: { last: 1 }
    versions:
      deterministic-zip: "{{.full}}"

timo-reymann/deterministic-zip's latest release (7.0.0 at the time) is itself marked
as a GitHub prerelease, so this also exercises exclude_prerelease's default (true)
end-to-end against a real repository, not just a synthetic fixture.

Verified locally: resolved to 6.1.0 (skipping the 7.0.0 prerelease) and
DETERMINISTIC_ZIP_VERSION=6.1.0 came out the other end of buildconfig_resolver,
alongside golang's and node's own build args resolving independently and correctly
in the same run.

🤖 Generated with Claude Code

…b source

Adds _base/images/deterministic-zip, the same trivial no-op pattern as
node/golang (FROM scratch, one ARG, one LABEL) but exercising the
github source instead of dockerhub/json, covering all three source
types added by ContainerHive/ContainerHive#241:

  tag_ranges:
    - tag_name: "{{.full}}"
      source:
        type: github
        repo: timo-reymann/deterministic-zip
      select:
        major: { last: 1 }
        minor: { last: 1 }
        patch: { last: 1 }
      versions:
        deterministic-zip: "{{.full}}"

timo-reymann/deterministic-zip's latest release (7.0.0 at the time)
is itself marked as a GitHub prerelease, so this also exercises
exclude_prerelease's default (true) end to end - not just against a
synthetic fixture, but against a real repository that actually has a
prerelease ahead of its latest stable tag.

Verified locally against a tag_ranges-capable ch build: resolved to
6.1.0 (skipping the 7.0.0 prerelease) and
DETERMINISTIC_ZIP_VERSION=6.1.0 came out the other end of
buildconfig_resolver, alongside golang's and node's own build args
resolving independently and correctly in the same run.

Regenerated both CI pipelines to add the resulting
deterministic-zip build/test/manifest jobs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
TestsPassed ❌️SkippedFailed
Container Structure Tests - golang0 ran0 passed0 skipped0 failed
TestResult
No test annotations available

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
TestsPassed ❌️SkippedFailed
Container Structure Tests - deterministic-zip0 ran0 passed0 skipped0 failed
TestResult
No test annotations available

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
Container Structure Tests - base-deployment2 ran2 passed0 skipped0 failed
TestResult
Container Structure Tests - base-deployment
File Existence Test: ca-certificates-exist✅ passed
File Existence Test: ca-certificates-exist✅ passed

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
TestsPassed ❌️SkippedFailed
Container Structure Tests - node0 ran0 passed0 skipped0 failed
TestResult
No test annotations available

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
Container Structure Tests - base-ci6 ran6 passed0 skipped0 failed
TestResult
Container Structure Tests - base-ci
Command Test: curl-installed✅ passed
Command Test: git-installed✅ passed
File Existence Test: ca-certificates-exist✅ passed
Command Test: curl-installed✅ passed
Command Test: git-installed✅ passed
File Existence Test: ca-certificates-exist✅ passed

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
TestsPassed ❌️SkippedFailed
Container Structure Tests - dotnet-runtime0 ran0 passed0 skipped0 failed
TestResult
No test annotations available

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
Container Structure Tests - go-ci4 ran4 passed0 skipped0 failed
TestResult
Container Structure Tests - go-ci
Command Test: zig-installed✅ passed
Command Test: zig-installed✅ passed
Command Test: zig-installed✅ passed
Command Test: zig-installed✅ passed

@timo-reymann
timo-reymann merged commit f5dc78c into main Sep 9, 2026
59 of 60 checks passed
@timo-reymann
timo-reymann deleted the feat/tag-ranges-demo-github branch September 9, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant