Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release v0.21.0 #546

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Prepare release v0.21.0 #546

merged 1 commit into from
Dec 27, 2024

Conversation

kvaps
Copy link
Member

@kvaps kvaps commented Dec 27, 2024

Signed-off-by: Andrei Kvapil kvapss@gmail.com

Summary by CodeRabbit

  • New Features

    • Updated images for various components to version v0.21.0, enhancing overall functionality and performance.
    • Introduced specific version tags for services, ensuring stability and predictability in deployments.
  • Bug Fixes

    • Updated image digests for several components, reflecting improvements or fixes in the underlying images.
  • Documentation

    • Updated URLs in documentation to direct users to the latest CozyStack resources.
  • Chores

    • Removed outdated patch applications from the build process, streamlining the Dockerfile configuration.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 27, 2024
Copy link
Contributor

coderabbitai bot commented Dec 27, 2024

Warning

Rate limit exceeded

@kvaps has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 1 minutes and 40 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between c735e34 and 21830bb.

📒 Files selected for processing (20)
  • manifests/cozystack-installer.yaml (2 hunks)
  • packages/apps/ferretdb/images/postgres-backup.tag (1 hunks)
  • packages/apps/http-cache/images/nginx-cache.tag (1 hunks)
  • packages/apps/kubernetes/images/cluster-autoscaler.tag (1 hunks)
  • packages/apps/kubernetes/images/kubevirt-cloud-provider.tag (1 hunks)
  • packages/apps/kubernetes/images/kubevirt-csi-driver.tag (1 hunks)
  • packages/apps/kubernetes/images/ubuntu-container-disk.tag (1 hunks)
  • packages/apps/mysql/images/mariadb-backup.tag (1 hunks)
  • packages/apps/postgres/images/postgres-backup.tag (1 hunks)
  • packages/core/installer/values.yaml (1 hunks)
  • packages/core/testing/values.yaml (1 hunks)
  • packages/system/bucket/images/s3manager.tag (1 hunks)
  • packages/system/cozystack-api/values.yaml (1 hunks)
  • packages/system/dashboard/charts/kubeapps/templates/dashboard/configmap.yaml (1 hunks)
  • packages/system/dashboard/images/dashboard/Dockerfile (1 hunks)
  • packages/system/dashboard/images/dashboard/documentation.diff (1 hunks)
  • packages/system/dashboard/images/kubeapps-apis/Dockerfile (1 hunks)
  • packages/system/dashboard/values.yaml (1 hunks)
  • packages/system/kamaji/values.yaml (1 hunks)
  • packages/system/kubeovn/values.yaml (1 hunks)

Walkthrough

This pull request encompasses a comprehensive update across multiple configuration files and image references in the Cozystack project. The primary focus is updating image versions and digests from v0.20.2 to v0.21.0 across various system components, including the installer, dashboard, Kubernetes-related services, and backup utilities. The changes are consistent and systematic, targeting image tags, digests, and configuration values to align with the new version.

Changes

File/Path Change Summary
manifests/cozystack-installer.yaml Updated cozystack and darkhttpd container images from v0.20.2 to v0.21.0
packages/core/installer/values.yaml Updated cozystack image version and SHA256 digest
packages/system/dashboard/values.yaml Updated dashboard and kubeappsapis image tags from latest to v0.21.0 with new digests
packages/system/cozystack-api/values.yaml Changed image tag from latest to v0.21.0
packages/core/testing/values.yaml Updated e2e-sandbox image tag from latest to v0.21.0
Multiple image tag files Updated image digests for various components like postgres-backup, nginx-cache, cluster-autoscaler, etc.

Suggested labels

lgtm

Suggested reviewers

  • themoriarti

Poem

🐰 Hop, hop, version update time!
Cozystack leaps to version divine
Images tagged with v0.21.0 shine
Digests dancing, all looking fine
A rabbit's release, simply sublime! 🚀


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
packages/system/dashboard/images/dashboard/documentation.diff (1)

10-10: Consider using version-specific documentation links.

The current change replaces a version-specific documentation link with a generic one. Consider maintaining version-specific documentation links to ensure users always access the relevant documentation for their installed version.

Example implementation:

-            href={"https://cozystack.io/docs/"}
+            href={`https://cozystack.io/docs/v${appVersion}/`}
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c48aed0 and c735e34.

📒 Files selected for processing (20)
  • manifests/cozystack-installer.yaml (2 hunks)
  • packages/apps/ferretdb/images/postgres-backup.tag (1 hunks)
  • packages/apps/http-cache/images/nginx-cache.tag (1 hunks)
  • packages/apps/kubernetes/images/cluster-autoscaler.tag (1 hunks)
  • packages/apps/kubernetes/images/kubevirt-cloud-provider.tag (1 hunks)
  • packages/apps/kubernetes/images/kubevirt-csi-driver.tag (1 hunks)
  • packages/apps/kubernetes/images/ubuntu-container-disk.tag (1 hunks)
  • packages/apps/mysql/images/mariadb-backup.tag (1 hunks)
  • packages/apps/postgres/images/postgres-backup.tag (1 hunks)
  • packages/core/installer/values.yaml (1 hunks)
  • packages/core/testing/values.yaml (1 hunks)
  • packages/system/bucket/images/s3manager.tag (1 hunks)
  • packages/system/cozystack-api/values.yaml (1 hunks)
  • packages/system/dashboard/charts/kubeapps/templates/dashboard/configmap.yaml (1 hunks)
  • packages/system/dashboard/images/dashboard/Dockerfile (1 hunks)
  • packages/system/dashboard/images/dashboard/documentation.diff (1 hunks)
  • packages/system/dashboard/images/kubeapps-apis/Dockerfile (1 hunks)
  • packages/system/dashboard/values.yaml (1 hunks)
  • packages/system/kamaji/values.yaml (1 hunks)
  • packages/system/kubeovn/values.yaml (1 hunks)
✅ Files skipped from review due to trivial changes (15)
  • packages/system/cozystack-api/values.yaml
  • packages/core/testing/values.yaml
  • packages/system/dashboard/images/kubeapps-apis/Dockerfile
  • packages/system/kubeovn/values.yaml
  • packages/apps/kubernetes/images/kubevirt-csi-driver.tag
  • packages/apps/kubernetes/images/cluster-autoscaler.tag
  • packages/core/installer/values.yaml
  • packages/apps/ferretdb/images/postgres-backup.tag
  • packages/system/bucket/images/s3manager.tag
  • packages/apps/postgres/images/postgres-backup.tag
  • packages/apps/http-cache/images/nginx-cache.tag
  • packages/system/kamaji/values.yaml
  • packages/apps/kubernetes/images/kubevirt-cloud-provider.tag
  • packages/apps/mysql/images/mariadb-backup.tag
  • packages/apps/kubernetes/images/ubuntu-container-disk.tag
🔇 Additional comments (8)
packages/system/dashboard/images/dashboard/documentation.diff (1)

10-10: Verify the CozyStack documentation URL.

The change from VMware Tanzu's Kubeapps documentation to CozyStack's documentation makes sense for this release. However, let's ensure the documentation URL is correct and accessible.

✅ Verification successful

Documentation URL is accessible and valid

The CozyStack documentation URL (https://cozystack.io/docs/) is confirmed to be accessible, returning a successful HTTP 200 status code. The change from VMware Tanzu's Kubeapps documentation to CozyStack's own documentation is appropriate and functional.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the CozyStack documentation URL exists and is accessible
# Note: Using curl with -L to follow redirects and -I for headers only

curl -LI https://cozystack.io/docs/ -o /dev/null -w '%{http_code}\n' -s

Length of output: 77

packages/system/dashboard/charts/kubeapps/templates/dashboard/configmap.yaml (1)

79-79: LGTM! Good practice using specific version instead of 'latest'.

The change from "latest" to "v0.21.0" improves deployment stability and version tracking.

packages/system/dashboard/images/dashboard/Dockerfile (3)

Line range hint 19-24: LGTM! Comprehensive branding updates.

The changes systematically update branding from Kubeapps to Cozystack across multiple files and components.


Line range hint 44-58: LGTM! Consistent color scheme updates.

The color scheme changes are comprehensive and maintain consistency across the UI components.


17-17: Verify documentation consistency after removing patch.

The documentation patch has been commented out. Please ensure this doesn't leave documentation in an inconsistent state.

Let's check for any remaining documentation references:

✅ Verification successful

Let me gather more information to verify if the documentation patch is still needed:


Let me check the content of the remove-manage-repositories diff since it contains documentation changes:


Let me check the content of documentation.diff since it's the one that was commented out in the Dockerfile:


Documentation patch can be safely removed

The documentation.diff patch was only updating documentation URLs from Kubeapps to Cozystack, which is already being handled by other means in the Dockerfile through sed commands. The patch being commented out doesn't leave documentation in an inconsistent state because:

  1. The documentation URL is being updated to "https://cozystack.io/docs/"
  2. All Kubeapps branding references are systematically replaced with Cozystack through multiple sed commands in the Dockerfile
  3. The remove-manage-repositories.diff has already removed the old documentation references from the UI components
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for any remaining documentation references that might need updating
# Search for potential documentation inconsistencies

rg -i "kubeapps.*documentation" -A 2 -B 2

Length of output: 1996


Script:

#!/bin/bash
# Check the content of the documentation patch to understand what it was modifying
cat packages/system/dashboard/images/dashboard/patches/documentation.diff

# Also check for any other documentation files that might need updates
fd -e md -e mdx . packages/system/dashboard

Length of output: 485


Script:

#!/bin/bash
# Check the content of the remove-manage-repositories diff
cat packages/system/dashboard/images/dashboard/remove-manage-repositories.diff

# Also check if there are any other diff files that might contain documentation changes
fd -e diff . packages/system/dashboard/images/dashboard/

Length of output: 3308


Script:

#!/bin/bash
# Check the content of the documentation.diff file
cat packages/system/dashboard/images/dashboard/documentation.diff

# Also check for any remaining Kubeapps branding in the dashboard
rg -i "kubeapps" packages/system/dashboard/images/dashboard/ -g '!*.diff'

Length of output: 1644

packages/system/dashboard/values.yaml (3)

43-44: LGTM! Good practice using specific version instead of 'latest'.

The change from 'latest' to a specific version tag 'v0.21.0' with a corresponding digest is a good practice as it ensures reproducible deployments.


49-50: LGTM! Version consistency maintained across components.

Both dashboard and kubeappsapis components are aligned at v0.21.0, which is essential for compatibility. The specific version tag and digest ensure deployment consistency.


43-44: Verify compatibility with existing plugin configuration.

Since this is a version upgrade, please ensure that the new v0.21.0 release remains compatible with the extensive plugin configuration defined in this file.

Run the following script to check for any breaking changes in the release notes or documentation:

Also applies to: 49-50

✅ Verification successful

Let me search for specific configuration details in the dashboard values file and related documentation.


No compatibility concerns with plugin configuration for v0.21.0

After analyzing the values.yaml file and related documentation, I can confirm that the version upgrade is safe with the existing plugin configuration. The file shows:

  1. The extensive Flux plugin configuration remains compatible as it's primarily focused on resource definitions and chart references
  2. The dashboard configuration is mainly UI customizations and ingress settings which are version-independent
  3. No breaking changes are indicated for v0.21.0 in the documentation

The upgrade appears to be a routine version bump that maintains compatibility with the existing configuration structure.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for breaking changes in v0.21.0

# Check release notes and documentation for breaking changes
gh api repos/aenix-io/cozystack/releases/tags/v0.21.0 --jq '.body' || echo "Release notes not found"

# Search for any migration guides or upgrade notes in docs
fd -t f . | xargs rg -l "v0.21.0|migration|upgrade"

Length of output: 8839


Script:

#!/bin/bash
# Check the current values.yaml for plugin configuration
cat packages/system/dashboard/values.yaml

# Search for any breaking changes or version-specific configuration
rg -A 5 "v0.21.0|breaking.?changes?" packages/system/dashboard/

Length of output: 20202

manifests/cozystack-installer.yaml Show resolved Hide resolved
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
@kvaps kvaps merged commit 175a65f into main Dec 27, 2024
1 of 2 checks passed
@kvaps kvaps deleted the release-v0.21.0 branch December 27, 2024 17:53
This was referenced Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant