Add SMI Istio e2e tests

This commit is contained in:
stefanprodan
2019-05-11 13:46:24 +03:00
parent d63f05c92e
commit eb856fda13
2 changed files with 35 additions and 0 deletions
+9
View File
@@ -9,6 +9,15 @@ jobs:
- run: test/e2e-build.sh
- run: test/e2e-tests.sh
e2e-smi-istio-testing:
machine: true
steps:
- checkout
- run: test/e2e-kind.sh
- run: test/e2e-istio.sh
- run: test/e2e-smi-istio-build.sh
- run: test/e2e-tests.sh canary
e2e-supergloo-testing:
machine: true
steps:
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env bash
set -o errexit
REPO_ROOT=$(git rev-parse --show-toplevel)
export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
echo '>>> Building Flagger'
cd ${REPO_ROOT} && docker build -t test/flagger:latest . -f Dockerfile
kind load docker-image test/flagger:latest
echo '>>> Installing Flagger'
helm upgrade -i flagger ${REPO_ROOT}/charts/flagger \
--wait \
--namespace istio-system \
--set meshProvider=smi:istio
kubectl -n istio-system set image deployment/flagger flagger=test/flagger:latest
kubectl -n istio-system rollout status deployment/flagger
echo '>>> Installing the SMI Istio adapter'
kubectl apply -f ${REPO_ROOT}/artifacts/smi/istio-adapter.yaml
kubectl -n istio-system rollout status deployment/smi-adapter-istio