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.
13 lines
468 B
Bash
Executable File
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
|