Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add release workflow #4

Closed
wants to merge 198 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
96a27b4
Add release workflow
blink1073 Jun 12, 2024
06081cf
try direct usage
blink1073 Jun 12, 2024
418f0e1
BUMP 2.1
mongodb-dbx-release-bot[bot] Jun 12, 2024
d86b856
BUMP 2.1
mongodb-dbx-release-bot[bot] Jun 12, 2024
9a10e2a
update version writer
blink1073 Jun 12, 2024
d51a906
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
3900356
reverse default
blink1073 Jun 12, 2024
b3308f5
BUMP 2.1.1
mongodb-dbx-release-bot[bot] Jun 12, 2024
f44cbdb
fix bump version
blink1073 Jun 12, 2024
7ab09bb
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
857567d
BUMP 2.1.3
mongodb-dbx-release-bot[bot] Jun 12, 2024
b84d2ac
fix file write
blink1073 Jun 12, 2024
f504796
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
93ddae7
BUMP 2.1.5
mongodb-dbx-release-bot[bot] Jun 12, 2024
dacad75
use following version
blink1073 Jun 12, 2024
30ce806
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
45ff6e9
BUMP 2.1.6
mongodb-dbx-release-bot[bot] Jun 12, 2024
531bd26
BUMP 2.2-prerelease
mongodb-dbx-release-bot[bot] Jun 12, 2024
93ea8be
add github release handling
blink1073 Jun 12, 2024
b5066dc
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
541317b
BUMP 2.1.6
mongodb-dbx-release-bot[bot] Jun 12, 2024
c97ce65
BUMP 2.1.7
mongodb-dbx-release-bot[bot] Jun 12, 2024
8262f49
fix handling of prev_version
blink1073 Jun 12, 2024
24463a3
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
99b9952
BUMP 2.1.8
mongodb-dbx-release-bot[bot] Jun 12, 2024
7148683
fix path
blink1073 Jun 12, 2024
2858cb3
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
069d04f
BUMP 2.1.9
mongodb-dbx-release-bot[bot] Jun 12, 2024
57ee9fd
add go mod
blink1073 Jun 12, 2024
72e7f1b
BUMP 2.1.10
mongodb-dbx-release-bot[bot] Jun 12, 2024
91662d4
make it generic
blink1073 Jun 12, 2024
31efd6e
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
47dfd0e
BUMP 2.1.11
mongodb-dbx-release-bot[bot] Jun 12, 2024
80a36f4
BUMP 2.1.12
mongodb-dbx-release-bot[bot] Jun 12, 2024
542a2de
fix output handling
blink1073 Jun 12, 2024
8335ab9
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
6cb9035
BUMP 2.11.13
mongodb-dbx-release-bot[bot] Jun 12, 2024
34f11ee
fix file names
blink1073 Jun 12, 2024
40fb913
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
5a3c791
BUMP 2.1.14
mongodb-dbx-release-bot[bot] Jun 12, 2024
84d4734
cleanup
blink1073 Jun 12, 2024
046ad45
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
b6ff336
BUMP 2.1.15
mongodb-dbx-release-bot[bot] Jun 12, 2024
c106a78
BUMP 2.2-prerelease
mongodb-dbx-release-bot[bot] Jun 12, 2024
ce6cca8
BUMP 2.1.16
mongodb-dbx-release-bot[bot] Jun 12, 2024
4a22f83
BUMP 2.2-prerelease
mongodb-dbx-release-bot[bot] Jun 12, 2024
ab5f027
cleanup
blink1073 Jun 12, 2024
1dce8c4
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
e7a9d62
BUMP 2.1.17
mongodb-dbx-release-bot[bot] Jun 12, 2024
32cf1f5
cleanup
blink1073 Jun 12, 2024
4436b7a
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
4d77502
BUMP 2.1.18
mongodb-dbx-release-bot[bot] Jun 12, 2024
af1ed60
cleanup
blink1073 Jun 12, 2024
31bfb36
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
e0ba689
BUMP 2.1.19
mongodb-dbx-release-bot[bot] Jun 12, 2024
1561b66
BUMP 2.2-prerelease
mongodb-dbx-release-bot[bot] Jun 12, 2024
1f79732
add reports
blink1073 Jun 12, 2024
b6f0b15
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
0b7216c
BUMP 2.1.20
mongodb-dbx-release-bot[bot] Jun 12, 2024
3a9691e
GODRIVER-3187 Add SBOM lite file (#1655)
blink1073 Jun 12, 2024
8e7824f
Merge branch 'v1' of github.com:mongodb/mongo-go-driver into release-…
blink1073 Jun 12, 2024
2c72526
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
0dcfade
BUMP 2.1.21
mongodb-dbx-release-bot[bot] Jun 12, 2024
506a02e
BUMP 2.1.22
mongodb-dbx-release-bot[bot] Jun 12, 2024
6fe6f4a
skip reports for now
blink1073 Jun 12, 2024
ec4df23
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
506e099
BUMP 2.1.23
mongodb-dbx-release-bot[bot] Jun 12, 2024
b1122fe
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 12, 2024
3afa2c3
fix dry run handling
blink1073 Jun 12, 2024
2caf69d
BUMP 2.1.24
mongodb-dbx-release-bot[bot] Jun 12, 2024
aefd09b
BUMP 2.2-prerelease
mongodb-dbx-release-bot[bot] Jun 12, 2024
1d06058
fix dry run handling
blink1073 Jun 12, 2024
8981d21
fix dry run handling
blink1073 Jun 12, 2024
1df2b10
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
2483452
BUMP 2.1.30
mongodb-dbx-release-bot[bot] Jun 12, 2024
da260b1
BUMP 2.2-prerelease
mongodb-dbx-release-bot[bot] Jun 12, 2024
762ca77
fix dry run handling
blink1073 Jun 12, 2024
098ee9b
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
98d2da8
BUMP 2.1.31
mongodb-dbx-release-bot[bot] Jun 12, 2024
de5f7fc
fix dry run handling
blink1073 Jun 12, 2024
dce1e89
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
eea6933
BUMP 2.1.32
mongodb-dbx-release-bot[bot] Jun 12, 2024
d84aea5
fix dry run handling
blink1073 Jun 12, 2024
910a70f
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
06fe19a
BUMP 2.1.33
mongodb-dbx-release-bot[bot] Jun 12, 2024
82354f8
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 12, 2024
786ea29
fix dry run handling
blink1073 Jun 12, 2024
bb24de8
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 12, 2024
bcb933d
BUMP 2.1.34
mongodb-dbx-release-bot[bot] Jun 12, 2024
a8b1667
BUMP 2.1.35
mongodb-dbx-release-bot[bot] Jun 12, 2024
30935d4
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 12, 2024
952aa4c
try sbom
blink1073 Jun 13, 2024
8d6525a
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 13, 2024
f6139d6
BUMP 2.11.14
mongodb-dbx-release-bot[bot] Jun 13, 2024
243362f
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 13, 2024
6e75330
GODRIVER-3245 Use a custom CodeQL workflow. (#1674)
matthewdale Jun 13, 2024
cef2efb
Merge branch 'v1' of github.com:mongodb/mongo-go-driver into release-…
blink1073 Jun 13, 2024
abeee07
add sarif
blink1073 Jun 13, 2024
5c354df
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 13, 2024
e617511
fix serif
blink1073 Jun 13, 2024
9925656
fix serif
blink1073 Jun 13, 2024
5dab1ba
BUMP 2.11.15
mongodb-dbx-release-bot[bot] Jun 13, 2024
b35155d
fix serif
blink1073 Jun 13, 2024
879ab3a
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 13, 2024
42b3100
BUMP 2.11.16
mongodb-dbx-release-bot[bot] Jun 13, 2024
a234da2
fix serif
blink1073 Jun 13, 2024
b8555f2
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 13, 2024
8ade79d
BUMP 2.11.17
mongodb-dbx-release-bot[bot] Jun 13, 2024
be9d886
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 13, 2024
d0898f8
use full-report
blink1073 Jun 13, 2024
fc81a2b
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 13, 2024
612188c
BUMP 2.11.18
mongodb-dbx-release-bot[bot] Jun 13, 2024
f0b4a82
BUMP 2.11.19
mongodb-dbx-release-bot[bot] Jun 13, 2024
19ada56
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 13, 2024
9d64f3e
BUMP 2.11.20
mongodb-dbx-release-bot[bot] Jun 13, 2024
deb2f7b
BUMP 2.11.21
mongodb-dbx-release-bot[bot] Jun 13, 2024
4f50218
BUMP 2.11.22
mongodb-dbx-release-bot[bot] Jun 13, 2024
3c4b578
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 13, 2024
b784fe8
BUMP 2.11.23
mongodb-dbx-release-bot[bot] Jun 13, 2024
7c88840
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 13, 2024
b2a7426
upload release assets
blink1073 Jun 14, 2024
218d1c9
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 14, 2024
fb39da8
GODRIVER-2667 Replacing the assert.Soon with the assert.Eventually fu…
timothy-kim-mongo Jun 14, 2024
68a3670
use upstream actions
blink1073 Jun 16, 2024
d40212f
BUMP 2.11.24
mongodb-dbx-release-bot[bot] Jun 16, 2024
693dda9
fix version
blink1073 Jun 16, 2024
ca67a9b
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 16, 2024
4eaef0a
BUMP 2.1.25
mongodb-dbx-release-bot[bot] Jun 16, 2024
710329d
fix inputs
blink1073 Jun 16, 2024
2a8e5c5
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 16, 2024
1875c86
BUMP 2.1.26
mongodb-dbx-release-bot[bot] Jun 16, 2024
4d663ba
BUMP 2.1.27
mongodb-dbx-release-bot[bot] Jun 16, 2024
e12bd8d
BUMP 2.1.28
mongodb-dbx-release-bot[bot] Jun 16, 2024
6263683
BUMP 2.1.29
mongodb-dbx-release-bot[bot] Jun 16, 2024
fe197cd
BUMP 2.1.30
mongodb-dbx-release-bot[bot] Jun 16, 2024
e56c3cd
clean up silk_asset_group_handling
blink1073 Jun 16, 2024
2402b6a
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 16, 2024
3b63889
BUMP 2.1.31
mongodb-dbx-release-bot[bot] Jun 16, 2024
2eab0fb
BUMP 2.1.36
mongodb-dbx-release-bot[bot] Jun 16, 2024
8633583
BUMP 2.1.37
mongodb-dbx-release-bot[bot] Jun 16, 2024
7ce21b0
BUMP 2.1.38
mongodb-dbx-release-bot[bot] Jun 16, 2024
69ad850
BUMP 2.1.39
mongodb-dbx-release-bot[bot] Jun 16, 2024
f7ed68b
BUMP 2.1.40
mongodb-dbx-release-bot[bot] Jun 16, 2024
77ea545
BUMP 2.1.41
mongodb-dbx-release-bot[bot] Jun 16, 2024
0564ca8
pass following_version
blink1073 Jun 16, 2024
3739ccf
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 16, 2024
95d52e1
BUMP 2.1.42
mongodb-dbx-release-bot[bot] Jun 16, 2024
aca5cc7
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 16, 2024
1fbf92c
set artifactory username
blink1073 Jun 16, 2024
c1eeb5f
use fork
blink1073 Jun 16, 2024
320f3c0
fix fork
blink1073 Jun 16, 2024
5331665
fix fork
blink1073 Jun 16, 2024
9cc73a6
fix fork
blink1073 Jun 16, 2024
1c0e086
BUMP 2.1.45
mongodb-dbx-release-bot[bot] Jun 16, 2024
051b219
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 16, 2024
5830b61
use full-report for setup
blink1073 Jun 16, 2024
2ed2f8a
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 16, 2024
7c18afb
BUMP 2.1.46
mongodb-dbx-release-bot[bot] Jun 16, 2024
9002774
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 16, 2024
ab0aab6
BUMP 2.1.47
mongodb-dbx-release-bot[bot] Jun 16, 2024
84e46fe
BUMP 2.2-pre
mongodb-dbx-release-bot[bot] Jun 16, 2024
810f771
fix version handling
blink1073 Jun 16, 2024
3716bb2
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 16, 2024
96f2bcf
BUMP 2.1.48
mongodb-dbx-release-bot[bot] Jun 16, 2024
1f5f1db
BUMP v2.1.49
mongodb-dbx-release-bot[bot] Jun 16, 2024
3a6bf6f
BUMP v2.1.50
mongodb-dbx-release-bot[bot] Jun 16, 2024
e0c7fcb
BUMP v2.1.51
mongodb-dbx-release-bot[bot] Jun 16, 2024
9076dbc
BUMP v2.1.52
mongodb-dbx-release-bot[bot] Jun 16, 2024
64b2ad1
BUMP v2.1.53
mongodb-dbx-release-bot[bot] Jun 16, 2024
218c051
BUMP v2.1.54
mongodb-dbx-release-bot[bot] Jun 16, 2024
78b8f8d
BUMP v2.1.55
mongodb-dbx-release-bot[bot] Jun 16, 2024
caed056
BUMP v2.1.56
mongodb-dbx-release-bot[bot] Jun 16, 2024
8b7ca50
BUMP v2.1.57
mongodb-dbx-release-bot[bot] Jun 16, 2024
b167c05
BUMP v2.1.58
mongodb-dbx-release-bot[bot] Jun 17, 2024
9e6b975
use v2
blink1073 Jun 17, 2024
0344ccc
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 17, 2024
4a54093
update repo
blink1073 Jun 17, 2024
8cc3640
BUMP v2.1.59
mongodb-dbx-release-bot[bot] Jun 17, 2024
82efb0f
BUMP v2.1.60
mongodb-dbx-release-bot[bot] Jun 17, 2024
2f67c09
add evg-project
blink1073 Jun 25, 2024
f1428d3
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 25, 2024
7f304f9
use github ref for static scan
blink1073 Jun 25, 2024
3fb9689
BUMP v2.1.57
mongodb-dbx-release-bot[bot] Jun 25, 2024
a4859af
BUMP v2.1.60
mongodb-dbx-release-bot[bot] Jun 25, 2024
083a6ad
BUMP v2.2.1
mongodb-dbx-release-bot[bot] Jun 25, 2024
6f53989
BUMP v2.2.2
mongodb-dbx-release-bot[bot] Jun 25, 2024
b5f58fb
pass evergreen project
blink1073 Jun 25, 2024
9868b53
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 25, 2024
2826fd3
BUMP v2.2.3
mongodb-dbx-release-bot[bot] Jun 25, 2024
d43da19
GODRIVER-3257 Update client.go (#1681)
anandkumarjha54321 Jun 25, 2024
4209f6b
use upstream
blink1073 Jun 26, 2024
af89177
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 26, 2024
5f6bab6
BUMP v2.2.4
mongodb-dbx-release-bot[bot] Jun 26, 2024
1e9a0ef
fix upstream
blink1073 Jun 26, 2024
760d313
Merge branch 'release-action' of github.com:blink1073/mongo-go-driver…
blink1073 Jun 26, 2024
607edb6
BUMP v2.2.5
mongodb-dbx-release-bot[bot] Jun 26, 2024
7966d83
restore version
blink1073 Jun 26, 2024
beb6e20
Merge branch 'v1' into release-action
blink1073 Jun 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: "CodeQL"

on:
push:
branches: [ "v1", "cloud-*", "master", "release/*" ]
pull_request:
branches: [ "v1", "cloud-*", "master", "release/*" ]
schedule:
- cron: '36 17 * * 0'
workflow_call:
inputs:
ref:
required: true
type: string

jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
# required for all workflows
security-events: write

strategy:
fail-fast: false
matrix:
include:
- language: go
build-mode: manual

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}

- if: matrix.build-mode == 'manual'
shell: bash
run: |
make build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
88 changes: 88 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Release

on:
workflow_dispatch:
inputs:
version:
description: "The new version to set"
required: true
prev_version:
description: "The previous tagged version"
required: true
push_changes:
description: "Push changes?"
default: true
type: boolean

defaults:
run:
shell: bash -eux {0}

env:
# Changes per branch
SILK_ASSET_GROUP: mongodb-go-driver-v1
EVERGREEN_PROJECT: mongo-go-driver-v1

jobs:
pre-publish:
environment: release
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
outputs:
prev_version: ${{ steps.pre-publish.outputs.prev_version }}
steps:
- uses: mongodb-labs/drivers-github-tools/secure-checkout@v2
with:
app_id: ${{ vars.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: mongodb-labs/drivers-github-tools/setup@v2
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
aws_region_name: ${{ vars.AWS_REGION_NAME }}
aws_secret_id: ${{ secrets.AWS_SECRET_ID }}
artifactory_username: ${{ vars.ARTIFACTORY_USERNAME }}
- name: Pre Publish
id: pre-publish
uses: mongodb-labs/drivers-github-tools/golang/pre-publish@v2
with:
version: ${{ inputs.version }}
push_changes: ${{ inputs.push_changes }}

static-scan:
needs: [pre-publish]
permissions:
security-events: write
uses: ./.github/workflows/codeql.yml
with:
ref: ${{ github.ref }}

publish:
needs: [pre-publish, static-scan]
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
contents: write
security-events: read
steps:
- uses: mongodb-labs/drivers-github-tools/secure-checkout@v2
with:
app_id: ${{ vars.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: mongodb-labs/drivers-github-tools/setup@v2
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
aws_region_name: ${{ vars.AWS_REGION_NAME }}
aws_secret_id: ${{ secrets.AWS_SECRET_ID }}
artifactory_username: ${{ vars.ARTIFACTORY_USERNAME }}
- name: Publish
uses: mongodb-labs/drivers-github-tools/golang/publish@v2
with:
version: ${{ inputs.version }}
silk_asset_group: ${{ env.SILK_ASSET_GROUP }}
evergreen_project: ${{ env.EVERGREEN_PROJECT }}
prev_version: ${{ inputs.prev_version }}
push_changes: ${{ inputs.push_changes }}
token: ${{ env.GH_TOKEN }}
8 changes: 4 additions & 4 deletions internal/test/compilecheck/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ replace go.mongodb.org/mongo-driver => ../../../
require go.mongodb.org/mongo-driver v1.11.7

require (
github.com/golang/snappy v0.0.1 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/klauspost/compress v1.13.6 // indirect
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
github.com/montanaflynn/stats v0.7.1 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
github.com/xdg-go/stringprep v1.0.4 // indirect
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/crypto v0.22.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/text v0.14.0 // indirect
)
19 changes: 9 additions & 10 deletions internal/test/compilecheck/go.sum
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4=
github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/go-cmp v0.5.2 h1:X2ev0eStA3AbceY54o37/0PQ/UWqKEiiO2dKL5OPaFM=
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/klauspost/compress v1.13.6 h1:P76CopJELS0TiO2mebmnzgWaajssP/EszplttgQxcgc=
github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe h1:iruDEfMl2E6fbMZ9s0scYfZQ84/6SPL6zC8ACM2oIL0=
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
github.com/montanaflynn/stats v0.7.1 h1:etflOAAHORrCC44V+aR6Ftzort912ZU+YLiSTuV8eaE=
github.com/montanaflynn/stats v0.7.1/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow=
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=
github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI=
github.com/xdg-go/scram v1.1.2 h1:FHX5I5B4i4hKRVRBCFRxq1iQRej7WO3hhBuJf+UUySY=
Expand All @@ -17,16 +17,16 @@ github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7Jul
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k=
golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30=
golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Expand All @@ -44,4 +44,3 @@ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGm
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
4 changes: 0 additions & 4 deletions mongo/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,6 @@ func NewClient(opts ...*options.ClientOptions) (*Client, error) {
clientOpt.SetMaxPoolSize(defaultMaxPoolSize)
}

if err != nil {
return nil, err
}

cfg, err := topology.NewConfig(clientOpt, client.clock)
if err != nil {
return nil, err
Expand Down
Loading
Loading