kubernetes / sample-controller

Repository for sample controller. Complements sample-apiserver
Apache License 2.0
3.14k stars 1.08k forks source link

godep restore failed #58

Closed zhcf closed 4 years ago

zhcf commented 5 years ago

run godep restore failed for downloading the cznic code, for gitlab, the git clone should have the suffix.git, like this git clone https://gitlab.com/cznic/cc.git

[root@localhost sample-controller]# godep restore cd .; git clone https://gitlab.com/cznic/cc /root/go/src/modernc.org/cc Cloning into '/root/go/src/modernc.org/cc'... error: RPC failed; result=22, HTTP code = 404 fatal: The remote end hung up unexpectedly godep: error downloading dep (modernc.org/cc): exit status 128 cd .; git clone https://gitlab.com/cznic/golex /root/go/src/modernc.org/golex Cloning into '/root/go/src/modernc.org/golex'... error: RPC failed; result=22, HTTP code = 404 fatal: The remote end hung up unexpectedly godep: error downloading dep (modernc.org/golex): exit status 128 cd .; git clone https://gitlab.com/cznic/mathutil /root/go/src/modernc.org/mathutil Cloning into '/root/go/src/modernc.org/mathutil'... error: RPC failed; result=22, HTTP code = 404 fatal: The remote end hung up unexpectedly godep: error downloading dep (modernc.org/mathutil): exit status 128 cd .; git clone https://gitlab.com/cznic/strutil /root/go/src/modernc.org/strutil Cloning into '/root/go/src/modernc.org/strutil'... error: RPC failed; result=22, HTTP code = 404 fatal: The remote end hung up unexpectedly godep: error downloading dep (modernc.org/strutil): exit status 128 cd .; git clone https://gitlab.com/cznic/xc /root/go/src/modernc.org/xc Cloning into '/root/go/src/modernc.org/xc'... error: RPC failed; result=22, HTTP code = 404 fatal: The remote end hung up unexpectedly godep: error downloading dep (modernc.org/xc): exit status 128 godep: Error downloading some deps. Aborting restore and check.

zhcf commented 5 years ago

refer below doc, you can build the controller success. https://itnext.io/building-an-operator-for-kubernetes-with-the-sample-controller-b4204be9ad56

fejta-bot commented 4 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot commented 4 years ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten

fejta-bot commented 4 years ago

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close

k8s-ci-robot commented 4 years ago

@fejta-bot: Closing this issue.

In response to [this](https://github.com/kubernetes/sample-controller/issues/58#issuecomment-569472583): >Rotten issues close after 30d of inactivity. >Reopen the issue with `/reopen`. >Mark the issue as fresh with `/remove-lifecycle rotten`. > >Send feedback to sig-testing, kubernetes/test-infra and/or [fejta](https://github.com/fejta). >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.