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

Deployment Fails on wait-for-deploy Step with ComparisonError for Newly Generated Image #155

Closed
zmotso opened this issue Nov 1, 2024 · 0 comments · Fixed by #156
Closed
Assignees
Labels
bug Something isn't working

Comments

@zmotso
Copy link
Contributor

zmotso commented Nov 1, 2024

When a user attempts to create a Bitbucket application with "master" as the default branch, they encounter an error on the KubeRocketCI (KRCI) platform. The error message displayed is "failed to set default branch: setting default branch in Bitbucket repository: api is not supported". This issue suggests that the API call KRCI is making to set the default branch in Bitbucket is not supported by Bitbucket's API, or the method used is incorrect.
Acceptance criteria

  1. Error Identification: The root cause of the unsupported API call is identified.
  2. API Update: The API call to set the default branch in Bitbucket is updated to a supported method or endpoint.
  3. Testing: After fixing, creating a Bitbucket application with "master" as the default branch should not result in an error.
  4. Error Handling: If the API call fails for any reason, a more descriptive error message should be provided to the user.
  5. Documentation: Update any relevant documentation to reflect the correct API usage or any changes made to handle this error.
@zmotso zmotso added the bug Something isn't working label Nov 1, 2024
@zmotso zmotso self-assigned this Nov 1, 2024
zmotso added a commit that referenced this issue Nov 1, 2024
Fixed:
- Error 'API not supported' while processing default branch for Codebase.
  Now, this error is logged, and don't block Codebase.
- The operator creates new branches from Codebase.spec.defaultBranch.
SergK pushed a commit that referenced this issue Nov 1, 2024
Fixed:
- Error 'API not supported' while processing default branch for Codebase.
  Now, this error is logged, and don't block Codebase.
- The operator creates new branches from Codebase.spec.defaultBranch.
@SergK SergK closed this as completed in #156 Nov 1, 2024
MykolaMarusenko pushed a commit that referenced this issue Nov 5, 2024
Fixed:
- Error 'API not supported' while processing default branch for Codebase.
  Now, this error is logged, and don't block Codebase.
- The operator creates new branches from Codebase.spec.defaultBranch.
MykolaMarusenko pushed a commit that referenced this issue Nov 5, 2024
Fixed:
- Error 'API not supported' while processing default branch for Codebase.
  Now, this error is logged, and don't block Codebase.
- The operator creates new branches from Codebase.spec.defaultBranch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

1 participant