Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/run-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,24 @@ jobs:
env:
LOCALSTACK_AUTH_TOKEN: ${{ secrets.TEST_LOCALSTACK_AUTH_TOKEN }}

- name: Docker state snapshot
# Capture the full Docker state on failure
if: failure()
run: |
echo "=== All Docker containers (running + stopped) ==="
docker ps -a --format "table {{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}" 2>&1
echo ""
echo "=== Docker images ==="
docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}\t{{.ID}}" 2>&1
echo ""
echo "=== Exited container logs ==="
for c in $(docker ps -a --filter "status=exited" --format "{{.Names}}" 2>/dev/null); do
echo "--- [$c] (last 50 lines) ---"
docker logs "$c" --tail 50 2>&1
done

- name: Get LocalStack Logs
# Captured on failure or success to provide a detailed audit trail of the emulator's activity.
if: always()
run: make logs

1 change: 1 addition & 0 deletions requirements-runtime.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ azure-core
python-dotenv
localstack
azlocal
terraform-local
Comment thread
DrisDary marked this conversation as resolved.
3 changes: 2 additions & 1 deletion run-samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ BICEP_SAMPLES=(

# 4. Calculate Shard
# Combine script-based, Terraform, and Bicep samples into one array
ALL_SAMPLES=("${SAMPLES[@]}" "${TERRAFORM_SAMPLES[@]}" "${BICEP_SAMPLES[@]}")
#ALL_SAMPLES=("${SAMPLES[@]}" "${TERRAFORM_SAMPLES[@]}" "${BICEP_SAMPLES[@]}")
ALL_SAMPLES=("${SAMPLES[@]}")
TOTAL=${#ALL_SAMPLES[@]}
SHARD=${1:-1}
SPLITS=${2:-1}
Expand Down
Loading