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

Improve messages in Helm deployment issues with custom chartDir option #1044

Conversation

serverhorror
Copy link
Contributor

@serverhorror serverhorror commented Oct 19, 2023

This will bail out if the repository is ambigious about the deployment descriptor.

It will fail if:

  • there is no deployment descriptor
  • there is more than one deployment descriptor

For a successfull release to happen, developers are required to "clean" their repository of unrelated deployment desciptors that could interfere with the current version.

related with #1038

This will bail out if the repository is ambigious about the deployment descriptor.

It will fail if:

* there is no deployment descriptor
* there is more than one deployment descriptor

For a successfull release to happen, developers are required to "clean" their repository of unrelated deployment desciptors that could interfere with the current version.
@serverhorror
Copy link
Contributor Author

Does this look acceptable?

in the Jenkins log:

image

and in JIRA:

image

@serverhorror serverhorror marked this pull request as ready for review October 20, 2023 16:10
@serverhorror
Copy link
Contributor Author

@jafarre-bi, @jorge-romero, @hrcornejo -- can you review this?

…m-chartdir-option

# Conflicts:
#	CHANGELOG.md
@serverhorror
Copy link
Contributor Author

@jafarre-bi, @jorge-romero, @hrcornejo -- can you review this?

…m-chartdir-option

# Conflicts:
#	CHANGELOG.md
* More than one deployment descriptor found.
* No deployment descriptor found.

Deployment descriptors found: ${files}
Copy link
Contributor

Choose a reason for hiding this comment

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

This message is intended for the end user. It may not be clear, if it shows an empty list in case there are no descriptors.
Ideally, we should be able to tell the user the exact reason of the failure.

Copy link
Contributor Author

@serverhorror serverhorror Feb 28, 2024

Choose a reason for hiding this comment

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

The end user is a developer. I would expect some prior knowledge here. Any suggestions what it should look like?

…m-chartdir-option

# Conflicts:
#	CHANGELOG.md
@hrcornejo hrcornejo changed the title FIX #1038 Helm deployment issues with custom chartDir option Improve messages in Helm deployment issues with custom chartDir option Apr 29, 2024
@hrcornejo hrcornejo self-requested a review April 30, 2024 08:32
@hrcornejo hrcornejo merged commit 602d751 into opendevstack:master Apr 30, 2024
2 checks passed
BraisVQ pushed a commit that referenced this pull request Jun 6, 2024
#1044)

Co-authored-by: serverhorror <serverhorror@users.noreply.github.com>
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.

3 participants