File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1414 test-path :
1515 required : false
1616 type : string
17+ public-ssh-key :
18+ required : false
19+ type : string
20+ description : " Public SSH key for debug access on failure"
1721 workflow_call :
1822 inputs :
1923 runner :
2832 test-path :
2933 required : false
3034 type : string
35+ public-ssh-key :
36+ required : false
37+ type : string
3138 outputs :
3239 artifact-id :
3340 description : " Artifact ID of the test results"
@@ -108,3 +115,9 @@ jobs:
108115 run : ./tests/docker/ducker-ak down
109116 shell : bash
110117 if : ${{ always() }}
118+ - name : Setup SSH access for debugging
119+ uses : ubicloud/ssh-runner@main
120+ if : ${{ failure() && inputs.public-ssh-key != '' }}
121+ with :
122+ public-ssh-key : ${{ inputs.public-ssh-key }}
123+ wait-minutes : 60
You can’t perform that action at this time.
0 commit comments