1
0
mirror of synced 2026-01-09 06:03:17 -05:00
Files
airbyte/tools/bin/cloud_storage_logging_test.sh
Davin Chia e60f5369e0 🎉 Kube Logs support stored and reading from S3. (#4053)
Use Log4j2 appender to support routing logs to S3.

Create LogClient to support reading from S3.

Some clean up of the Log4j2 xml variables.

Several dependency changes to be more explicit when configuring jackson.
2021-06-19 12:15:15 +08:00

13 lines
468 B
Bash
Executable File

#!/usr/bin/env bash
set -e
echo "Writing cloud storage credentials.."
export AWS_ACCESS_KEY_ID="$(echo "$AWS_S3_INTEGRATION_TEST_CREDS" | jq -r .aws_access_key_id)"
export AWS_SECRET_ACCESS_KEY="$(echo "$AWS_S3_INTEGRATION_TEST_CREDS" | jq -r .aws_secret_access_key)"
export S3_LOG_BUCKET=airbyte-kube-integration-logging-test
export S3_LOG_BUCKET_REGION=us-west-2
echo "Running logging tests.."
./gradlew --no-daemon :airbyte-config:models:integrationTest --scan