mbien commented on PR #4218:
URL: https://github.com/apache/netbeans/pull/4218#issuecomment-1174966831

   hi @sdedic, sorry for the delay I didn't watch this PR, just saw your post 
now.
   
   > Anyway, if the VM _crashed_ a `hs_err_*.log` could be useful, but it's not 
archived in the logs archive. Any idea on how to get my hands hs_err.log would 
be useful. Currently I am thinking about including it (in a test PR) as an 
uploaded artifact ... and get it through GH API.
   
   if you take this and put it after the test fails in a PR, you would get the 
full workspace. Change the artifact name, change the if into `if: always()`, 
done. But don't do that in a matrix please since I don't know the storage limit 
of apache. Consider manually removing the artifacts if you experiment.
   
   
https://github.com/apache/netbeans/blob/6bf270e71b5950783ed2038060863dc5f28271fb/.github/workflows/main.yml#L64-L75
   
   
   > 
   > There's other interesting option -- 
https://github.com/mxschmitt/action-tmate#use-registered-public-ssh-keys .... 
an interesting idea: have ssh opened into the GH action's VM. But potentially a 
dangerous one.
   
   this won't work since apache projects don't have access to all github 
actions, all official actions are supported and there is a white list for some 
hand picked third party actions. There are tricks how to make this work but the 
next barrier would be permissions, and adding personal access tokens to the 
project is only possible via infra as far as I know - we can't simply edit 
project setting like in regular gh projects (all workflows run with minimal 
permissions).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to