From 9892107390eafe55750a6c259c3dfdc159028e12 Mon Sep 17 00:00:00 2001 From: Zhonghao Zhao Date: Mon, 23 Dec 2024 22:23:49 +0000 Subject: [PATCH 1/3] Migrate logging to debug exporter to match with latest otel colletor. --- .github/collector/collector-config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/collector/collector-config.yml b/.github/collector/collector-config.yml index 13ac39a41d..83147d1445 100644 --- a/.github/collector/collector-config.yml +++ b/.github/collector/collector-config.yml @@ -5,8 +5,8 @@ receivers: endpoint: 0.0.0.0:4317 exporters: - logging: - loglevel: info + debug: + verbosity: normal awsxray: region: us-west-2 awsemf: @@ -21,11 +21,11 @@ service: receivers: - otlp exporters: - - logging + - debug - awsxray metrics: receivers: - otlp exporters: - - logging + - debug - awsemf From a183502bfba9c33339e4fe895264cfb8b2c4f080 Mon Sep 17 00:00:00 2001 From: Zhonghao Zhao Date: Mon, 23 Dec 2024 15:31:57 -0800 Subject: [PATCH 2/3] Add step to clean up the storage. --- .github/workflows/pr-build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 9e47a15bce..eaf947af46 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -33,6 +33,13 @@ jobs: - uses: gradle/wrapper-validation-action@v1 + # Cleanup directories before proceeding with setup + - name: Clean up old installations + if: ${{ matrix.os != 'windows-latest' }} + run: | + sudo rm -rf /usr/local/lib/android + sudo rm -rf /usr/share/dotnet + - uses: ./.github/actions/patch-dependencies with: run_tests: "true" From 4ae3c76ebb0203d5bc5c2970b3a1f26b8a60b82e Mon Sep 17 00:00:00 2001 From: Zhonghao Zhao Date: Mon, 23 Dec 2024 17:15:44 -0800 Subject: [PATCH 3/3] Fix disk cleanup. --- .github/workflows/pr-build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index eaf947af46..507362ddeb 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -33,13 +33,6 @@ jobs: - uses: gradle/wrapper-validation-action@v1 - # Cleanup directories before proceeding with setup - - name: Clean up old installations - if: ${{ matrix.os != 'windows-latest' }} - run: | - sudo rm -rf /usr/local/lib/android - sudo rm -rf /usr/share/dotnet - - uses: ./.github/actions/patch-dependencies with: run_tests: "true" @@ -70,6 +63,13 @@ jobs: - uses: gradle/wrapper-validation-action@v1 + # Cleanup directories before proceeding with setup + - name: Clean up old installations + if: ${{ matrix.os != 'windows-latest' }} + run: | + sudo rm -rf /usr/local/lib/android + sudo rm -rf /usr/share/dotnet + # cache local patch outputs - name: Cache local Maven repository uses: actions/cache@v3