Skip to content

Commit

Permalink
Added SaltStack debug info.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Dec 18, 2024
1 parent 5239bab commit 2a89c16
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test-acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,16 @@ jobs:
exit 1
fi
- name: Install SaltStack
run: docker exec target /app/e107_tests/lib/ci/salt/salt-bootstrap onedir
run: |
echo "Checking file permissions..."
docker exec target ls -l /app/e107_tests/lib/ci/salt/ > salt_file_permissions.log || echo "Error: Failed to list file permissions"
echo "Checking network connectivity..."
docker exec target ping -c 4 google.com > salt_network_check.log || echo "Error: Network connectivity issue"
echo "Fetching container logs before script execution..."
docker logs target > salt_container_logs_before.log
docker exec target /app/e107_tests/lib/ci/salt/salt-bootstrap onedir
echo "Fetching container logs after script execution..."
docker logs target > salt_container_logs_after.log
- name: Apply Salt state
run: |
ln -v -s master minion
Expand Down

0 comments on commit 2a89c16

Please sign in to comment.