-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Labels
Description
Hi everyone,
thank you for this mock, it was a great help. However, it seems like the deletion of the files after the container has been stopped does not work.
If have tried both to set COM_ADOBE_TESTING_S3MOCK_STORE_RETAIN_FILES_ON_EXIT to false and omitting it (default should be false according to documentation).
In both cases, the files are not deleted in my local filesystem which is mounted into the container:
test-s3:
hostname: test-s3
image: adobe/s3mock # https://github.com/adobe/S3Mock
restart: on-failure
environment:
- debug=true
- COM_ADOBE_TESTING_S3MOCK_REGION=eu-central-1
- COM_ADOBE_TESTING_S3MOCK_STORE_RETAIN_FILES_ON_EXIT=false # Should delete files in folder "s3-files/test" after exit (doesn't work, implemented manually in RmpTestExecutionListener)
- COM_ADOBE_TESTING_S3MOCK_STORE_INITIAL_BUCKETS=rose-mgmt-portal-none-ci-documents-s3
- COM_ADOBE_TESTING_S3MOCK_STORE_ROOT=s3-files
ports:
- "9092:9090" # HTTP-only as we don't have any trustable certificate anyway
volumes:
- ./s3-files/test:/s3-filesVersion: 4.9.1
Am I doing something wrong or is this a bug? Thank you :)
Reactions are currently unavailable