mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 17:26:47 +00:00
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>
16 lines
292 B
Markdown
16 lines
292 B
Markdown
# Integration testing
|
|
|
|
These tests should be run against the sample stack included in the repository root.
|
|
|
|
## Deploy the stack
|
|
```
|
|
./deploy_stack.sh
|
|
faas-cli deploy -f ./stack.yml
|
|
```
|
|
|
|
## Remove the stack
|
|
1. Delete all OpenFaaS deployed functions
|
|
```
|
|
faas-cli remove
|
|
docker stack rm func
|
|
``` |