Use test workloads in e2e

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2020-12-20 22:08:43 +02:00
parent 4fe4053cdd
commit b25ff35e5b
6 changed files with 15 additions and 13 deletions
+3 -3
View File
@@ -23,9 +23,9 @@ jobs:
- name: Setup Kubernetes
uses: engineerd/setup-kind@v0.5.0
- name: Build container image
run: docker build -t test/flagger:latest .
- name: Load test image
run: kind load docker-image test/flagger:latest
run: |
docker build -t test/flagger:latest .
kind load docker-image test/flagger:latest
- name: Run tests
run: |
./test/${{ matrix['provider'] }}/run.sh
+2 -2
View File
@@ -2,10 +2,10 @@
set -o errexit
REPO_ROOT=$(git rev-parse --show-toplevel)
DIR="$(cd "$(dirname "$0")" && pwd)"
"$DIR"/install.sh
"$DIR"/test-init.sh
"$REPO_ROOT"/test/workloads/init.sh
"$DIR"/test-canary.sh
+4 -3
View File
@@ -2,15 +2,16 @@
set -o errexit
REPO_ROOT=$(git rev-parse --show-toplevel)
DIR="$(cd "$(dirname "$0")" && pwd)"
"$DIR"/install.sh
"$DIR"/test-init.sh
"$REPO_ROOT"/test/workloads/init.sh
"$DIR"/test-canary.sh
"$DIR"/test-init.sh
"$REPO_ROOT"/test/workloads/init.sh
"$DIR"/test-skip-analysis.sh
"$DIR"/test-init.sh
"$REPO_ROOT"/test/workloads/init.sh
"$DIR"/test-delegation.sh
+3 -2
View File
@@ -2,12 +2,13 @@
set -o errexit
REPO_ROOT=$(git rev-parse --show-toplevel)
DIR="$(cd "$(dirname "$0")" && pwd)"
"$DIR"/install.sh
"$DIR"/test-init.sh
"$REPO_ROOT"/test/workloads/init.sh
"$DIR"/test-canary.sh
"$DIR"/test-init.sh
"$REPO_ROOT"/test/workloads/init.sh
"$DIR"/test-steps.sh
+2 -2
View File
@@ -2,10 +2,10 @@
set -o errexit
REPO_ROOT=$(git rev-parse --show-toplevel)
DIR="$(cd "$(dirname "$0")" && pwd)"
"$DIR"/install.sh
"$DIR"/test-init.sh
"$REPO_ROOT"/test/workloads/init.sh
"$DIR"/test-canary.sh
+1 -1
View File
@@ -244,7 +244,7 @@ spec:
timeout: 5s
metadata:
type: bash
cmd: "curl -sH 'x-user: insider' -H 'Host: app.example.com' http://ingress-nginx-controller.ingress-nginx | grep '3.1.2'"
cmd: "curl -sH 'x-user: insider' -H 'Host: app.example.com' http://ingress-nginx-controller.ingress-nginx | grep '3.1.1'"
- name: load-test
type: rollout
url: http://flagger-loadtester.test/