mirror of https://github.com/kubernetes/kops.git
Merge pull request #13650 from hakman/e2e_scenario_aws-lb-controller
Use -ginkgo.junit-report instead of -ginkgo.reportFile
This commit is contained in:
commit
d44030184b
|
@ -37,7 +37,7 @@ ZONE=$(${KOPS} get ig -o json | jq -r '[.[] | select(.spec.role=="Node") | .spec
|
|||
|
||||
REGION=${ZONE%?}
|
||||
|
||||
REPORT_DIR="${ARTIFACTS:-$(pwd)/_artifacts}/aws-lb-controller/"
|
||||
REPORT_DIR="${ARTIFACTS:-$(pwd)/_artifacts}/aws-lb-controller"
|
||||
|
||||
# shellcheck disable=SC2164
|
||||
cd "$(mktemp -dt kops.XXXXXXXXX)"
|
||||
|
@ -45,14 +45,16 @@ go install github.com/onsi/ginkgo/ginkgo@latest
|
|||
|
||||
git clone https://github.com/kubernetes-sigs/aws-load-balancer-controller .
|
||||
|
||||
mkdir -p "${REPORT_DIR}"
|
||||
|
||||
ginkgo -v -r test/e2e/ingress -- \
|
||||
-cluster-name="${CLUSTER_NAME}" \
|
||||
-aws-region="${REGION}" \
|
||||
-aws-vpc-id="$VPC" \
|
||||
-ginkgo.reportFile="${REPORT_DIR}/junit-ingress.xml"
|
||||
-ginkgo.junit-report="${REPORT_DIR}/junit-ingress.xml"
|
||||
|
||||
ginkgo -v -r test/e2e/service -- \
|
||||
-cluster-name="${CLUSTER_NAME}" \
|
||||
-aws-region="${REGION}" \
|
||||
-aws-vpc-id="$VPC" \
|
||||
-ginkgo.reportFile="${REPORT_DIR}/junit-service.xml"
|
||||
-ginkgo.junit-report="${REPORT_DIR}/junit-service.xml"
|
||||
|
|
Loading…
Reference in New Issue