Skip to content

chore(release): exposes release name to env for restart#2069

Merged
ygrishajev merged 1 commit intomainfrom
feature/release
Oct 15, 2025
Merged

chore(release): exposes release name to env for restart#2069
ygrishajev merged 1 commit intomainfrom
feature/release

Conversation

@ygrishajev
Copy link
Contributor

@ygrishajev ygrishajev commented Oct 15, 2025

Summary by CodeRabbit

  • Chores
    • Improved deployment workflow by exporting the computed release name for reuse across steps, enhancing consistency and reliability in Kubernetes releases.
    • No changes to application behavior or user-facing features.

@ygrishajev ygrishajev requested a review from a team as a code owner October 15, 2025 15:07
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 15, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

The workflow adds two writes of the computed release_name into the GitHub Actions environment: once immediately after computing release_name and values_file_path, and once after running helm upgrade, so downstream steps can read the value.

Changes

Cohort / File(s) Summary
GitHub Actions workflow: Helm deploy
.github/workflows/reusable-deploy-k8s.yml
Appended two lines to export the computed release_name to $GITHUB_ENV: one after computing release_name/values_file_path, and one after executing helm upgrade. No public API changes.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Runner as GitHub Actions Runner
  participant Step as Helm deploy step
  participant Env as GITHUB_ENV
  participant Down as Downstream steps

  Runner->>Step: start deploy step
  Step->>Step: compute release_name, values_file_path
  Step->>Env: echo "release_name=..." >> $GITHUB_ENV
  Step->>Step: helm upgrade ...
  Step->>Env: echo "release_name=..." >> $GITHUB_ENV
  Down->>Env: read release_name
  Env-->>Down: release_name available
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I nibbled through YAML by lantern light,
I whispered a name into the night.
Twice I tucked it where steps will find—
A tidy trail for builds aligned.
Hop, helm, hop—deployments are bright! 🐇🚀

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/release

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 37d58fb and af16385.

📒 Files selected for processing (1)
  • .github/workflows/reusable-deploy-k8s.yml (1 hunks)

Comment @coderabbitai help to get the list of available commands and usage tips.

@ygrishajev ygrishajev merged commit 4ecb495 into main Oct 15, 2025
14 checks passed
@ygrishajev ygrishajev deleted the feature/release branch October 15, 2025 15:08
@coderabbitai coderabbitai bot mentioned this pull request Oct 27, 2025
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

Comments