Skip to content

feat(release-publish-oci): publish tag, changelog and OCI annotations - #98

Merged
sebasnallar merged 1 commit into
mainfrom
feat/artifact-annotations
Sep 1, 2026
Merged

feat(release-publish-oci): publish tag, changelog and OCI annotations#98
sebasnallar merged 1 commit into
mainfrom
feat/artifact-annotations

Conversation

@sebasnallar

Copy link
Copy Markdown
Contributor

Rides the annotations contract shipped in main-service-api#340 and the CLI flags from cli#224 (available on the alpha channel).

What changes for every caller (scopes-lambda, services-s-3, services-endpoint-exposer, scopes-static-files, services-postgresql-rds server image)

np artifact create in the finalize job now sends:

  • --tag — the tag docker-build-push-ecr actually pushed, into the revision's meta
  • --changelog-file — the release-please notes (the GitHub release body, truncated at the first ## Artifact section so backfill re-runs never re-ingest our own appended metadata); skipped when the body is empty
  • --annotation org.opencontainers.image.source/revision/version — repo URL, the tag's commit (not the triggering sha — they differ on existing_tag backfills), and the git tag

Annotations are last-write-wins full replacement on the revision, so each run deliberately sends the complete set.

Also moves the default np_cli_version from alpha-packages to alpha, which carries the new flags.

The devops UI renders these per version once frontend-devops-application#699 + main-web-backend-for-frontend#524 land.

🤖 Generated with Claude Code

The registered oci_image revision now carries the pushed image tag in its
meta and an annotations blob: the release-please notes as the curated
changelog plus org.opencontainers.image source/revision/version keys.
Annotations are last-write-wins full replacement, so every run sends the
complete set; the release body is truncated at its first '## Artifact'
section so backfill re-runs never feed our own appended metadata back in.
The CLI channel moves alpha-packages -> alpha, which carries the new
--tag/--changelog-file/--annotation flags.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sebasnallar
sebasnallar merged commit e96e2f6 into main Sep 1, 2026
2 checks passed
@sebasnallar
sebasnallar deleted the feat/artifact-annotations branch September 1, 2026 18:41
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