apache / openwhisk-apigateway

Apache OpenWhisk API Gateway service for exposing actions as REST interfaces.
https://openwhisk.apache.org/
Apache License 2.0
64 stars 45 forks source link

Run test framework in a Docker container #351

Closed mhamann closed 4 years ago

mhamann commented 4 years ago

This PR primarily moves the gateway unit test runs into their own docker container in order to make it easier to test locally. You can now avoid installing Lua and various deps onto your local machine and simply run make test to run all of the available units.

I also converted the main Dockerfile into a multi-stage build, which drastically improves build times for subsequent builds. A few syntax fixes are included as well, as Docker was throwing some warnings during builds.