Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis update replaces the previous Docker image build and publish workflow with a new comprehensive GitHub Actions workflow that integrates semantic versioning, Docker image publishing, and automated release branch merging with Helm chart version updates and tagging. It adds detailed deployment documentation and a full Helm chart for the Changes
Sequence Diagram(s)sequenceDiagram
participant Dev as Developer
participant GH as GitHub Actions
participant GHCR as GitHub Container Registry
participant Repo as Git Repository
participant K8s as Kubernetes Cluster (via ArgoCD)
Dev->>GH: Push or PR to main branch
GH->>GH: Run get_version job (GitVersion)
GH->>GH: Run push_to_registry job (build & push Docker image)
GH->>GHCR: Push Docker image with SemVer and latest tags
GH->>GH: Run merge_to_release job (merge main into release branch)
GH->>Repo: Commit Helm chart version bump, tag with SemVer, push changes
Repo->>K8s: (via ArgoCD) Deploy updated Helm chart and Docker image
Possibly related PRs
Suggested reviewers
Poem
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (8)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (7)
deployment/route96/templates/config.yaml (1)
5-5: Remove trailing whitespace for YAML lint compliance.There is a trailing space at the end of line 5. Remove it to avoid YAML linting errors.
- namespace: blossom + namespace: blossom🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 5-5: trailing spaces
(trailing-spaces)
deployment/route96/templates/service.yaml (1)
1-16: Add a newline at end of file for YAML compliance.The manifest is correct and well-structured. Please add a newline at the end of the file to resolve YAML linting warnings and maintain consistency.
🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 16-16: no new line character at the end of file
(new-line-at-end-of-file)
deployment/route96/templates/pvc.yaml (1)
1-15: PVC manifest is correct; consider removing extra blank line.The manifest is valid and uses Helm templating appropriately. Optionally, remove the extra blank line at the end for tidiness.
deployment/route96/templates/hpa.yaml (1)
1-22: Add a newline at end of file for YAML compliance.The HPA manifest is correct and uses Helm templating well. Please add a newline at the end of the file to resolve YAML linting warnings.
🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 22-22: no new line character at the end of file
(new-line-at-end-of-file)
deployment/route96/templates/pdb.yaml (1)
1-13: Add a newline at end of file for YAML compliance.The PDB manifest is correct and uses Helm templating appropriately. Please add a newline at the end of the file to resolve YAML linting warnings.
🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 13-13: no new line character at the end of file
(new-line-at-end-of-file)
deployment/route96/values.yaml (1)
1-26: Add a newline at end of file.YAML best practices and some tools expect a newline at the end of the file. Please add one to avoid linter warnings.
- host: "blossom.plur.app" + host: "blossom.plur.app" +🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 26-26: no new line character at the end of file
(new-line-at-end-of-file)
.github/workflows/publish-and-release.yml (1)
44-46: Remove trailing spaces from workflow steps.Lines 44 and 46 have trailing spaces. Clean these up for consistency and to avoid linter warnings.
- id: get-version - uses: gittools/actions/gitversion/execute@v3.2.0 - + id: get-version + uses: gittools/actions/gitversion/execute@v3.2.0🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 44-44: trailing spaces
(trailing-spaces)
[error] 46-46: trailing spaces
(trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
deployment/route96/Chart.lockis excluded by!**/*.lock
📒 Files selected for processing (17)
.github/workflows/docker-publish.yml(0 hunks).github/workflows/publish-and-release.yml(1 hunks).gitignore(1 hunks)Dockerfile(1 hunks)deployment/README.md(1 hunks)deployment/route96/.helmignore(1 hunks)deployment/route96/Chart.yaml(1 hunks)deployment/route96/templates/config.yaml(1 hunks)deployment/route96/templates/deployment.yaml(1 hunks)deployment/route96/templates/hpa.yaml(1 hunks)deployment/route96/templates/ingress.yaml(1 hunks)deployment/route96/templates/pdb.yaml(1 hunks)deployment/route96/templates/pvc.yaml(1 hunks)deployment/route96/templates/sealed-secret.yaml(1 hunks)deployment/route96/templates/service.yaml(1 hunks)deployment/route96/values.yaml(1 hunks)docker-compose.yml(0 hunks)
💤 Files with no reviewable changes (2)
- docker-compose.yml
- .github/workflows/docker-publish.yml
🧰 Additional context used
🪛 YAMLlint (1.35.1)
deployment/route96/templates/hpa.yaml
[error] 22-22: no new line character at the end of file
(new-line-at-end-of-file)
deployment/route96/templates/ingress.yaml
[error] 1-1: syntax error: expected the node content, but found '-'
(syntax)
deployment/route96/templates/service.yaml
[error] 16-16: no new line character at the end of file
(new-line-at-end-of-file)
deployment/route96/templates/config.yaml
[error] 5-5: trailing spaces
(trailing-spaces)
deployment/route96/templates/pdb.yaml
[error] 13-13: no new line character at the end of file
(new-line-at-end-of-file)
deployment/route96/templates/deployment.yaml
[warning] 27-27: wrong indentation: expected 8 but found 10
(indentation)
[error] 43-43: trailing spaces
(trailing-spaces)
[error] 44-44: trailing spaces
(trailing-spaces)
[warning] 90-90: wrong indentation: expected 10 but found 12
(indentation)
deployment/route96/values.yaml
[error] 26-26: no new line character at the end of file
(new-line-at-end-of-file)
.github/workflows/publish-and-release.yml
[error] 44-44: trailing spaces
(trailing-spaces)
[error] 46-46: trailing spaces
(trailing-spaces)
🪛 actionlint (1.7.4)
.github/workflows/publish-and-release.yml
120-120: property "get_version" is not defined in object type {push_to_registry: {outputs: {}; result: string}}
(expression)
127-127: property "get_version" is not defined in object type {push_to_registry: {outputs: {}; result: string}}
(expression)
🔇 Additional comments (7)
.gitignore (1)
5-5: Addition oflocal/to .gitignore is appropriate.This prevents local deployment artifacts from being tracked by git.
Dockerfile (1)
79-80: Addition of newline at end of Dockerfile is good practice.No functional changes; this improves POSIX compliance.
deployment/route96/.helmignore (1)
1-24: Standard .helmignore patterns are well-chosen.This will help keep Helm charts free of unnecessary files.
deployment/route96/templates/ingress.yaml (1)
1-24: Helm templating for Ingress is correct.YAMLlint syntax error is a false positive; Helm templates are expected to use these delimiters.
🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 1-1: syntax error: expected the node content, but found '-'
(syntax)
deployment/README.md (1)
1-10: Deployment documentation is clear and accurate.No issues found. The instructions are concise and provide a good overview of the deployment process.
deployment/route96/templates/sealed-secret.yaml (1)
1-19: SealedSecret manifest is well-structured and secure.All sensitive data is encrypted, and the manifest follows best practices for SealedSecrets.
deployment/route96/Chart.yaml (1)
1-17: Helm chart metadata is complete and follows best practices.No issues found; the chart is ready for use.
Description
In order to deploy the route96 Blossom media server to our shiny new kubernetes cluster, we need to add the Helm chart manifests to this repo.
Related Issues
Changes Made
deployment.yamlfor the Postgres creds/host, once those are configured in an independent sealed-secret.Additional Notes
Summary by CodeRabbit
.gitignoreto exclude thelocal/directory.