Skip to content

ci: INF-4517 publish charts to ECR as OCI artifacts - #455

Merged
kpplis merged 6 commits into
mainfrom
feat/INF-4517-ecr-publish
Nov 24, 2026
Merged

kpplis merged 6 commits into
mainfrom
feat/INF-4517-ecr-publish

Conversation

@kpplis

@kpplis kpplis commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Part of INF-4517: before this repo goes private we need a chart source ArgoCD can still pull from. Today charts.parcellab.dev serves index.yaml from GitHub Pages, but the .tgz files are GitHub release assets, and release assets of a private repo return 404 even with a token, so Helm and ArgoCD would break. This publishes every chart to ECR as an OCI artifact as well (oci://<account>.dkr.ecr.eu-central-1.amazonaws.com/charts/<chart>).

What changes

  • New publish-ecr job in release.yaml, next to chart-releaser (which keeps running unchanged). It assumes AWS_ASSUME_ROLE_ARN_CUSTOM through OIDC, then for each chart in parcellab/ pushes the current version to ECR if it isn't there yet.
  • charts/<chart> is created on first publish with immutable tags (same describe-repositories || create-repository pattern as the parcelLab/ci image workflows, without a lifecycle policy). Existing versions are skipped, so re-runs are no-ops.

Dependencies

The role and repo variable come from parcelLab/infrastructure#3875. Merge that first. Until it is applied the new job fails at the AWS login step; chart-releaser is unaffected.

Testing

  • actionlint only reports issues on existing lines (set-output in the matrix job).
  • Packaged microservice and monolith (the latter pulls the Bitnami Redis dependency) locally without pushing.
  • Pushed to ECR from this branch through the github-actions-charts role before merge: first run published the 5 current chart versions; after deleting charts/worker-group, this run recreated it as immutable and pushed 0.3.7 while skipping the other 4; re-run skipped all 5.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T14:18:14.816197Z 19e1992 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f4c068bdd9

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread .github/workflows/release.yaml Resolved
@kpplis
kpplis marked this pull request as draft November 23, 2026 07:38
@github-actions github-actions Bot removed the shell label Nov 23, 2026
@kpplis
kpplis marked this pull request as ready for review November 23, 2026 14:16
@kpplis
kpplis merged commit 9550c39 into main Nov 24, 2026
7 checks passed
@kpplis
kpplis deleted the feat/INF-4517-ecr-publish branch November 24, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants