Closed andeplane closed 4 years ago
Hi @andeplane we are aware of this problem, thank you for flagging it. This happens oddly only some of the time.
It would appear to be a problem with GitHub's servers, they are going through some bumpy waters this week.
I think my changes to the CLI with grep -i
have helped, can you retry?
Alex
I think this will need patching in k3sup, arkade, inlets and ofc-bootstrap too, so that grep -i is used instead of grep. The Location header is now being forced to lowercase some of the time by the GitHub servers.
Worked now at least. I see the change in get.sh
so looks good :)
I'll close this as I see it as resolved.
Current recommended install script
curl -sSL https://cli.openfaas.com | sh
fails because https://github.com/openfaas/faas-cli/releases/latest suddenly returnslocation
with lowercase L, socurl -sI https://github.com/$OWNER/$REPO/releases/latest | grep Location
gives nothing.Expected Behaviour
Running the command should install faas-cli.
Current Behaviour
Running the command fails:
Possible Solution
Grep on case insensitive
location
?Steps to Reproduce (for bugs)
Just run
curl -sSL https://cli.openfaas.com | sh
Context
Docker build using faas-cli suddenly failed.
Your Environment
Dockerfile with
FROM python:3.7
base image. Also happens on my macOS.Docker version ( Full output from:
docker version
): Docker version 19.03.5, build 633a0eaAre you using Docker Swarm (FaaS-swarm ) or Kubernetes (FaaS-netes)? Kubernetes in cloud, but also happens locally with Docker only.
Operating System and version (e.g. Linux, Windows, MacOS): Linux and macOS.