Skip to content

Commit

Permalink
Trying out some debug magic
Browse files Browse the repository at this point in the history
  • Loading branch information
davelcpanelnet committed Dec 18, 2024
1 parent 67e9f5a commit 32e5211
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/openstack-centos-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
working-directory: "${{ github.workspace }}/.github/workflows/openstack/centos-7"
steps:
- uses: actions/checkout@v4

- name: Dump all GitHub variables
run: |
echo "Dumping all GitHub variables:"
echo "${{ toJson(github) }}"
- name: Terraform fmt
id: fmt
run: |
Expand Down Expand Up @@ -296,7 +302,7 @@ jobs:
/scripts/status_marker 1
tail -n40 -F /var/log/elevate-cpanel.log &
sleep .5
REBOOT_STRING="Rebooting into stage 2 of 5" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Rebooting into stage 2 of 5" RETVAL/scripts/reboot_watch
wait_for_stage_2_reboot:
runs-on: self-hosted
Expand Down Expand Up @@ -361,7 +367,7 @@ jobs:
/scripts/status_marker 2
tail -n40 -F /var/log/elevate-cpanel.log &
sleep .5
REBOOT_STRING="Rebooting into stage 3 of 5" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Rebooting into stage 3 of 5" RETVAL/scripts/reboot_watch
wait_for_stage_3_reboot:
runs-on: self-hosted
Expand Down Expand Up @@ -425,7 +431,7 @@ jobs:
/scripts/status_marker 3
tail -n40 -F /var/log/elevate-cpanel.log &
sleep .5
REBOOT_STRING="Rebooting into stage 4 of 5" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Rebooting into stage 4 of 5" RETVAL/scripts/reboot_watch
wait_for_stage_4_reboot:
runs-on: self-hosted
Expand Down Expand Up @@ -489,7 +495,7 @@ jobs:
/scripts/status_marker 4
tail -n40 -F /var/log/elevate-cpanel.log &
sleep .5
REBOOT_STRING="Rebooting into stage 5 of 5" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Rebooting into stage 5 of 5" RETVAL/scripts/reboot_watch
wait_for_stage_5_reboot:
runs-on: self-hosted
Expand Down Expand Up @@ -553,7 +559,7 @@ jobs:
/scripts/status_marker 5
tail -n40 -F /var/log/elevate-cpanel.log &
sleep 2.5
SKIP_PID_CHECK=1 REBOOT_STRING="Doing final reboot" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Doing final reboot" RETVAL/scripts/reboot_watch
wait_for_final_reboot:
runs-on: self-hosted
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openstack-cloudlinux-7.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ jobs:
/scripts/status_marker 5
tail -n40 -F /var/log/elevate-cpanel.log &
sleep 2.5
SKIP_PID_CHECK=1 REBOOT_STRING="Doing final reboot" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Doing final reboot" RETVAL=1 /scripts/reboot_watch

wait_for_final_reboot:
runs-on: self-hosted
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/openstack-ubuntu-20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ jobs:
working-directory: "${{ github.workspace }}/.github/workflows/openstack/ubuntu-20.04"
steps:
- uses: actions/checkout@v4
# Step to dump all GitHub variables

- name: Dump all GitHub variables
run: |
echo "Dumping all GitHub variables:"
echo "${{ toJson(github) }}"
- name: Terraform fmt
id: fmt
run: |
Expand Down Expand Up @@ -296,7 +303,7 @@ jobs:
/scripts/status_marker 1
tail -n40 -F /var/log/elevate-cpanel.log &
sleep .5
REBOOT_STRING="Rebooting into stage 2 of 5" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Rebooting into stage 2 of 5" RETVAL/scripts/reboot_watch
wait_for_stage_2_reboot:
runs-on: self-hosted
Expand Down Expand Up @@ -361,7 +368,7 @@ jobs:
/scripts/status_marker 2
tail -n40 -F /var/log/elevate-cpanel.log &
sleep .5
REBOOT_STRING="Rebooting into stage 3 of 5" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Rebooting into stage 3 of 5" RETVAL/scripts/reboot_watch
wait_for_stage_3_reboot:
runs-on: self-hosted
Expand Down Expand Up @@ -425,7 +432,7 @@ jobs:
/scripts/status_marker 3
tail -n40 -F /var/log/elevate-cpanel.log &
sleep .5
REBOOT_STRING="Rebooting into stage 4 of 5" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Rebooting into stage 4 of 5" RETVAL/scripts/reboot_watch
wait_for_stage_4_reboot:
runs-on: self-hosted
Expand Down Expand Up @@ -489,7 +496,7 @@ jobs:
/scripts/status_marker 4
tail -n40 -F /var/log/elevate-cpanel.log &
sleep .5
REBOOT_STRING="Rebooting into stage 5 of 5" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Rebooting into stage 5 of 5" RETVAL/scripts/reboot_watch
wait_for_stage_5_reboot:
runs-on: self-hosted
Expand Down Expand Up @@ -553,7 +560,7 @@ jobs:
/scripts/status_marker 5
tail -n40 -F /var/log/elevate-cpanel.log &
sleep 2.5
SKIP_PID_CHECK=1 REBOOT_STRING="Doing final reboot" RETVAL=1 /scripts/reboot_watch
REBOOT_STRING="Great SUCCESS" RETVAL/scripts/reboot_watch
wait_for_final_reboot:
runs-on: self-hosted
Expand Down

0 comments on commit 32e5211

Please sign in to comment.