Closed Toghr closed 3 years ago
Hello @Toghr ,
I'm aware of the defect and also received a pullrequest to fix the problem (https://github.com/quintush/helm-unittest/pull/73). However the pullrequest does not fulfill the complete request so I started investigating other options.
In the mean time i noticed there are 3 versions of sha256sum. 1 version (used in apline) which allows the -s option 2 version which supports both -s and --status 3 the version which only supports --status
As i use the alpine version for the docker images i have created a branch in which i try to solve all combinations. Still need to verify if all setups are working, but feel free to comment.
@quintush thanks for Your quick reply. I was not aware of 'alpine' version. Indeed it does not support full: '--status' option which, I was hoping, could be a good solution :(
When I try to instal plugin on centos 7 I get following error:
It's caused by this part:
curl -s -L "$PROJECT_CHECKSUM" | grep "$DOWNLOAD_FILE" | sha256sum -c -s
While -s is valid option for shasum
It's not ok for sha256sum:
Workarounds: install shasum, it will be preferred over sha256sum
yum install -y perl-Digest-SHA