Bypass "bandwidth limit exceeded" errors when cloning from googlesource

cf. golang/go#12933
This commit is contained in:
Matthew Holt 2016-03-21 12:05:16 -06:00
parent f23d8cb37f
commit 27f9b58c5d
2 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,15 @@ go:
env:
- CGO_ENABLED=0
before_install:
# Decrypts a script that installs an authenticated cookie
# for git to use when cloning from googlesource.com.
# Bypasses "bandwidth limit exceeded" errors.
# See github.com/golang/go/issues/12933
- openssl aes-256-cbc -K $encrypted_3df18f9af81d_key -iv $encrypted_3df18f9af81d_iv -in dist/gitcookie.sh.enc -out dist/gitcookie.sh -d
install:
- bash dist/gitcookie.sh
- go get -t ./...
- go get golang.org/x/tools/cmd/vet

3
dist/gitcookie.sh.enc vendored Normal file
View File

@ -0,0 +1,3 @@
 Íă#劕-óš˘ ¶DÂórź<72>}`ç:ď,0î@9˛pźK8äZ°Ź“ ËŽVm0^B%ĽŐ¬·ť@©ă9Ć]ßl†Đź)8ł"Z<>Ö_šžµÍ:g÷Í7v]Ľ7#`޸'ŢľďŢ…ęǦB9Ŕôz^<5E>'5ź\*»ÇN
ĺkŹ~ť=€ w^$Ş<08>řß-DĐŇŔf(Ć*°ÓCďdś<13>/u˘ńk¦ ű_•ŕövM Ëç˙ńU+ÍđLďĽgJ<67>#[Ż]
˘.wQ/Ů«€B‡ŕ\áB‰Ji'"v{ÂÁćšy)x·ż¨<C5BC>\đâđŹ8Äě'2°ë ą<05>«ta<11>}ż<><†G7Gb I0o~Rź¨¬Ć)O