-
Notifications
You must be signed in to change notification settings - Fork 220
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
[BUG] targetBranch needs remote #577
Comments
This was referenced Jul 12, 2023
Merged
as a workaround, you can add the following before_script:
- git branch "$target_branch" "origin/$target_branch" |
You can checkout the target branch to make sue it exists locally, then checkout back to original branch. It works for me. |
This was working with Chart Testing 3.8.0 - and for me is also broken (as in: updated to 3.9.0 without any changes and got the message |
jouve
added a commit
to jouve/chart-testing
that referenced
this issue
Oct 3, 2023
fix helm#577 Signed-off-by: Cyril Jouve <[email protected]>
cpanato
pushed a commit
that referenced
this issue
Oct 27, 2023
…#601) fix #577 Signed-off-by: Cyril Jouve <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a BUG REPORT or FEATURE REQUEST?:
BUG
Version of Helm and Kubernetes:
ct version
What happened:
With the add of verify if targetBranch is present in git repo, ct lint fails with false positive of
failed linting charts: failed identifying charts to process: targetBranch 'master' does not exist
.What you expected to happen:
ct run normally.
How to reproduce it (as minimally and precisely as possible):
You need to run ct targeting a remote not default, since this command does not use remote information.
Ex.:
ct lint --remote other --config ct.yaml --target-branch master --debug
Also, a CI run with this error.
Note: This is not fixed with passing target-branch as "remote/branch", as it fails the following check.
Another CI run with the other error.
The text was updated successfully, but these errors were encountered: