Skip to content

Commit 85ab804

Browse files
author
Kerkesni
committed
run mongo functional tests with base62 versionId encoding
Cloudserver in Zenko always uses base62 encoding, so we enforce it in the mongo tests. Issue: CLDSRV-665
1 parent ef3c90f commit 85ab804

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/docker/docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ services:
6060
- SCUBA_HEALTHCHECK_FREQUENCY
6161
- S3QUOTA
6262
- QUOTA_ENABLE_INFLIGHTS
63+
- S3_VERSION_ID_ENCODING_TYPE
6364
env_file:
6465
- creds.env
6566
depends_on:

.github/workflows/tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ jobs:
293293
S3METADATA: mongodb
294294
S3KMS: file
295295
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
296+
S3_VERSION_ID_ENCODING_TYPE: base62
296297
DEFAULT_BUCKET_KEY_FORMAT: v0
297298
MONGODB_IMAGE: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}
298299
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
@@ -344,6 +345,7 @@ jobs:
344345
S3METADATA: mongodb
345346
S3KMS: file
346347
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
348+
S3_VERSION_ID_ENCODING_TYPE: base62
347349
DEFAULT_BUCKET_KEY_FORMAT: v1
348350
METADATA_MAX_CACHED_BUCKETS: 1
349351
MONGODB_IMAGE: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}

0 commit comments

Comments
 (0)