Closed estahn closed 4 years ago
having same issue
same here
For me, it was just that, I was not using my base branch as a master. once I started using master it solved my problem.
in ct.yaml
you also can set the target branch, in case you want to use something other than master.
Having the same issue as well. I tried with v1.0.0-rc.1
and v1.0.0-rc.2
.
I was not executing the following step (contrary to what is mentioned in the example):
- name: Fetch history
run: git fetch --prune --unshallow
Maybe this helps somebody...
Same here. With version v1.0.0-rc.2
Digest: sha256:55fb51929186d4dc8b0821569151a39283918785447628fb2e28f87d9b2937d2
Status: Downloaded newer image for quay.io/helmpack/chart-testing:v3.0.0-rc.1
2f7a7c753d20e95abaa1a207ababf0a113dc32a03a610c2bb8fa349640daeaca
Error: Error running process: exit status 128
Removing ct container...
Done!
I've also got this issue on v.1.0.0 and have the step in @leokra's comment above. Here's the run
my default branch was main
, so I had to add target-branch: main
to my ct.yaml
config
I was not executing the following step (contrary to what is mentioned in the example):
- name: Fetch history run: git fetch --prune --unshallow
Maybe this helps somebody...
Thanks for this @leokra ! I accomplished the same thing by adding the fetch-depth: 0
parameter to the checkout action, like so:
steps:
- uses: actions/checkout@v2
with:
# ct needs history to compare
fetch-depth: 0
Solved in concourse ci by adding git fetch --all
before ct
step
I've tried with
command: lint
andcommand: ct lint
but it returns the same error message. When downloading the containerquay.io/helmpack/chart-testing:v3.0.0-beta.2
and running that locally it works fine.