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

get.sh : wrong path in the faas-cli.sha256 #845

Closed
3 tasks done
supabibz opened this issue Nov 18, 2020 · 1 comment
Closed
3 tasks done

get.sh : wrong path in the faas-cli.sha256 #845

supabibz opened this issue Nov 18, 2020 · 1 comment

Comments

@supabibz
Copy link

My actions before raising this issue

Hi Guy,

it seems that you updated recently the get.sh script or faas-cli.sha256 on the server.
The get.sh downloads the binary in the current directory but then, when trying to perform the sha256sum using the faas-cli.sha256 it fails because content is bin/faas-cli :

Finding latest version from GitHub 0.12.16 Downloading package https://github.com/openfaas/faas-cli/releases/download/0.12.16/faas-cli as /home/bibi/faas-cli sha256sum: bin/faas-cli: No such file or directory sha256sum: WARNING: 1 listed file could not be read Binary checksum didn't match. Exiting

When inspecting the faas-cli.sha256 file :

curl -sSL https://github.com/openfaas/faas-cli/releases/download/0.12.16/faas-cli.sha256 cbbf021fd6bcb9a1c4375d3f52ac17a6d8ab5e07490df2501020fdd50dd6f30c bin/faas-cli

whereas it sould be
cbbf021fd6bcb9a1c4375d3f52ac17a6d8ab5e07490df2501020fdd50dd6f30c faas-cli

Expected Behaviour

Current Behaviour

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • FaaS-CLI version ( Full output from: faas-cli version ):

  • Docker version docker version (e.g. Docker 17.0.05 ):

  • Are you using Docker Swarm or Kubernetes (FaaS-netes)?

  • Operating System and version (e.g. Linux, Windows, MacOS):

  • Code example or link to GitHub repo or gist to reproduce problem:

  • Other diagnostic information / logs from troubleshooting guide

If using Swarm, run the following and include the output:

curl -sLS https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh | bash

Next steps

You may join Slack for community support.

@alexellis alexellis transferred this issue from openfaas/faas Nov 18, 2020
@alexellis
Copy link
Member

Thanks for the report. This is a duplicate of #844 and can now be closed.

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

No branches or pull requests

2 participants