mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
Note, not all `alexellis/github` references should be changed, there are a number of repos which are not part of the openfaas org, this commit excludes those. Signed-off-by: John McCabe <john@johnmccabe.net>
25 lines
466 B
Bash
25 lines
466 B
Bash
#!/bin/bash
|
|
|
|
docker swarm init --advertise-addr=127.0.0.1
|
|
|
|
./deploy_stack.sh
|
|
|
|
cd ..
|
|
|
|
echo $GOPATH
|
|
|
|
mkdir -p $GOPATH/src/github.com/openfaas/
|
|
cp -r faas $GOPATH/src/github.com/openfaas/
|
|
|
|
git clone https://github.com/openfaas/certify-incubator
|
|
|
|
cp -r certify-incubator $GOPATH/src/github.com/openfaas/
|
|
|
|
cd $GOPATH/src/github.com/openfaas/faas/gateway/tests/integration && \
|
|
go test -v
|
|
|
|
cd $GOPATH/src/github.com/openfaas/certify-incubator && \
|
|
make test
|
|
|
|
exit 0
|