sameersbn / sameersbn/docker-gitlab
Compiling gitlab-shell golang executables Error
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 8.1k
- Forks
- 2.1k
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 7
Description
2 files inspected, no offenses detected
gofmt -s -l ./client/httpsclient_test.go ./client/gitlabnet.go ./client/httpclient_test.go ./client/client_test.go ./client/testserver/testserver.go ./client/testserver/gitalyserver.go ./client/httpclient.g o ./internal/handler/exec_test.go ./internal/handler/exec.go ./internal/keyline/key_line_test.go ./internal/keyline/key_line.go ./internal/gitlabnet/authorizedkeys/client.go ./internal/gitlabnet/authorizedk eys/client_test.go ./internal/gitlabnet/client.go ./internal/gitlabnet/accessverifier/client.go ./internal/gitlabnet/accessverifier/client_test.go ./internal/gitlabnet/healthcheck/client.go ./internal/gitla bnet/healthcheck/client_test.go ./internal/gitlabnet/lfsauthenticate/client.go ./internal/gitlabnet/lfsauthenticate/client_test.go ./internal/gitlabnet/discover/client.go ./internal/gitlabnet/discover/clien t_test.go ./internal/gitlabnet/twofactorrecover/client.go ./internal/gitlabnet/twofactorrecover/client_test.go ./internal/command/authorizedkeys/authorized_keys_test.go ./internal/command/authorizedkeys/aut horized_keys.go ./internal/command/command.go ./internal/command/uploadarchive/gitalycall.go ./internal/command/uploadarchive/gitalycall_test.go ./internal/command/uploadarchive/uploadarchive.go ./internal/ command/uploadarchive/uploadarchive_test.go ./internal/command/shared/disallowedcommand/disallowedcommand.go ./internal/command/shared/customaction/customaction.go ./internal/command/shared/customaction/cus tomaction_test.go ./internal/command/shared/accessverifier/accessverifier_test.go ./internal/command/shared/accessverifier/accessverifier.go ./internal/command/command_test.go ./internal/command/commandargs /command_args.go ./internal/command/commandargs/generic_args.go ./internal/command/commandargs/shell.go ./internal/command/commandargs/command_args_test.go ./internal/command/commandargs/authorized_keys.go ./internal/command/commandargs/authorized_principals.go ./internal/command/uploadpack/uploadpack_test.go ./internal/command/uploadpack/gitalycall.go ./internal/command/uploadpack/gitalycall_test.go ./intern al/command/uploadpack/uploadpack.go ./internal/command/healthcheck/healthcheck.go ./internal/command/healthcheck/healthcheck_test.go ./internal/command/receivepack/receivepack_test.go ./internal/command/rec eivepack/gitalycall.go ./internal/command/receivepack/gitalycall_test.go ./internal/command/receivepack/receivepack.go ./internal/command/lfsauthenticate/lfsauthenticate_test.go ./internal/command/lfsauthen ticate/lfsauthenticate.go ./internal/command/discover/discover.go ./internal/command/discover/discover_test.go ./internal/command/readwriter/readwriter.go ./internal/command/authorizedprincipals/authorized_ principals_test.go ./internal/command/authorizedprincipals/authorized_principals.go ./internal/command/twofactorrecover/twofactorrecover_test.go ./internal/command/twofactorrecover/twofactorrecover.go ./int ernal/config/config_test.go ./internal/config/config.go ./internal/pktline/pktline_test.go ./internal/pktline/pktline.go ./internal/testhelper/testhelper.go ./internal/testhelper/requesthandlers/requesthand lers.go ./internal/console/console.go ./internal/console/console_test.go ./internal/logger/logger.go ./internal/logger/logger_test.go ./internal/sshenv/sshenv_test.go ./internal/sshenv/sshenv.go ./internal/ executable/executable.go ./internal/executable/executable_test.go ./cmd/gitlab-shell-authorized-keys-check/main.go ./cmd/gitlab-shell-authorized-principals-check/main.go ./cmd/check/main.go ./cmd/gitlab-she ll/main.go
./internal/pktline/pktline_test.go
bin/install
mkdir -p /home/git/.ssh: OK
chmod 700 /home/git/.ssh: OK
GOBIN="/home/git/gitlab-shell/bin" go install ./cmd/...
go: github.com/mattn/go-shellwords@v0.0.0-20190425161501-2444a32a19f4: Get "https://proxy.golang.org/github.com/mattn/go-shellwords/@v/v0.0.0-20190425161501-2444a32a19f4.mod": dial tcp 216.58.200.49:443: i/ o timeout
make: *** [bin/gitlab-shell] Error 1
Makefile:32: recipe for target 'bin/gitlab-shell' failed
The command '/bin/sh -c bash ${GITLAB_BUILD_DIR}/install.sh' returned a non-zero code: 2
expected result:
compile gitlab-shell seccess
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with bin/install, install.sh, and the Makefile target that runs go install ./cmd/...; review how the build fetches github.com/mattn/go-shellwords. Reproduce the Docker build and determine whether the dependency-fetch failure is addressed; done means the gitlab-shell executables compile successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100