Skip to content

Commit 29446c9

Browse files
committed
logging
1 parent a9cdc98 commit 29446c9

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,27 @@ jobs:
5252
CLOUD: gcp
5353
REGION: us-central1
5454
ZONE: us-central1-a
55+
GITHUB_RUN_NUMBER: ${{ github.run_number }}
56+
GITHUB_RUN_ATTEMPT: ${{ github.run_attempt }}
5557
run: |
58+
echo "=== DEBUG satellite_pe_tools RUN:${{ github.run_number }} ATTEMPT:${{ github.run_attempt }} ==="
5659
echo "Debug: GitHub Context"
5760
echo "GITHUB_REPOSITORY: ${{ github.repository }}"
5861
echo "GITHUB_RUN_ID: ${{ github.run_id }}"
5962
echo "GITHUB_SERVER_URL: ${{ github.server_url }}"
6063
echo "Constructed URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
64+
echo ""
65+
echo "Debug: Environment Variables"
66+
env | grep -E 'GITHUB|CLOUD|REGION|ZONE' | sort
67+
echo ""
68+
echo "=== Starting provision at $(date -u +"%Y-%m-%d %H:%M:%S UTC") ==="
6169
bundle exec bolt --log-level debug --modulepath spec/fixtures/modules plan run satellite_pe_tools::test_01_provision
70+
echo ""
71+
echo "Checking if request.json was created..."
72+
if [ -f request.json ]; then
73+
echo "Request payload sent to provision service:"
74+
cat request.json
75+
fi
6276
FILE='spec/fixtures/litmus_inventory.yaml'
6377
echo INVENTORY_PATH=$FILE >> $GITHUB_ENV
6478

.github/workflows/nightly.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,27 @@ jobs:
5151
CLOUD: gcp
5252
REGION: us-central1
5353
ZONE: us-central1-a
54+
GITHUB_RUN_NUMBER: ${{ github.run_number }}
55+
GITHUB_RUN_ATTEMPT: ${{ github.run_attempt }}
5456
run: |
57+
echo "=== DEBUG satellite_pe_tools RUN:${{ github.run_number }} ATTEMPT:${{ github.run_attempt }} ==="
5558
echo "Debug: GitHub Context"
5659
echo "GITHUB_REPOSITORY: ${{ github.repository }}"
5760
echo "GITHUB_RUN_ID: ${{ github.run_id }}"
5861
echo "GITHUB_SERVER_URL: ${{ github.server_url }}"
5962
echo "Constructed URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
63+
echo ""
64+
echo "Debug: Environment Variables"
65+
env | grep -E 'GITHUB|CLOUD|REGION|ZONE' | sort
66+
echo ""
67+
echo "=== Starting provision at $(date -u +"%Y-%m-%d %H:%M:%S UTC") ==="
6068
bundle exec bolt --log-level debug --modulepath spec/fixtures/modules plan run satellite_pe_tools::test_01_provision
69+
echo ""
70+
echo "Checking if request.json was created..."
71+
if [ -f request.json ]; then
72+
echo "Request payload sent to provision service:"
73+
cat request.json
74+
fi
6175
FILE='spec/fixtures/litmus_inventory.yaml'
6276
echo INVENTORY_PATH=$FILE >> $GITHUB_ENV
6377

0 commit comments

Comments
 (0)