keboola/debug-log-uploader

Keboola Debug Log Uploader

2.1.0 2019-01-16 16:53 UTC

This package is auto-updated.

Last update: 2020-10-20 14:02:29 UTC


README

Build Status Latest Stable Version Total Downloads License

Simple package for uploading logs to S3 or local filesystem.

Development

Create .env file with your environment variables:

UPLOADER_AWS_KEY=your_key
UPLOADER_AWS_SECRET=your_secret
UPLOADER_AWS_REGION=your_region
UPLOADER_S3_BUCKET=your_s3_bucket

Start container, install dependencies:

docker-compose run --rm php sh -c 'composer install && bash'

Tests

Execute tests.sh script which contains phpunit and related commands.

In running container:

./tests.sh

From outside:

docker-compose run --rm php sh -c 'composer install && ./tests.sh'

License

MIT. See license file.