Skip to content

Commit 735f683

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 bbdf6fd commit 735f683

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
@@ -45,6 +45,7 @@ services:
4545
- SCUBA_HEALTHCHECK_FREQUENCY
4646
- S3QUOTA
4747
- QUOTA_ENABLE_INFLIGHTS
48+
- S3_VERSION_ID_ENCODING_TYPE
4849
env_file:
4950
- creds.env
5051
depends_on:

.github/workflows/tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ jobs:
255255
S3METADATA: mongodb
256256
S3KMS: file
257257
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
258+
S3_VERSION_ID_ENCODING_TYPE: base62
258259
DEFAULT_BUCKET_KEY_FORMAT: v0
259260
MONGODB_IMAGE: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}
260261
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
@@ -293,6 +294,7 @@ jobs:
293294
S3METADATA: mongodb
294295
S3KMS: file
295296
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
297+
S3_VERSION_ID_ENCODING_TYPE: base62
296298
DEFAULT_BUCKET_KEY_FORMAT: v1
297299
METADATA_MAX_CACHED_BUCKETS: 1
298300
MONGODB_IMAGE: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}

0 commit comments

Comments
 (0)