Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
3639bee
Use RetryReader when reading from Azure
DanielOliverRJ Aug 13, 2025
d2a5ed6
Accept suggestion from Copilot
DanielOliverRJ Aug 22, 2025
32249f9
feat: initialize oss client
imrenagi Aug 2, 2025
bd12099
feat: implement FileStat method for OSS storage
imrenagi Aug 3, 2025
6249fdd
feat: implement Delete method for OSS storage
imrenagi Aug 3, 2025
3a23edd
feat: add support for OSS storage type in ParseType function
imrenagi Aug 3, 2025
2261920
feat: add function List
heryheming Aug 15, 2025
7301e2c
fix: Update configureClient
heryheming Aug 18, 2025
296a2d3
feat: implement the remaining storage function for oss
imrenagi Aug 18, 2025
5c9ad81
refactor(PBM-1588): move default part size constants to client.go
imrenagi Aug 18, 2025
3b299a2
fix: add missing cast for oss
imrenagi Aug 19, 2025
710853e
feat: add OSS credential masking and clone method for Config
imrenagi Aug 19, 2025
4b17827
fix: update ConnectTimeout type to time.Duration and set default value
imrenagi Aug 19, 2025
16ca10f
fix: use multipart upload and copy for upload
imrenagi Aug 19, 2025
b06b123
fix: update part size parameters in OSS Save method
imrenagi Aug 19, 2025
723d4b9
chore: add unit tests for ComputePartSize function
imrenagi Aug 19, 2025
15477ff
fix: remove redundant path.Join call in Delete method and correct com…
imrenagi Aug 19, 2025
6acd6a3
feat: add server-side encryption support and update upload part size …
imrenagi Aug 27, 2025
aec66c4
feat: Prevent SEGFAULT in Cast operations
Gu1nness Sep 18, 2025
a1d2518
Merge branch 'dev' into PBM-1588-alicloud-oss
imrenagi Sep 24, 2025
b7f5927
fix: implement missing storage method
imrenagi Sep 24, 2025
311ba91
feat: use NewSplitMergeMW
imrenagi Sep 24, 2025
412b287
Merge pull request #1201 from percona/main
sandraromanchenko Sep 25, 2025
e4ab7e5
Bump default PSMDB ver 6.0->8.0
boris-ilijic Sep 26, 2025
9eede55
Update default PSMDB in CONTRIBUTING.md
boris-ilijic Sep 26, 2025
ac3ad48
Move GCS endpoint from S3 to GCS package
boris-ilijic Sep 26, 2025
f5eb4f2
Add minio storage type constant
boris-ilijic Sep 26, 2025
38c3369
Remove Provider from S3 Config
boris-ilijic Sep 26, 2025
6788bf5
fix: resolve review comments
imrenagi Sep 29, 2025
8667b86
fix: call FileStat before deleting file
imrenagi Sep 29, 2025
fb43864
fix: change incorrect default var name
imrenagi Sep 29, 2025
44967fe
Merge branch 'dev' into PBM-1588-alicloud-oss
boris-ilijic Sep 29, 2025
000144a
Merge pull request #1178 from imrenagi/PBM-1588-alicloud-oss
boris-ilijic Sep 29, 2025
8a28acb
Merge pull request #1202 from percona/bumb-pbsmd-ver-for-e2e
boris-ilijic Sep 29, 2025
3c1aeae
Add minio storage
boris-ilijic Sep 29, 2025
5f32198
Merge remote-tracking branch 'origin/dev' into PBM-1618-minio-storage…
boris-ilijic Sep 29, 2025
859a8de
Add go-cmp dependency
boris-ilijic Sep 29, 2025
dec28b9
Add minio config required methods
boris-ilijic Sep 29, 2025
9ab4a05
Add minio storage config within pbm config
boris-ilijic Sep 30, 2025
e6b6557
Wire up minio storage with storage factory
boris-ilijic Sep 30, 2025
af47140
Enable minio storage tests
boris-ilijic Sep 30, 2025
e88f00f
Fix minio storage issues
boris-ilijic Oct 1, 2025
7f0ce90
Expand pbm logger to support custom loggers
boris-ilijic Oct 1, 2025
2a7e734
Expand minio config with debugTrace option
boris-ilijic Oct 1, 2025
460b160
Remove MinRetryDelay & maxRetryDelay
boris-ilijic Oct 1, 2025
d081a3a
Fix review comments
boris-ilijic Oct 1, 2025
e37c381
Add reference config for minio storage
boris-ilijic Oct 1, 2025
8d4573c
Add region when displaying storage info
boris-ilijic Oct 2, 2025
dff8e0e
Fix review suggestions
boris-ilijic Oct 2, 2025
8bdddda
Rename chunkSize with partSize for minio storage
boris-ilijic Oct 2, 2025
b0bc8ab
Add insecureSkipTLSVerify config opt for minio
boris-ilijic Oct 2, 2025
529eb1a
Rename endpointUrl -> endpoint and fix typos
boris-ilijic Oct 3, 2025
36dee10
Add forcePathStyle config option for Minio storage
boris-ilijic Oct 3, 2025
4df0ee6
Make gcsEndpointURL private
boris-ilijic Oct 3, 2025
dd3d3ff
Cleanup config reference doc
boris-ilijic Oct 3, 2025
28612ab
Merge pull request #1203 from percona/PBM-1618-minio-storage-type
boris-ilijic Oct 3, 2025
8b174f9
PBM-1321 - pbm log says "waiting for the oplog" when it's actually wa…
igroene Oct 6, 2025
f225781
PBM_e2e_tests. Remove HMAC and add MinIO storage type with AWS bucket
sandraromanchenko Oct 6, 2025
16ceda5
Merge pull request #1205 from percona/pbm_minio
sandraromanchenko Oct 6, 2025
547878c
Merge remote-tracking branch 'upstream/dev' into fix/dont-null-pointe…
Gu1nness Oct 8, 2025
edb25ba
fix: integrate review commentsé
Gu1nness Oct 8, 2025
753d11d
fix: final punctuation error
Gu1nness Oct 8, 2025
fc11f69
Merge pull request #1197 from Gu1nness/fix/dont-null-pointer-exception
boris-ilijic Oct 8, 2025
1367ad5
Add guards in storage config for minio and oss
boris-ilijic Oct 8, 2025
c3a35a0
Update pbm/storage/mio/config_test.go
boris-ilijic Oct 8, 2025
68bf433
Add CRC check when uploading to GCS with HMAC
boris-ilijic Oct 8, 2025
92bfb82
Merge pull request #1206 from percona/PBM-1619-fix-sigsegv-for-minio-…
boris-ilijic Oct 8, 2025
3161a31
Add tests for provoke GCS upload inconsistent issue
boris-ilijic Oct 9, 2025
3e10ed2
PBM_e2e_tests. Return HMAC for tests
sandraromanchenko Oct 9, 2025
e5441de
Log CRC in case of invalid upload for GCS HMAC
boris-ilijic Oct 9, 2025
d4677b1
Merge pull request #1207 from percona/PBM-1605-fix-incomplete-backups…
boris-ilijic Oct 9, 2025
90a512f
Merge branch 'dev' into pbm_e2e_test
sandraromanchenko Oct 9, 2025
f5fcc1f
Merge pull request #1208 from percona/pbm_e2e_test
sandraromanchenko Oct 9, 2025
e11316d
Merge pull request #1177 from ripjar/LS-20087
boris-ilijic Oct 10, 2025
1d6daf8
Cleanup existing Azure logic
boris-ilijic Oct 10, 2025
a04f9bb
Remove creation logic for non-existing container
boris-ilijic Oct 13, 2025
18eb1ae
Extract Azure config
boris-ilijic Oct 13, 2025
d595884
Add Retryer for Azure storage
boris-ilijic Oct 13, 2025
413ede9
Add Azure config methods and tests
boris-ilijic Oct 14, 2025
fd2ca00
Add configuration reference for Azure retryer
boris-ilijic Oct 14, 2025
ce5d695
Merge pull request #1209 from percona/PBM-1093-azure-improvements
boris-ilijic Oct 16, 2025
f3fac58
Bench for upload perf tests for S3 vs Minio client
boris-ilijic Oct 15, 2025
8724d6b
Add bench for minio storage Save
boris-ilijic Oct 16, 2025
1a13d0f
Add bench for S3 storage Save
boris-ilijic Oct 17, 2025
bc8f477
Add bench for List and FileStat for S3 & Minio
boris-ilijic Oct 20, 2025
725e716
Add benchmark description for storage functions
boris-ilijic Oct 21, 2025
b7ddb15
Fix log msg while cleaning up storage after failed backup
boris-ilijic Oct 21, 2025
0e5bd63
Improve logging msg when fetching pbm file parts
boris-ilijic Oct 21, 2025
445bfe9
PBM use pytest-shard for better parallelization, drop 6.0 support (#1…
olexandr-havryliak Oct 22, 2025
6fc6cba
Merge pull request #1210 from percona/PBM-1637-minio-upload-bench
boris-ilijic Oct 22, 2025
f70b950
Merge branch 'dev' into PBM-1607-rm-leftover
boris-ilijic Oct 22, 2025
31ebe7a
Merge pull request #1213 from percona/PBM-1607-rm-leftover
boris-ilijic Oct 23, 2025
e4263ab
Bump testcontainers dependency
boris-ilijic Oct 23, 2025
0f6c7c9
Add config --set option for time.Duration
boris-ilijic Oct 23, 2025
d6c177d
Add MaxAttempts retrier option for GCS
boris-ilijic Oct 24, 2025
5d31219
Extrace GCS config into the file
boris-ilijic Oct 24, 2025
fd9543f
Rename opts -> cfg when Config is referenced
boris-ilijic Oct 24, 2025
19484b7
Expose chunkRetryDeadline in GCS config
boris-ilijic Oct 24, 2025
d98685f
Add tests for new GCS params
boris-ilijic Oct 24, 2025
0c3b1f1
Set dafalut for GCS storage config params
boris-ilijic Oct 24, 2025
c43e464
Apply changes after review
boris-ilijic Oct 24, 2025
8fd3f4d
Update GCS config reference example
boris-ilijic Oct 24, 2025
d2d27ac
Merge pull request #1214 from percona/PBM-1627-gcs-config-improvements
boris-ilijic Oct 27, 2025
4b81f7f
Extend GCS retryable error list
boris-ilijic Oct 27, 2025
f308e06
Merge pull request #1215 from percona/PBM-1628-gcs-extend-retryable-e…
boris-ilijic Oct 27, 2025
550a23c
Add OSS storage type info for `pbm status` cmd
boris-ilijic Oct 27, 2025
331b8bf
Add IsSameStorage method for OSS storage
boris-ilijic Oct 28, 2025
891251c
Fix storage type reporting for OSS storage
boris-ilijic Oct 28, 2025
5f169f7
Update doc for IsSameStorage for OSS
boris-ilijic Oct 28, 2025
dba3475
Merge pull request #1216 from percona/PBM-1588-alibaba-fixes-after-qa
boris-ilijic Oct 28, 2025
715b159
Obfuscate OSS storage roleArn and sessionName
boris-ilijic Oct 28, 2025
1039245
Merge pull request #1217 from percona/PBM-1651-oss-hide-arn-session
boris-ilijic Oct 29, 2025
a749501
PBM_e2e_tests. Add OSS for tests (#1218)
sandraromanchenko Oct 29, 2025
7f3c4be
Add debugTrace cfg option for GCS
boris-ilijic Oct 29, 2025
a570955
Add storage.gcs.debugTrace help reference
boris-ilijic Oct 29, 2025
a396766
Merge branch 'dev' into PBM-1608-gcs-debug-log-levels
boris-ilijic Oct 29, 2025
8bc9bd1
Merge pull request #1220 from percona/PBM-1608-gcs-debug-log-levels
boris-ilijic Oct 30, 2025
4ecddf7
PBM. Bump version (#1219)
sandraromanchenko Oct 30, 2025
df96345
Revert "PBM-1608: Add config option to enable debug for GCS storage"
boris-ilijic Oct 30, 2025
144a04f
Merge pull request #1221 from percona/revert-1220-PBM-1608-gcs-debug-…
boris-ilijic Oct 30, 2025
2f7100a
Update go version due to CVEs (#1223)
sandraromanchenko Oct 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
strategy:
fail-fast: false
matrix:
psmdb: ["6.0", "7.0", "8.0"]
test: [logical, physical, incremental, external]
psmdb: ["7.0", "8.0"]
shard: [0, 1, 2, 3, 4, 5, 6]
env:
PBM_BRANCH: ${{ github.event.inputs.pbm_branch || github.ref_name }}
GO_VER: ${{ github.event.inputs.go_ver || '1.25-bookworm' }}
Expand All @@ -63,9 +63,9 @@ jobs:
docker compose up -d
working-directory: psmdb-testing/pbm-functional/pytest

- name: Test ${{ matrix.test }} backup/restore on PSMDB ${{ matrix.psmdb }} for PBM PR/branch ${{ github.event.pull_request.title || env.PR_NUMBER || env.PBM_BRANCH }}
- name: Run pytest shard number ${{ matrix.shard }} on PSMDB ${{ matrix.psmdb }} for PBM PR/branch ${{ github.event.pull_request.title || env.PR_NUMBER || env.PBM_BRANCH }}
run: |
docker compose run test pytest -s --junitxml=junit.xml -k ${{ matrix.test }}
docker compose run test pytest -s --junitxml=junit.xml --shard-id=${{ matrix.shard }} --num-shards=7 -m 'not jenkins and not skip'
working-directory: psmdb-testing/pbm-functional/pytest

- name: Fetch coverage files
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Upload coverage reports
uses: actions/upload-artifact@v4
with:
name: reports-${{ matrix.test }}-${{ matrix.psmdb }}
name: reports-${{ matrix.shard }}-${{ matrix.psmdb }}
path: psmdb-testing/pbm-functional/pytest/reports/
if: success() || failure()

Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ You can find the tests in the ``e2e-tests`` directory.
To save time on tests execution during development, we recommend running general and consistency tests for a sharded cluster:

```sh
$ MONGODB_VERSION=5.0 ./run-sharded
$ MONGODB_VERSION=8.0 ./run-sharded
```

``$ MONGODB_VERSION`` stands for the Percona Server for MongoDB version Percona Backup for MongoDB is running with. Default is 5.0.
``$ MONGODB_VERSION`` stands for the Percona Server for MongoDB version Percona Backup for MongoDB is running with. Default is 8.0.

After the development is complete and you are ready to submit a pull request, run all tests using the following command:

```sh
$ MONGODB_VERSION=5.0 ./run-all
$ MONGODB_VERSION=8.0 ./run-all
```

You can run tests on your local machine with whatever operating system you have. After you submit the pull request, we will check your patch on multiple operating systems.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CGO_ENABLED?=0
GITCOMMIT?=$(shell git rev-parse HEAD 2>/dev/null)
GITBRANCH?=$(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
BUILDTIME?=$(shell TZ=UTC date "+%Y-%m-%d_%H:%M_UTC")
MONGO_TEST_VERSION?=5.0
MONGO_TEST_VERSION?=8.0

define ENVS
GO111MODULE=$(GOMOD) \
Expand Down
5 changes: 1 addition & 4 deletions cmd/pbm/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
}

var sfilter map[string]bool
if opts.sections != nil && len(opts.sections) > 0 {

Check failure on line 134 in cmd/pbm/status.go

View workflow job for this annotation

GitHub Actions / runner / golangci-lint

S1009: should omit nil check; len() for nil slices is defined as zero (staticcheck)
sfilter = make(map[string]bool)
for _, s := range opts.sections {
sfilter[s] = true
Expand Down Expand Up @@ -540,10 +540,7 @@
}

s.Type = cfg.Storage.Typ()

if cfg.Storage.Type == storage.S3 {
s.Region = cfg.Storage.S3.Region
}
s.Region = cfg.Storage.Region()
s.Path = cfg.Storage.Path()

bcps, err := pbm.GetAllBackups(ctx)
Expand Down
8 changes: 4 additions & 4 deletions e2e-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
## Run tests
Run all tests
```
$ MONGODB_VERSION=6.0 ./run-all
$ MONGODB_VERSION=8.0 ./run-all
```
`MONGODB_VERSION` is a PSMDB version (e.g. 6.0/7.0/8.0). Default is `6.0`
`MONGODB_VERSION` is a PSMDB version (e.g. 6.0/7.0/8.0). Default is `8.0`

`./run-all` would run all tests both on a sharded cluster and a non-sharded replica set.

Expand All @@ -20,9 +20,9 @@ $ MONGODB_VERSION=6.0 ./run-all
## Start test cluster
To start tests with a running pbm-agent and minio storage:
```
$ MONGODB_VERSION=6.0 ./start-cluster
$ MONGODB_VERSION=8.0 ./start-cluster
```
`MONGODB_VERSION` is a PSMDB version (e.g. 6.0/7.0/8.0). Default is `6.0`
`MONGODB_VERSION` is a PSMDB version (e.g. 6.0/7.0/8.0). Default is `8.0`

`./start-replset` - to start a non-sharded replica set.

Expand Down
2 changes: 2 additions & 0 deletions e2e-tests/cmd/pbm-test/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ func run(t *sharded.Cluster, typ testTyp) {
{"AWS", "/etc/pbm/aws.yaml"},
{"GCS", "/etc/pbm/gcs.yaml"},
{"GCS_HMAC", "/etc/pbm/gcs_hmac.yaml"},
{"AWS_MinIO", "/etc/pbm/aws_minio.yaml"},
{"Azure", "/etc/pbm/azure.yaml"},
{"OSS", "/etc/pbm/oss.yaml"},
{"FS", "/etc/pbm/fs.yaml"},
}

Expand Down
2 changes: 2 additions & 0 deletions e2e-tests/cmd/pbm-test/run_physical.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ func runPhysical(t *sharded.Cluster, typ testTyp) {
{"AWS", "/etc/pbm/aws.yaml"},
{"GCS", "/etc/pbm/gcs.yaml"},
{"GCS_HMAC", "/etc/pbm/gcs_hmac.yaml"},
{"AWS_MinIO", "/etc/pbm/aws_minio.yaml"},
{"Azure", "/etc/pbm/azure.yaml"},
{"OSS", "/etc/pbm/oss.yaml"},
{"FS", "/etc/pbm/fs.yaml"},
}

Expand Down
8 changes: 4 additions & 4 deletions e2e-tests/docker/docker-compose-remapping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
dockerfile: ./e2e-tests/docker/mongodb.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
hostname: rs101
labels:
Expand Down Expand Up @@ -54,7 +54,7 @@ services:
dockerfile: ./e2e-tests/docker/pbm.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
volumes:
- ./conf:/etc/pbm
Expand All @@ -69,7 +69,7 @@ services:
dockerfile: ./e2e-tests/docker/mongodb.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
hostname: rs201
labels:
Expand Down Expand Up @@ -99,7 +99,7 @@ services:
dockerfile: ./e2e-tests/docker/pbm.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
volumes:
- ./conf:/etc/pbm
Expand Down
16 changes: 8 additions & 8 deletions e2e-tests/docker/docker-compose-rs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
dockerfile: ./e2e-tests/docker/pbm.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
volumes:
- ./conf:/etc/pbm
Expand All @@ -41,7 +41,7 @@ services:
dockerfile: ./e2e-tests/docker/mongodb.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
hostname: rs101
labels:
Expand All @@ -51,7 +51,7 @@ services:
- MONGO_USER=dba
- BACKUP_USER=bcp
- MONGO_PASS=test1234
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
command: mongod --replSet rs1 --directoryperdb --port 27017 --dbpath=/data/db/ --storageEngine wiredTiger --keyFile /opt/keyFile --wiredTigerCacheSizeGB 1
volumes:
- data-rs101:/data/db
Expand All @@ -61,7 +61,7 @@ services:
dockerfile: ./e2e-tests/docker/mongodb.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
hostname: rs102
labels:
Expand All @@ -74,7 +74,7 @@ services:
dockerfile: ./e2e-tests/docker/mongodb.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
hostname: rs103
labels:
Expand All @@ -98,7 +98,7 @@ services:
dockerfile: ./e2e-tests/docker/pbm.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
volumes:
- ./conf:/etc/pbm
Expand All @@ -123,7 +123,7 @@ services:
dockerfile: ./e2e-tests/docker/pbm.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
command: pbm-agent
cap_add:
Expand All @@ -147,7 +147,7 @@ services:
dockerfile: ./e2e-tests/docker/pbm.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
command: pbm-agent
cap_add:
Expand Down
6 changes: 3 additions & 3 deletions e2e-tests/docker/docker-compose-single.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
dockerfile: ./e2e-tests/docker/mongodb.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
hostname: rs101
labels:
Expand All @@ -35,7 +35,7 @@ services:
- BACKUP_USER=bcp
- MONGO_PASS=test1234
- SINGLE_NODE=true
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
command: mongod --replSet rs1 --port 27017 --storageEngine wiredTiger --keyFile /opt/keyFile --wiredTigerCacheSizeGB 1
volumes:
- data-rs101:/data/db
Expand All @@ -55,7 +55,7 @@ services:
dockerfile: ./e2e-tests/docker/pbm.dockerfile
context: ../..
args:
- MONGODB_VERSION=${MONGODB_VERSION:-6.0}
- MONGODB_VERSION=${MONGODB_VERSION:-8.0}
- MONGODB_IMAGE=${MONGODB_IMAGE:-perconalab/percona-server-mongodb}
volumes:
- ./conf:/etc/pbm
Expand Down
Loading
Loading