From 4e5dd1ebb04d910bdb88611a8f824529701606b8 Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Mon, 3 Jun 2024 06:22:22 +0900 Subject: [PATCH] ci: try to free space after fuzz tests (#4089) * chore(ci): remove .tar file after unzip * chore: free space * chore: include debug info --- .github/workflows/develop.yml | 21 +++++++++++++++++---- Cargo.toml | 1 - 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index c251d643ffdd..b397a0fd6046 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -167,7 +167,9 @@ jobs: name: bins path: . - name: Unzip binaries - run: tar -xvf ./bins.tar.gz + run: | + tar -xvf ./bins.tar.gz + rm ./bins.tar.gz - name: Run GreptimeDB run: | ./bins/greptime standalone start& @@ -211,7 +213,9 @@ jobs: name: bins path: . - name: Unzip binaries - run: tar -xvf ./bins.tar.gz + run: | + tar -xvf ./bins.tar.gz + rm ./bins.tar.gz - name: Build Fuzz Test shell: bash run: | @@ -315,7 +319,9 @@ jobs: name: bin path: . - name: Unzip binary - run: tar -xvf ./bin.tar.gz + run: | + tar -xvf ./bin.tar.gz + rm ./bin.tar.gz - name: Build and push GreptimeDB image uses: ./.github/actions/build-and-push-ci-image - name: Wait for etcd @@ -361,7 +367,14 @@ jobs: name: fuzz-tests-kind-logs-${{ matrix.target }} path: /tmp/kind retention-days: 3 - + - name: Delete cluster + if: success() + shell: bash + run: | + kind delete cluster + docker stop $(docker ps -a -q) + docker rm $(docker ps -a -q) + docker system prune -f sqlness: name: Sqlness Test diff --git a/Cargo.toml b/Cargo.toml index 01e17e5a8c92..e0fed99308a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -250,7 +250,6 @@ incremental = false [profile.ci] inherits = "dev" -debug = false strip = true [profile.dev.package.sqlness-runner]