You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by Michele Sciabarra <mi...@sciabarra.com> on 2022/12/08 20:11:57 UTC

GitHub Action for OpenWhisk - work in progress

Hello all here is my initial PR for github actions.

https://github.com/apache/openwhisk/pull/5361

Please note it is still incomplete, most notably I have no idea how to upload the logs and where they are actually stored and how they can be checked.

The PR implements a port of the .travis.yml as close as possible. I was able to run them until it prepared the system, launching couchdb and elasticsearch.

The build stopped on unit tests, as many of them fails also on Travis. I need your help to fix those until everything works - I believe it is not my fault :)

An important note: there is also support for debugging the build with NGROK that I feel it is super useful.
It works this way: you have to uncomment NGROK_DEBUG variable. If you do this when a step fails it will create a tunnel to access the virtual machine and inspect it.  

You will also have to add two secrets, the NGROK_TOKEN you obtain registering to https://ngrok.com/ and a password to access the vm with the tunnel. You cannot do this on the main repo but you can do this in your fork and debug the build until it passes all the tests before submitting a PR.



-- 
  Michele Sciabarra
  michele@sciabarra.com