Skip to content

Commit c5021fc

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 1384cd7 commit c5021fc

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
@@ -281,6 +281,7 @@ jobs:
281281
S3METADATA: mongodb
282282
S3KMS: file
283283
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
284+
S3_VERSION_ID_ENCODING_TYPE: base62
284285
DEFAULT_BUCKET_KEY_FORMAT: v0
285286
MONGODB_IMAGE: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}
286287
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
@@ -325,6 +326,7 @@ jobs:
325326
S3METADATA: mongodb
326327
S3KMS: file
327328
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
329+
S3_VERSION_ID_ENCODING_TYPE: base62
328330
DEFAULT_BUCKET_KEY_FORMAT: v1
329331
METADATA_MAX_CACHED_BUCKETS: 1
330332
MONGODB_IMAGE: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}

0 commit comments

Comments
 (0)