Log-courier reads S3 access log records from ClickHouse, builds log objects, and writes them to destination S3 buckets.
makemake testFor coverage:
make test-coverage
make coverage-reportE2E tests use Ginkgo for test execution. The Ginkgo CLI is required and will be automatically installed if not present.
To install Ginkgo CLI manually:
go install github.com/onsi/ginkgo/v2/ginkgo@latestE2E tests run against a local ClickHouse and S3 environment.
- Use Scality Workbench to set up the required infrastructure.
- Use the configuration in
env/default/values.yaml.
make test-e2eTo run a specific test by name:
make test-e2e-focus TEST="logs basic CRUD operations"The TEST variable accepts a regex pattern that matches test names. For example:
TEST="CRUD"- runs all tests with "CRUD" in the nameTEST="bucket operations"- runs tests matching "bucket operations"
See LICENSE