Updated to use hashicorps cookie from other provides; removes need for encrypted local copy

This commit is contained in:
Gavin Bunney
2019-11-20 23:35:42 -08:00
parent 085799c9a8
commit 19a74f0b1a
4 changed files with 8 additions and 4 deletions

1
.gitignore vendored
View File

@@ -30,7 +30,6 @@ website/vendor
!command/test-fixtures/**/*.tfstate
!command/test-fixtures/**/.terraform/
scripts/gogetcookie.sh
docker-compose
docker-compose-test-plugin.jar
node_modules/

View File

@@ -9,9 +9,6 @@ dist: xenial
env:
- GOPROXY=https://gocenter.io
before_install:
- openssl aes-256-cbc -K $encrypted_e04f3cf0cf2c_key -iv $encrypted_e04f3cf0cf2c_iv -in scripts/gogetcookie.sh.enc -out scripts/gogetcookie.sh -d
install:
- bash scripts/gogetcookie.sh

8
scripts/gogetcookie.sh Executable file
View File

@@ -0,0 +1,8 @@
touch ~/.gitcookies
chmod 0600 ~/.gitcookies
git config --global http.cookiefile ~/.gitcookies
tr , \\t <<\__END__ >>~/.gitcookies
go.googlesource.com,FALSE,/,TRUE,2147483647,o,git-admin.hashicorptest.com=1/5dMSZVNdQscVq3on5V38iBrG9sP2TYRlbj3TDMJHKEvoBxl_QW-zl-L7a8lk-FU-
__END__

Binary file not shown.