Skip to content

Conversation

@emasab
Copy link
Contributor

@emasab emasab commented Dec 16, 2025

Also: configurable repository URL.

Copilot AI review requested due to automatic review settings December 16, 2025 09:06
@emasab emasab requested a review from a team as a code owner December 16, 2025 09:06
@confluent-cla-assistant
Copy link

🎉 All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds the ability to pull the latest Docker image tags when verifying Linux packages and makes the repository URL configurable. The changes allow for more flexible package verification by supporting custom repository URLs while ensuring Docker images are up-to-date.

Key changes:

  • Added --pull missing flag to Docker run commands to ensure latest image versions are used
  • Made REPOSITORY_BASE_URL optional with a default value of https://packages.confluent.io
  • Added a commented-out verification step for Rocky Linux 10

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
service.yml Adds optional REPOSITORY_BASE_URL parameter with default value
packaging/cp/verify-packages.sh Updates Docker commands to pull missing images and adds placeholder for Rocky Linux 10
.semaphore/verify-linux-packages.yml Removes hardcoded REPOSITORY_BASE_URL environment variable and uses shell parameter expansion with default value

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

service.yml Outdated
Comment on lines 40 to 41
description: "Base URL of the package repository to verify packages from.
Defaults to https://packages.confluent.io"
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

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

The description text is split across two lines with incorrect indentation. The continuation line should be aligned properly or combined into a single line to maintain YAML formatting consistency.

Suggested change
description: "Base URL of the package repository to verify packages from.
Defaults to https://packages.confluent.io"
description: "Base URL of the package repository to verify packages from. Defaults to https://packages.confluent.io"

Copilot uses AI. Check for mistakes.
verify_debian() {
local version=$2
docker run -v $thisdir:/v $1 /v/verify-deb.sh $base_url $version
docker run --pull missing -v $thisdir:/v $1 /v/verify-deb.sh $base_url $version
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

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

The Docker volume mount uses an unquoted variable $thisdir. This should be quoted to prevent issues with paths containing spaces: -v "$thisdir:/v".

Copilot uses AI. Check for mistakes.
verify_rpm() {
local version=$2
docker run -v $thisdir:/v $1 /v/verify-rpm.sh $base_url $version
docker run --pull missing -v $thisdir:/v $1 /v/verify-rpm.sh $base_url $version
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

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

The Docker volume mount uses an unquoted variable $thisdir. This should be quoted to prevent issues with paths containing spaces: -v "$thisdir:/v".

Copilot uses AI. Check for mistakes.
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.

2 participants