From b4580ff5ce40ada2ad4541dfd65dceee28a9e016 Mon Sep 17 00:00:00 2001 From: Wiktor Maj Date: Sun, 23 Jun 2024 14:49:57 +0200 Subject: [PATCH] clean after build also --- .github/workflows/tests.yml | 2 +- tests/testsuite/roles/testing/tasks/system.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a0da0ca..651a248 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,7 +29,7 @@ jobs: sudo apt update sudo apt install --yes openssh-server=1:8.9p1-3ubuntu0.7 sudo apt install --yes tree - rm -rf /opt/hostedtoolcache/CodeQL /opt/hostedtoolcache/node /opt/az /opt/microsoft /usr/share/swift + rm -rf /opt/hostedtoolcache/CodeQL /opt/hostedtoolcache/go /opt/hostedtoolcache/node /opt/hostedtoolcache/Ruby /opt/actionarchivecache sudo service ssh start - name: Initialize Terraform infrastructure diff --git a/tests/testsuite/roles/testing/tasks/system.yml b/tests/testsuite/roles/testing/tasks/system.yml index d9f4e58..def183b 100644 --- a/tests/testsuite/roles/testing/tasks/system.yml +++ b/tests/testsuite/roles/testing/tasks/system.yml @@ -17,5 +17,7 @@ ssh root@node-3 "docker system prune -a --volumes --force" ssh root@node-4 "docker system prune -a --volumes --force" start_superset + docker system prune -a --volumes --force + ssh root@node-4 "docker system prune -a --volumes --force" args: executable: /bin/bash