Skip to content

feat(docker): publish candidates with final image metadata - #959

Merged
neilime merged 3 commits into
mainfrom
feat/candidate-image-promotion
Nov 11, 2026
Merged

neilime merged 3 commits into
mainfrom
feat/candidate-image-promotion

Conversation

@neilime

@neilime neilime commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Allow production images to build under temporary tags before application validation, while retaining the intended OCI version and leaving normal tags untouched. This is the candidate-publication increment of Pleey's P2.5 plan, following reviewed service parallelism in cloud-native-aixmarseille/pleey#553.

  • Add one opt-in candidate: true workflow setting, also supported by the build and metadata actions. Existing image settings and images[].tag keep their final-version meaning; default publication is unchanged.
  • Generate temporary identities from the repository, run, attempt and a random suffix. Preserve the digest-qualified output and add intended destinations, source revision and run identity. Retain configured signing and attestations.
  • Reuse the existing Docker fixture and integration workflows for single/multi-platform candidates, absent consumer tags, preserved metadata, signatures/provenance and failed builds. Regenerate action/workflow docs with CI Dokumentor; record the design in ADR 0005.

Local validation passed: candidate metadata/identity and workflow-input contracts, existing cache contracts, embedded JavaScript syntax, documentation links/anchors, and repository workflow/security/documentation lint. Hosted CI passed on 26e58f07. All new candidate checks passed in attempt 1, including digest/metadata checks, absent consumer tags, signatures, provenance and the deliberate failed build. An existing unsigned multi-platform scenario initially could not retrieve an ARM64 manifest whose producer reported a successful push. The platforms/signing suite passed when rerun from setup on the same commit; the original failure remains in attempt 1.

This increment does not promote or automatically delete candidates. Build identity is not evidence that validation passed. The next reviewed increment must bind validation to exact digests, authorize destinations, reject stale/superseded attempts and handle conflicting writers and partial publication. Pleey keeps its current production dependencies until that contract is implemented and released.

Refs cloud-native-aixmarseille/pleey#475.

@github-actions github-actions Bot added the type: feature Introduces a new feature label Nov 11, 2026
@neilime
neilime marked this pull request as ready for review November 11, 2026 23:17
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Test results

Workflow run and full reports · Commit 88d606b

Jobs: 2 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned.

Test: 14 passed · 0 failed · 0 skipped.

Test details

Test results

Test Results

Status Count
✅ Passed 14
❌ Failed 0
⏭️ Skipped 0
Total 14

✅ Pass Rate: 100.0%

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-helm-release-chart success 1

Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs.

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Code coverage

Workflow run and full reports · Commit 88d606b

Jobs: 2 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned.

Coverage: 1 source report(s); percentages remain separate.

Coverage details

Coverage results

Coverage

Metric Covered Total Percentage
Lines 102 102 100.00%
Branches 17 17 100.00%
Functions 4 4 100.00%

Overall: 100.00% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-helm-release-chart success 1

Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs.

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Lint results

Workflow run and full reports · Commit 88d606b

Jobs: 2 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned.

Lint: Collected diagnostics and Super-Linter summaries. Execution status is included in the job outcomes.

Super-Linter details

Super-linter summary

Language Validation result
BIOME_FORMAT Pass ✅
BIOME_LINT Pass ✅
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITHUB_ACTIONS_ZIZMOR Pass ✅
GITLEAKS Pass ✅
GIT_COMMITLINT Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
JSCPD Pass ✅
MARKDOWN Pass ✅
MARKDOWN_PRETTIER Pass ✅
NATURAL_LANGUAGE Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅
YAML_PRETTIER Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter
Super-linter revision: 2da136927bd4a73596db63044b504547c62cb854
Super-linter version: 9.0.0

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-helm-release-chart success 1

Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs.

@neilime
neilime merged commit ca71afa into main Nov 11, 2026
401 of 402 checks passed
@neilime
neilime deleted the feat/candidate-image-promotion branch November 11, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Introduces a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant