openfaas / faas-cli

Official CLI for OpenFaaS
https://www.openfaas.com/
Other
798 stars 224 forks source link

ARMHF SHA missing for release 0.11.8 #765

Closed pisymbol closed 4 years ago

pisymbol commented 4 years ago
pi@pimaster:~ $ curl -SLsf https://cli.openfaas.com | sudo sh
armv7l
Downloading package https://github.com/openfaas/faas-cli/releases/download/0.11.8/faas-cli-armhf as /tmp/faas-cli-armhf
sha256sum: 'standard input': no properly formatted SHA256 checksum lines found
Binary checksum didn't match. Exiting

Looks like this is failing:

+ curl -sSL https://github.com/openfaas/faas-cli/releases/download/0.11.8/faas-cli-armhf.sha256
+ sha256sum -c
sha256sum: 'standard input': no properly formatted SHA256 checksum lines found
+ [ 1 != 0 ]

And that's because:

pi@pimaster:~ $ curl -sSL https://github.com/openfaas/faas-cli/releases/download/0.11.8/faas-cli-armhf.sha256
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>87833671/803da880-555f-11ea-9826-1b74d7af2c00</Key><RequestId>0A1C7DFEA2669C71</RequestId><HostId>VLQU/z290a8c9X1kVA+vVga65Uv8/kHd/6P50Q2asaNXhkr2Odps2N3fDbKnvTs2jyP1iZIux3g=</HostId></Error>

The issue is the key is really here:

https://github.com/openfaas/faas-cli/releases/download/0.11.8/faas-cli.sha256

Notice there is no ARCH string appended to it.

alexellis commented 4 years ago

Thanks for raising this, appears to only affect ARMHF, due to a partial failure of CI https://travis-ci.com/openfaas/faas-cli

alexellis commented 4 years ago

/set title: ARMHF SHA missing for release 0.11.8

pisymbol commented 4 years ago

Yes, agreed.

alexellis commented 4 years ago

Fixed manually, will monitor the next release for this. Thank you @pisymbol for letting us know.

pisymbol commented 4 years ago

Thanks very much! I appreciate it.