mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucketserver.git
synced 2026-01-11 22:41:45 +01:00
Updated to use hashicorps cookie from other provides; removes need for encrypted local copy
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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/
|
||||
|
||||
@@ -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
8
scripts/gogetcookie.sh
Executable 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.
Reference in New Issue
Block a user