Skip to content

Commit

Permalink
system prune
Browse files Browse the repository at this point in the history
  • Loading branch information
szachovy committed Jun 23, 2024
1 parent f01506e commit b69e606
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions tests/testsuite/roles/testing/tasks/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b69e606

Please sign in to comment.