Skip to content

Commit a54e553

Browse files
committedDec 21, 2024
add debug
1 parent e40ee2a commit a54e553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.forgejo/workflows/tofu-issue-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ jobs:
1616
run: |
1717
echo "Extracting issue details..."
1818
ISSUE_BODY="${{ github.event.issue.body }}"
19+
echo "ISSUE_BODY=$ISSUE_BODY"
20+
1921
VM_NAME=$(echo "$ISSUE_BODY" | grep 'VM Name:' | cut -d':' -f2 | xargs)
2022
VM_ID=$(echo "$ISSUE_BODY" | grep 'VM ID:' | cut -d':' -f2 | xargs)
2123
RAM=$(echo "$ISSUE_BODY" | grep 'RAM:' | cut -d':' -f2 | xargs)
2224
CPUS=$(echo "$ISSUE_BODY" | grep 'CPU Cores:' | cut -d':' -f2 | xargs)
2325
SCPU_TYPE=$(echo "$ISSUE_BODY" | grep 'CPU Type:' | cut -d':' -f2 | xargs)
2426
NODE_NAME=$(echo "$ISSUE_BODY" | grep 'Node Name:' | cut -d':' -f2 | xargs)
2527
VLAN_ID=$(echo "$ISSUE_BODY" | grep 'VLAN ID:' | cut -d':' -f2 | xargs)
26-
IP_METHOD=$(echo "$ISSUE_BODY" | grep 'IP Configuration Method:' | cut -d':' -f2 | xargs)
2728
DATASTORE=$(echo "$ISSUE_BODY" | grep 'Datastore ID:' | cut -d':' -f2 | xargs)
2829
DISK_SIZE=$(echo "$ISSUE_BODY" | grep 'Disk Size:' | cut -d':' -f2 | xargs)
2930
CLONE_VM_ID=$(echo "$ISSUE_BODY" | grep 'Clone VM ID:' | cut -d':' -f2 | xargs)
3031
3132
echo "NODE_NAME=$NODE_NAME"
32-
echo "ISSUE_BODY=$ISSUE_BODY"
3333
3434
# Determine user_data_file_id
3535
if [ "$NODE_NAME" == "prox" ]; then

0 commit comments

Comments
 (0)
Please sign in to comment.