Optimizes Docker builds by copying from license-check Docker image
instead of using curl to download the tool.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
Automatic builds for auth-module on x86_64 (via Travis) and on-demand on-device for arm via publish.sh
The basic-auth module is not built or pushed upon 'tag' / 'release' of the faas repo, but it should be: https://github.com/openfaas/faas/tree/master/auth. We also don't create on-device images for this, but should do for both armhf and arm64: https://github.com/openfaas/faas/blob/master/contrib/publish-arm.sh
This change addresses these challenges and also introduces a tagAndPush script to alleviate some of the recently introduced repetition in .travis.yml.
Signed-off-by: Richard Gee <richard@technologee.co.uk>
Headers such as Realm / etc are important for auth proxies, so
this change and unit test make sure they get copied back to the
client.
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
As per comment from @stefanprodan, the path for the handler
was incorrect in the run stage of the Dockerfile.
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This plugin can be tested as a stand-alone Golang app, or
deployed as a Docker image with the following image:
openfaas/basic-auth-plugin:0.1.0
Signed-off-by: Alex Ellis <alexellis2@gmail.com>