globocom / huskyCI

Performing security tests inside your CI
https://huskyci.opensource.globo.com
BSD 3-Clause "New" or "Revised" License
572 stars 137 forks source link

Can't run make install #582

Closed lucassperez closed 8 months ago

lucassperez commented 8 months ago

Hello. Recently I've been interested in contributing to this project, but I can't get past step 1, the environemnt setup.

I tried to clone this repo and setup a local development environment following the doc guide.

But when I run make install, it fails to build the image. The command go build never finishes. From what I could see, it tries to download the dependencies, but it times out. My guess is that my container cannot reach https://proxy.golang.org/ (and probably anything).

Are there any other steps between cloning the repo and running make install? Is there a secret around the container's network?

Logs: https://gist.github.com/lucassperez/05563f550027a52bb8e155e653fab09a

Also, seems unrelated, but the command git describe --tags --abbrev=0, used in the Makefile for other steps, always returns an error, fatal: No names found, cannot describe anything., as we can see in the logs. I did not do a shallow clone of the repo, I did a normal git clone. Running git fetch <remote> --tags and git tag --list always yields nothing. I think the repo does not have tags (which makes sense, given the empty releases and tags page), but the Makefile uses this command anyways.

Edit: Hey, I actually changed the network my computer was connected to and it worked! 😅😅😅 Sorry about that.