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"
@@ -110,3 +117,9 @@ jobs:
110117 run : ./tests/docker/ducker-ak down
111118 shell : bash
112119 if : ${{ always() }}
120+ - name : Setup SSH access for debugging
121+ uses : ubicloud/ssh-runner@main
122+ if : ${{ failure() && inputs.public-ssh-key != '' }}
123+ with :
124+ public-ssh-key : ${{ inputs.public-ssh-key }}
125+ wait-minutes : 60
You can’t perform that action at this time.
0 commit comments