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>
Issue #955 suggested that the watchdog binaries should have associated sha256 files to help assure the veracity of the built artefacts. This change mirrors the method employed on
faas-cli to generate and deploy the sha256 hash for each flavour of the current watchdog.
Signed-off-by: Richard Gee <richard@technologee.co.uk>
1. Add new annotation attributes which may be used
by the back-end for making scheduling or routing decisions.
2. Updated tests/README.md to give clearer instructions on creating and
tearing down the stack required to run the integration tests
3. Update ci.sh
* Fail as soon as an error is encountered
* Allow script to run locally in development environment, test if repos
are already cloned etc..
* Deploy ./stack.yml used by existing integration tests
Signed-off-by: Edward Wilde <ewilde@gmail.com>
CI was using a test of ! -s which appeared to give a false positive
and try to push when it shouldn't. I changed it to -z which checks
for an empty string instead.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>