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

Download links broken #222

Open
saurabnigam opened this issue Sep 16, 2020 · 17 comments
Open

Download links broken #222

saurabnigam opened this issue Sep 16, 2020 · 17 comments

Comments

@saurabnigam
Copy link

No description provided.

@abhirockzz
Copy link

@rakyll This is probably not an urgent ask by any means, but your help here would be really appreciated! Thank you!

@didier-durand
Copy link

Hi, is there another way to obtain the binaries: stored elsewhere?

@bharathnatarajan1
Copy link

bharathnatarajan1 commented Sep 19, 2020

@rakyll Could you please help in fixing broken 'Download Links' ? We were thinking to use this great app but couldn't, due to broken links. Is there a workaround to get the binaries for Windows?

@didier-durand
Copy link

@bharathnatarajan1 : if you work on Ubuntu like me, there is a package that you can install via snapd. It works fine : look at line 225 of my https://github.com/didier-durand/knative-on-cloud-kubernetes/blob/master/.github/workflows/gcloud-gke-knative.yml to see how I did it to work on Github CI / CD

@bharathnatarajan1
Copy link

@bharathnatarajan1 : if you work on Ubuntu like me, there is a package that you can install via snapd. It works fine : look at line 225 of my https://github.com/didier-durand/knative-on-cloud-kubernetes/blob/master/.github/workflows/gcloud-gke-knative.yml to see how I did it to work on Github CI / CD

@didier-durand Thankyou :) Is there a way to download the package in Windows machine? Need this to test FaaS app running on Windows 10 Platform.

@didier-durand
Copy link

The simplest is to install an Ubuntu instance on your Windows machine (VirtualBox, HyperV, etc.) and run hey from there.

@gnat
Copy link

gnat commented Sep 25, 2020

Thankfully the binary is still available with a simple apt install hey

But still, if you no longer wish to maintain the google account, just attach the binaries to the release or something @rakyll

I feel like this broke at least a few hundred CI pipelines out in the wild, ha.

@SachinMaharana
Copy link

I couldn't install it through sudo apt install hey

sudo apt install hey                                                                            1 ↵
Alias tip: _ apt install hey
Reading package lists... Done
Building dependency tree       
Reading state information... Done

No apt package "hey"
E: Unable to locate package hey

If anybody still has issues with installing in ubuntu, could use the following command:

curl -sf https://gobinaries.com/rakyll/hey | sh

@didier-durand
Copy link

Look at my comment above : #222 (comment) you have a working solution for Ubuntu and the proof that it works if you look at the execution journals.

@SachinMaharana
Copy link

@didier-durand yes sir, i did saw your solution for ubuntu, and that also works, but personally i am not a big fan of snaps , as i had noticed few weird issues in the past in my ubuntu system. using the above command works for me very well.

@didier-durand
Copy link

That's the only thing that I tried. Sorry & good luck! Didier

@kuzminets
Copy link

kuzminets commented Oct 7, 2020

If anybody still has issues with installing in ubuntu, could use the following command:

curl -sf https://gobinaries.com/rakyll/hey | sh

The script downloads the binary from this link https://gobinaries.com/binary/github.com/rakyll/hey?os=linux&arch=amd64&version=v0.1.4

@raylee
Copy link

raylee commented Oct 9, 2020

Another option is to install the go compiler, it's quick! With that you can build the executable from source by: go get github.com/rakyll/hey The resulting binary will be $(go env GOPATH)/bin/hey. I.e.:

$ go get github.com/rakyll/hey
$ sudo cp $(go env GOPATH)/bin/hey /usr/local/bin/
$ hey
Usage: hey [options...] <url>

Options:
[...]

@Z13NDELS
Copy link

@rakyll Have you considered moving hey releases in GitHUb ? They provide some nice tooling!
There seems to be quite complete guides like this one https://github.com/mh-cbon/go-github-release

@wahmedswl
Copy link

#222 (comment) is good option, downloaded build from windows via

https://gobinaries.com/binary/github.com/rakyll/hey?os=windows&arch=amd64&version=v0.1.4

@rustberry
Copy link

Another option is to install the go compiler, it's quick! With that you can build the executable from source by: go get github.com/rakyll/hey The resulting binary will be $(go env GOPATH)/bin/hey. I.e.:

$ go get github.com/rakyll/hey
$ sudo cp $(go env GOPATH)/bin/hey /usr/local/bin/
$ hey
Usage: hey [options...] <url>

Options:
[...]

For those use this method under Windows and need to use proxy for go get:
type below proxy setting as environment variables, then go get will use these settings.

set HTTPS_PROXY=host:port
set https_proxy=host:port
go get github.com/rakyll/hey

@alexellis
Copy link

I have built a builder for hey, which produces binaries to GitHub for download.

It has:

  • Windows 64-bit binary
  • MacOS 64-bit binary
  • MacOS 64-bit binary for M1 Arm
  • Linux 64-bit binary
  • Linux 64-bit ARM binary
  • Linux 32-bit ARM binary (Raspberry Pi)

Folks you're welcome to use that. @rakyll, if you'd like a PR, I'd be open to upstreaming this. GitHub runs the works, and there's nothing for you to do really.

https://github.com/alexellis/hey

We will probably also add it to arkade for download via arkade get hey

See releases: https://github.com/alexellis/hey/releases/

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