When the /system/info endpoint was expanded to include information about the gateway a number of build-args were added to the main Dockerfile. These changes were not mirrored in Dockerfile.armhf, which resulted in nil attributes and an ugly error when running `faas version` against an armhf gateway.
This change carries the changes made to Dockerfile through to Dockerfile.armhf. As well as the build-args which fix the identified issue the license check has also been added at the latest release 0.2.3, as a armhf build has been made available. Further changes are to introduce the app user and moving the binary location from /root/ to /home/app/
Signed-off-by: Richard Gee <richard@technologee.co.uk>
Adding blog post about Serverless on Raspberry PI with
Docker Swarm and OpenFaaS by Mathias Deremer in the
Blog posts and write-ups 2019
Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
This change validates manual input to the gateway UI when deploying
new functions. This is to prevent poor user experience when attempting
to deploy a function manually from the UI.
The validation check on the function name is the same pattern that
is used in the CLI to ensure that when the deploy button is pressed,
the function will not fail validation.
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
We need to update the watchdog version for sample functions to 0.9.14
including all references in markdown files.
Signed-off-by: Ron Rivera <roncrivera@gmail.com>
I changed the version of image to current one,
which implements secret management endpoint
from 0.5.0 to 0.6.1 in docker-compose.yml (x86_64)
Version of openfaas/gateway was also increased to 0.9.14
Signed-off-by: Bart Smykla <bsmykla@vmware.com>
- added secret definition and removed types used previously
Remove structs for secrets
- after discussion on PR the core contributors decided we just
want simple CRUD with the Secret type.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
Currently there are multiple deploy_stack.sh files and the user has to select the version appropriate to the target architecture so that the correct images are deployed. Further, the armhf deploy script lacks the basic auth by default scripting that is in the x86_64 version.
This change adds a case/select to deploy_stack.sh that will determine the hardware architecture and select the appropriate docker-compose file.
The deploy_stack.armhf.sh is also changed, rather than deleted, so that existing references are still valid.
Signed-off-by: Richard Gee <richard@technologee.co.uk>
This change set downloads the CDN resources for the gateway
and bundles them with the other static resources for the UI.
This is needed for situations where a user does not have access
to the CDN either because of firewall rules or network policy.
The files and versions remain the same, only now loaded locally
with directory paths matching the CDN paths.
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
A talk on IstaCon, Sofia, workshop on OpenFest, Sofia, and a
lightning talk during the same event are added to the events list
Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>