logger: TTY logs support (live update)

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-10-04 16:42:55 -07:00
parent 91f0271a80
commit dd1bf18ec2
13 changed files with 479 additions and 77 deletions

View File

@@ -12,8 +12,8 @@ common_setup() {
DAGGER_PROJECT="$UNIVERSE"
export DAGGER_PROJECT
# Force pretty printing for error reporting
DAGGER_LOG_FORMAT="pretty"
# Force plain printing for error reporting
DAGGER_LOG_FORMAT="plain"
export DAGGER_LOG_FORMAT
# Sandbox project.
@@ -97,11 +97,11 @@ setup_localstack() {
if [ "$(curl -s http://localhost:4566)" = '{"status": "running"}' ] && \
[ "$GITHUB_ACTIONS" != "true" ]; then
echo "Cleanup local LOCALSTACK"
# S3 buckets cleanup
aws --endpoint-url=http://localhost:4566 s3 rm s3://dagger-ci || true
aws --endpoint-url=http://localhost:4566 s3 mb s3://dagger-ci || true
# ECR repositories cleanup
aws --endpoint-url=http://localhost:4566 ecr delete-repository --repository-name dagger-ci || true
aws --endpoint-url=http://localhost:4566 ecr create-repository --repository-name dagger-ci || true