Update mongodb atlas plugin version (#11956)
* Update mongodb atlas plugin version * go.mod was missing mongodbatlas plugin * add changelog * update build-go-dev circle ci job GOPROXY * Revert "update build-go-dev circle ci job GOPROXY" This reverts commit 0e6f339c779dac65ecb036735199f72d3d9e6a4a. * ci: more complete go mod cache * ci: doc use of go list ./... to populate mod cache Co-authored-by: Sam Salisbury <samsalisbury@gmail.com>
This commit is contained in:
parent
159272db7f
commit
aa6afd50f6
|
@ -740,7 +740,7 @@ jobs:
|
|||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1.2-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
- v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
name: Restore exact go modules cache
|
||||
- attach_workspace:
|
||||
at: .
|
||||
|
@ -892,7 +892,7 @@ jobs:
|
|||
- go-test-cache-date-v1-{{ checksum "/tmp/go-cache-key" }}
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1.2-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
- v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
name: Restore exact go modules cache
|
||||
- run:
|
||||
command: |
|
||||
|
@ -1149,7 +1149,7 @@ jobs:
|
|||
- go-test-cache-date-v1-{{ checksum "/tmp/go-cache-key" }}
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1.2-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
- v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
name: Restore exact go modules cache
|
||||
- run:
|
||||
command: |
|
||||
|
@ -1656,7 +1656,7 @@ jobs:
|
|||
- go-test-cache-date-v1-{{ checksum "/tmp/go-cache-key" }}
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1.2-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
- v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
name: Restore exact go modules cache
|
||||
- run:
|
||||
command: |
|
||||
|
@ -2238,12 +2238,16 @@ jobs:
|
|||
git config --global url."git@github.com:".insteadOf https://github.com/
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1.2-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
- v1.2-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}
|
||||
- v1.2-{{checksum "go.sum"}}
|
||||
- v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
- v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}
|
||||
- v1.3-{{checksum "go.sum"}}
|
||||
name: Restore closest matching go modules cache
|
||||
- run:
|
||||
command: |
|
||||
# go list ./... forces downloading some additional versions of modules that 'go mod
|
||||
# download' misses. We need this because we make use of go list itself during
|
||||
# code generation in later builds that rely on this module cache.
|
||||
go list ./...
|
||||
go mod download -json
|
||||
( cd sdk && go mod download -json; )
|
||||
( cd api && go mod download -json; )
|
||||
|
@ -2256,7 +2260,7 @@ jobs:
|
|||
}
|
||||
name: Verify downloading modules did not modify any files
|
||||
- save_cache:
|
||||
key: v1.2-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
key: v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
name: Save go modules cache
|
||||
paths:
|
||||
- /go/pkg/mod
|
||||
|
@ -2302,7 +2306,7 @@ jobs:
|
|||
- go-test-cache-date-v1-{{ checksum "/tmp/go-cache-key" }}
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1.2-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
- v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
name: Restore exact go modules cache
|
||||
- run:
|
||||
command: |
|
||||
|
|
|
@ -17,9 +17,9 @@ restore_go_mod_cache_permissive:
|
|||
- restore_cache:
|
||||
name: Restore closest matching go modules cache
|
||||
keys:
|
||||
- &gocachekey v1.2-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
- v1.2-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}
|
||||
- v1.2-{{checksum "go.sum"}}
|
||||
- &gocachekey v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}}
|
||||
- v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}
|
||||
- v1.3-{{checksum "go.sum"}}
|
||||
restore_go_mod_cache:
|
||||
steps:
|
||||
- restore_cache:
|
||||
|
@ -39,6 +39,10 @@ refresh_go_mod_cache:
|
|||
- run:
|
||||
name: go mod download
|
||||
command: |
|
||||
# go list ./... forces downloading some additional versions of modules that 'go mod
|
||||
# download' misses. We need this because we make use of go list itself during
|
||||
# code generation in later builds that rely on this module cache.
|
||||
go list ./...
|
||||
go mod download -json
|
||||
( cd sdk && go mod download -json; )
|
||||
( cd api && go mod download -json; )
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
```release-note:feature
|
||||
secrets/database/mongodbatlas: Add ability to customize dynamic usernames
|
||||
```
|
2
go.mod
2
go.mod
|
@ -92,7 +92,7 @@ require (
|
|||
github.com/hashicorp/vault-plugin-auth-oci v0.7.0
|
||||
github.com/hashicorp/vault-plugin-database-couchbase v0.3.0
|
||||
github.com/hashicorp/vault-plugin-database-elasticsearch v0.8.0
|
||||
github.com/hashicorp/vault-plugin-database-mongodbatlas v0.3.0
|
||||
github.com/hashicorp/vault-plugin-database-mongodbatlas v0.4.0
|
||||
github.com/hashicorp/vault-plugin-database-snowflake v0.1.1
|
||||
github.com/hashicorp/vault-plugin-mock v0.16.1
|
||||
github.com/hashicorp/vault-plugin-secrets-ad v0.10.0
|
||||
|
|
4
go.sum
4
go.sum
|
@ -705,8 +705,8 @@ github.com/hashicorp/vault-plugin-database-couchbase v0.3.0 h1:C3Lfwr7xtdhOTnOf+
|
|||
github.com/hashicorp/vault-plugin-database-couchbase v0.3.0/go.mod h1:Seivjno/BOtkqX41d/DDYtTg6zNoxIgNaUVZ3ObZYi4=
|
||||
github.com/hashicorp/vault-plugin-database-elasticsearch v0.8.0 h1:c9/fwjJf9XjXSM8WzCKL2fco4jyAudUSM9QIY4hY+5M=
|
||||
github.com/hashicorp/vault-plugin-database-elasticsearch v0.8.0/go.mod h1:QiQnpM6tI8LqIO+XfI/5AddV7d9cT1DhhOekLV2+AKY=
|
||||
github.com/hashicorp/vault-plugin-database-mongodbatlas v0.3.0 h1:qSTM0f71zhyYILdw2HiVw5zUumC+5QeI0F2vzDJvcUY=
|
||||
github.com/hashicorp/vault-plugin-database-mongodbatlas v0.3.0/go.mod h1:ewrdsH4iFG5TGZu7euYf4BCzLl+hoFkaKaOGuF0UcjI=
|
||||
github.com/hashicorp/vault-plugin-database-mongodbatlas v0.4.0 h1:baCsn+MRffmcqkOf3p6Fh0fvw2llXl63Ts4Fl14Vn3A=
|
||||
github.com/hashicorp/vault-plugin-database-mongodbatlas v0.4.0/go.mod h1:ESNBxY0kbC8fZhyfYo0JcIwL4piI5+IZAHvnByceRoY=
|
||||
github.com/hashicorp/vault-plugin-database-snowflake v0.1.1 h1:QKNjvd1GuI69u7ZLNTnvZ2LoBg9ENX7C/U+sgH40QBU=
|
||||
github.com/hashicorp/vault-plugin-database-snowflake v0.1.1/go.mod h1:gUfFbYrFFxITKxeLJe2IHPnNkmSG5ldVF1OOxp1WW3c=
|
||||
github.com/hashicorp/vault-plugin-mock v0.16.1 h1:5QQvSUHxDjEEbrd2REOeacqyJnCLPD51IQzy71hx8P0=
|
||||
|
|
Loading…
Reference in New Issue