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

confluent-kafka/8.0.0.181 package update #35075

Closed
wants to merge 1 commit into from

Conversation

octo-sts[bot]
Copy link
Contributor

@octo-sts octo-sts bot commented Nov 23, 2024

@octo-sts octo-sts bot added request-version-update request for a newer version of a package automated pr labels Nov 23, 2024
Copy link
Contributor Author

octo-sts bot commented Nov 23, 2024

Gen AI suggestions to solve the build error:

Based on the error output, I'll analyze and provide specific fixes:

• Detected Error: git clone --quiet --origin=origin [...] --branch=v8.0.0-181-ccs [...] https://github.com/confluentinc/kafka
(The command fails silently, indicating the tag doesn't exist)

• Error Category: Version/Git Checkout

• Failure Point: git-checkout step in the pipeline, specifically when trying to clone with the specified tag

• Root Cause Analysis: The tag format in the Git repository doesn't match the transformed version pattern. Confluent uses a different tag format than what's being generated by the var-transforms section.

• Suggested Fix:

  1. Modify the var-transforms section to match Confluent's actual tag format:
var-transforms:
  - from: ${{package.version}}
    match: ^(\d+)\.(\d+)\.(\d+)\.(\d+)$
    replace: $1.$2.$3-$4
    to: mangled-package-version
  1. Update the git-checkout step to use the correct tag format:
  - uses: git-checkout
    with:
      expected-commit: 6cc5de174045104d2ed9b985e0a0352e2f047c9a
      repository: https://github.com/confluentinc/kafka
      tag: ${{vars.mangled-package-version}}

• Explanation:
The current transform is creating a tag format v8.0.0-181-ccs but Confluent typically uses the format 8.0.0-181 for their releases. The fix adjusts the version transformation to match Confluent's actual tag format in their repository.

• Additional Notes:

  • Verify the actual tag exists in the repository before building
  • Consider adding error handling for tag verification
  • The commit hash should be verified against the intended tag

• References:

@octo-sts octo-sts bot closed this Nov 24, 2024
Copy link
Contributor Author

octo-sts bot commented Nov 24, 2024

superseded by #35081

@octo-sts octo-sts bot deleted the wolfictl-5a35792b-777e-4349-a2fa-03d87d0fd3df branch November 25, 2024 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated pr request-version-update request for a newer version of a package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant