Skip to content

Conversation

@kvaps
Copy link
Member

@kvaps kvaps commented Dec 30, 2024

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

Summary by CodeRabbit

  • Version Update
    • Upgraded Cozystack from v0.21.0 to v0.21.1
    • Updated multiple system component images to the new version
    • Updated image references across various configuration files and packages
    • Updated image digests for various Docker images to ensure the latest content is used

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

coderabbitai bot commented Dec 30, 2024

Caution

Review failed

The pull request is closed.

Walkthrough

This pull request involves updating various container image versions and digests across multiple configuration files in the Cozystack project. The primary focus is on incrementing the cozystack image version from v0.21.0 to v0.21.1, with corresponding updates to image digests in several system and application configuration files. The changes span multiple packages and system components, ensuring consistent versioning across the project's infrastructure.

Changes

File Change Summary
manifests/cozystack-installer.yaml Updated cozystack and darkhttpd container images from v0.21.0 to v0.21.1
packages/core/installer/values.yaml Updated cozystack image version and digest
packages/core/testing/values.yaml Updated e2e-sandbox image version from v0.21.0 to v0.21.1
packages/system/cozystack-api/values.yaml Updated cozystack-api image version
packages/system/dashboard/values.yaml Updated dashboard and kubeappsapis image tags and digests
packages/system/kamaji/values.yaml Updated image tag and digest
packages/system/kubeovn/values.yaml Updated image tag digest
Multiple image tag files Updated image digests for nginx-cache, ubuntu-container-disk, mariadb-backup, s3manager

Suggested labels

lgtm

Suggested reviewers

  • themoriarti

Possibly related PRs

Poem

🐰 Hop, hop, version update time!
Cozystack's images now align
From zero-twenty-one-point-oh
To zero-twenty-one-point-one we go
A rabbit's dance of code sublime! 🚀


📜 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 4b7581b and 15b3e45.

📒 Files selected for processing (12)
  • manifests/cozystack-installer.yaml (2 hunks)
  • packages/apps/http-cache/images/nginx-cache.tag (1 hunks)
  • packages/apps/kubernetes/images/ubuntu-container-disk.tag (1 hunks)
  • packages/apps/mysql/images/mariadb-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/values.yaml (1 hunks)
  • packages/system/kamaji/values.yaml (1 hunks)
  • packages/system/kubeovn/values.yaml (1 hunks)

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

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between f1e1145 and 4b7581b.

📒 Files selected for processing (12)
  • manifests/cozystack-installer.yaml (2 hunks)
  • packages/apps/http-cache/images/nginx-cache.tag (1 hunks)
  • packages/apps/kubernetes/images/ubuntu-container-disk.tag (1 hunks)
  • packages/apps/mysql/images/mariadb-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/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 (9)
  • packages/core/testing/values.yaml
  • packages/apps/http-cache/images/nginx-cache.tag
  • packages/system/cozystack-api/values.yaml
  • packages/apps/mysql/images/mariadb-backup.tag
  • packages/core/installer/values.yaml
  • packages/system/kamaji/values.yaml
  • packages/system/kubeovn/values.yaml
  • packages/system/bucket/images/s3manager.tag
  • packages/apps/kubernetes/images/ubuntu-container-disk.tag
🔇 Additional comments (2)
packages/system/dashboard/charts/kubeapps/templates/dashboard/configmap.yaml (1)

79-79: Dashboard appVersion matches container versions

The appVersion in the dashboard configuration has been correctly updated to v0.21.1, maintaining consistency with the container image versions.

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

43-44: Image versions and digests updated consistently

Both components have been updated to v0.21.1 with their corresponding new digests:

  • Dashboard: tag v0.21.1, digest sha256:fa9b6238da1dfaa15ec1c20c041103d6e07b5194cc54cf3cf4872f758ceaa085
  • Kubeappsapis: tag v0.21.1, digest sha256:3ad47a120ae2bd83e1242430e17616a6500d627a7a6cef94095b9e6c1a9e85a8

Let's verify the image digests:

Also applies to: 49-50

containers:
- name: cozystack
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.21.0"
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.21.1"
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

Container images are not accessible in the registry

The verification shows that:

  1. Both v0.21.1 images are not accessible
  2. Previous version (v0.21.0) images are also not accessible
  3. Unable to list tags for both repositories

This could mean either:

  • The images haven't been published yet
  • The repositories are private and require authentication
  • The repository paths are incorrect

Please ensure that:

  • The container images are published before merging this change
  • The repository paths are correct
  • If the repositories are private, proper authentication is configured in the deployment
🔗 Analysis chain

Version updates look consistent

Both container images have been updated to v0.21.1:

  • cozystack container: ghcr.io/aenix-io/cozystack/cozystack:v0.21.1
  • darkhttpd container: ghcr.io/aenix-io/cozystack/cozystack:v0.21.1

Let's verify the image availability:

Also applies to: 90-90


Container images v0.21.1 are not available in the registry

The verification shows that both container images are not accessible in the GitHub Container Registry:

  • ghcr.io/aenix-io/cozystack/cozystack:v0.21.1
  • ghcr.io/aenix-io/cozystack/darkhttpd:v0.21.1

Let's verify if the previous version (v0.21.0) is available to ensure this isn't an authentication issue:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify that both images exist in the registry
# Note: This only checks if the images are accessible, not if they are properly signed

for image in "ghcr.io/aenix-io/cozystack/cozystack:v0.21.1" "ghcr.io/aenix-io/cozystack/darkhttpd:v0.21.1"; do
  echo "Checking $image..."
  curl -s -f -L -I "https://ghcr.io/v2/${image#ghcr.io/}/manifests/latest" || echo "Image not found: $image"
done

Length of output: 1319


Script:

#!/bin/bash
# Check if v0.21.0 images exist
for image in "ghcr.io/aenix-io/cozystack/cozystack:v0.21.0" "ghcr.io/aenix-io/cozystack/darkhttpd:v0.21.0"; do
  echo "Checking $image..."
  curl -s -f -L -I "https://ghcr.io/v2/${image#ghcr.io/}/manifests/latest" || echo "Image not found: $image"
done

# List available tags for these repositories
for repo in "aenix-io/cozystack/cozystack" "aenix-io/cozystack/darkhttpd"; do
  echo -e "\nListing tags for $repo:"
  curl -s -f -L "https://ghcr.io/v2/$repo/tags/list" || echo "Failed to list tags"
done

Length of output: 1934

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
@kvaps kvaps merged commit fde4bcf into main Dec 30, 2024
2 checks passed
@kvaps kvaps deleted the release-v0.21.1 branch December 30, 2024 14:34
This was referenced Dec 31, 2024
@coderabbitai coderabbitai bot mentioned this pull request Jan 27, 2025
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.

2 participants