From b69e606974699b6a5dcb72ba9e38e45733cbff13 Mon Sep 17 00:00:00 2001 From: Wiktor Maj Date: Sun, 23 Jun 2024 12:58:54 +0200 Subject: [PATCH] system prune --- linters.yml | 4 +++- tests/testsuite/roles/testing/tasks/system.yml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/linters.yml b/linters.yml index 886cc1c..011024d 100644 --- a/linters.yml +++ b/linters.yml @@ -19,11 +19,13 @@ jobs: - name: Initialize TFLint run: tflint --init + working-directory: ./tests/setup env: GITHUB_TOKEN: ${{ github.token }} - name: Run TFLint - run: tflint -f compact + run: tflint + working-directory: ./tests/setup - name: Run ansible-lint uses: ansible/ansible-lint@main \ No newline at end of file diff --git a/tests/testsuite/roles/testing/tasks/system.yml b/tests/testsuite/roles/testing/tasks/system.yml index 05bb04e..8cc616e 100644 --- a/tests/testsuite/roles/testing/tasks/system.yml +++ b/tests/testsuite/roles/testing/tasks/system.yml @@ -10,8 +10,11 @@ superset_node_address=$(superset_node_address) docker_swarm_token=$(docker_swarm_token "${superset_node_address}") clusterize_nodes + docker system prune -a --volumes --force df -h > /tmp/start_superset.log 2>&1 free -m >> /tmp/start_superset.log 2>&1 + df -h /var/lib/docker >> /tmp/start_superset.log 2>&1 + df -i >> /tmp/start_superset.log 2>&1 start_superset >> /tmp/start_superset.log 2>&1 args: executable: /bin/bash