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

fix: if chart version already exists then *won't* fail on chart-push #1314

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

rollandf
Copy link
Member

@rollandf rollandf commented Feb 3, 2025

Caveat:
If the specific error (Chart '<chart>' already exists in the repository.) occurs then the CI workflow (ci.yaml) won't fail. However it's important to note that the make command will behave normally around the failure (i.e. it will exit) - this is fine in the current configuration (Makefile & ci.yaml), however - it could cause issues in the following cases:

  • Expantion of the make target with additional lines (will fail and exit on the current/single line).
  • Addition of make goal(s) after the chart-push target (will fail and exit and not run any following targets).

Caveat:
If the specific error (`Chart '<chart>' already exists in the repository.`) occurs then the CI workflow (`ci.yaml`) *won't* fail.
However it's important to note that the `make` command will behave normally around the failure (i.e. it will exit) - this is fine in
the current configuration (Makefile & ci.yaml), however - it could cause
issues in the following cases:
- Expantion of the make target with additional lines (will fail and exit on the current/single line).
- Addition of make goal(s) *after* the `chart-push` target (will fail
  and exit and not run any following targets).

Signed-off-by: Michael Zeevi <[email protected]>
@rollandf rollandf requested review from heyvister1 and e0ne February 3, 2025 09:52
@rollandf
Copy link
Member Author

rollandf commented Feb 3, 2025

backport of #1310

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 13110763534

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.2%) to 60.072%

Files with Coverage Reduction New Missed Lines %
controllers/macvlannetwork_controller.go 1 86.25%
Totals Coverage Status
Change from base Build 13100445428: 0.2%
Covered Lines: 3349
Relevant Lines: 5575

💛 - Coveralls

@rollandf
Copy link
Member Author

rollandf commented Feb 3, 2025

/retest-copy-right

@rollandf rollandf merged commit 740bcb9 into Mellanox:v25.1.x Feb 3, 2025
14 of 16 checks passed
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.

5 participants